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
POST [REST URL]/message/sendSingle
Parameter
Type
recipientId
Long
ID of the user
messageId
ID of the message
senderProfile
String
TLS sender profile. Requires a Feature Switch and setting up profile name in Mapp Engage. (optional)
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