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

Description

Sends a prepared message as a single message to a specific user. 

This method automatically adds the user who receives the email to the group of the prepared message.
Attachments can be encoded using base64encode.org

Available from

v1

Request path

POST [REST URL]/message/sendSingle

Query Parameters

Parameter

Type

Description

recipientId

Long

ID of the user

messageId

Long

ID of the message

senderProfile

String

TLS sender profile. Requires a Feature Switch and setting up profile name in Mapp Engage. (optional)

Request Body Type

MessageContent additionalContent

Example bodies

{}

{
"parameters":
    [{"name" : "Parameter Name 1","value" : "Parameter Value 1"},
     {"name" : "Parameter Name 2","value": "Parameter Value 2"}],
     "attachments": 
    [{"name" : "image.png",
    "contentType" : "application/png",
    "content" : "BASE64ENCODING"}]
}

Example response

HTTP 204
  • No labels