Question

Can I use the Zendesk API to add CCs to email side conversations?

Answer

Yes, to add CCs to an email side conversation:

  1. Use the following endpoint: 
    https://yoursubdomain.zendesk.com/api/v2/tickets/{ticket.id}/side_conversations
  2. Replace yoursubdomain with your actual Zendesk subdomain and {ticket.id} with your ticket ID.
  3. 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:

  • Create Side Conversation (API reference)
  • About side conversations
  • Creating side conversations
Powered by Zendesk