Question
Can I use the Zendesk API to add CCs to email side conversations?
Answer
Yes, to add CCs to an email side conversation:
- Use the following endpoint:
https://yoursubdomain.zendesk.com/api/v2/tickets/{ticket.id}/side_conversations
- Replace
yoursubdomain
with your actual Zendesk subdomain and{ticket.id}
with your ticket ID. - Use this JSON code and replace the email addresses on the
email
lines:
{
"message": {
"subject": "Your subject written here",
"body": "The description written here",
"to": [
{ "email": "name1@testmail.com" },
{ "email": "name2@testmail.com" }
]
}
}
Disclaimer: This article is provided for instructional purposes only. Zendesk does not support or guarantee the code, and it can't provide support for custom scripts and API.
For more information about side conversations, see these articles: