Send template email
Sends a template email message
Request | |
---|---|
Method | POST |
Resource | https://[customer].asp.virtual-call-center.eu/v2/projects/[projectid]/email |
Options | /N/A |
Body | Customized data, encoded in JSON. |
Response | |
Body | States whether there were any errors or not |
Request
Resource parameters
Name | Type | Mandatory | Comment |
---|---|---|---|
projectid | integer | yes | Project unique identifier |
Request object
Name | Type | Mandatory | Comment |
---|---|---|---|
to | string | yes | Addressee email address. |
templateId | integer | yes | The unique identifier of the email template used. |
entityId | integer | no | Default value: 0 |
Response
Response object
Name | Type | Comment |
---|---|---|
response | boolean | |
errors | object |
Example
Send a template email to an existing record
Request
{
"templateId": 2,
"entityId": 9,
"to": "[email protected]"
}
Response body
{
"response": false,
"errors": [],
"debug": {
"output": "",
"smartDbError": ""
}
}
Comments
Can’t find what you need? Use the comment section below to connect with others, get answers from our experts, or share your ideas with us.
There are no comments yet.