Skip to Content
Anuma SDKClientInternalFunctionspostInternalDmRequests

postInternalDmRequests

postInternalDmRequests<ThrowOnError>(options: Options<PostInternalDmRequestsData, ThrowOnError>): RequestResult<PostInternalDmRequestsResponses, PostInternalDmRequestsErrors, ThrowOnError>

Defined in: src/client/sdk.gen.ts:1792 

Report a new DM request (internal)

Internal service-to-service endpoint used by the nearby service to push a recipient when a new DM request lands. Fires once per request, carrying the sender’s display name only, never message content. A recipient who opted out of the messages category, has no registered devices, or triggers an event type silenced by the kill-switch, is reported as 200 with zero counts, not an error. sender_display_name must already be moderated by the caller. Gated behind the shared X-Service-Key.

Type Parameters

Type ParameterDefault type

ThrowOnError extends boolean

false

Parameters

ParameterType

options

Options<PostInternalDmRequestsData, ThrowOnError>

Returns

RequestResult<PostInternalDmRequestsResponses, PostInternalDmRequestsErrors, ThrowOnError>

Last updated on