CCing external emails on ticket creation (tickets API) | Community
Skip to main content

CCing external emails on ticket creation (tickets API)

  • February 17, 2021
  • 3 replies
  • 0 views

So I figured a way to add an external e-mail as a requester on using https://<mydomain>.zendesk.com/api/v2/tickets.json by using the "requester" attribute instead of "requester_id" on the body of the request (which I didn't see on the docs explicitly stated). But I would also like to add external e-mails CCed to the ticket when I create them. I was hoping the following would work but it doesn't. Help would be very much appreciated:

{
"ticket": {
"subject": "Trying CCs,
"comment": {
"body": "Trying CCs..."
},
"requester": "external@email.com",
}
}

3 replies

  • Author
  • February 17, 2021

Even if I add actual user ids to "email_cc_ids" they don't get added to the ticket...


  • February 19, 2021

Hello,

You can use the collaborators object to add external users as CC'd users in the ticket. Below is the sample code. You can also check this article which describes different options for adding CCs and followers to a ticket.

{

"ticket": {

"subject": "Adding CCs",

"comment": {

"body": "Adding CCs"

},

"collaborators": [

"external1@example.com",

"external2@example.com"

],

"requester": {

"name": "name",

"email": "email@example.com"

}

}

}

Hope this helps.

Cheers,

Korak


Leandro12
  • August 12, 2025

@arthur12 , API is not that intuitive, but you should use “collaborator_ids” instead of “email_cc_ids” to add the users as CC in the ticket.