Versions Compared
compared with
Key
- This line was added.
- This line was removed.
- Formatting was changed.
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 | ID of the user | |
messageId | ID of the message | |
senderProfile | TLS sender profile. Requires a Feature Switch and setting up profile name in Mapp Engage. (optional) |
Request Body Type
MessageContent additionalContent
Example bodies
Code Block |
---|
{} { "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
Code Block |
---|
HTTP 204 |