Page tree
Skip to end of metadata
Go to start of metadata

Sends a prepared push message as a single message to a specific contact.


Available from

v14+


Query Parameters

NameTypeDescription
recipientIdLongThe user ID of the intended message recipient.
campaignIdLongThe campaign ID of the prepared message to be sent.


Exceptions

TypeDescription
InvalidParameterExceptionOne of the parameters is invalid.
NoSuchObjectExceptionThe message ID or user ID cannot be found.
UnexpectedErrorExceptionAn unexpected backend error occurred.

sendSingle(Long recipientId, Long campaignId)


SourcemobilePush
MethodPOST
Endpoint[REST URL]/mobilePush/sendSingle
InputrecipientId, campaignId
OutputPush message sent
Request example

[REST URL]/mobilePush/sendSingle?recipientId=1&campaignId=1

Response code

204 No Content: The server successfully processed the request, but is not returning any content.

Response example/
  • No labels