Email - Outgoing
Send an email using a template
post/v4/email/outgoing/sendusingtemplate
Request
- Base URL: https://api.inmobile.com
- URL: https://api.inmobile.com/v4/email/outgoing/sendusingtemplate
- Auth: one of:
- HTTP basic
- API key in query parameter apikey
Request body
Example request
{
"from": {
"emailAddress": "roy@tomlinson.com",
"displayName": "Roy Tomlinson"
},
"to": [
{
"emailAddress": "roy@tomlinson.com",
"displayName": "Roy Tomlinson"
}
],
"replyTo": [
{
"emailAddress": "roy@tomlinson.com"
}
],
"messageId": "8fe266b2-56e9-4b5f-938f-cc5e22530721",
"sendTime": "2001-02-30T14:50:23Z",
"attachments": [
{
"name": "MyFile.pdf",
"content": "SGVsbG8gd29ybGQ="
}
],
"listUnsubscribe": true,
"anonymizeOptions": [
"all"
],
"templateId": "ecdcb257-c1e9-4b44-8a4e-f05822372d82"
}Response
Example response
{
"messageId": "8fe266b2-56e9-4b5f-938f-cc5e22530721",
"to": [
{
"emailAddress": "roy@tomlinson.com",
"displayName": "Roy Tomlinson"
}
],
"usedPlaceholderKeys": [
"{name}",
"{lastname}"
],
"notUsedPlaceholderKeys": [
"{name}",
"{lastname}"
]
}Changes
No recorded changes to this operation across all 1 revision of this API.