最近搜索


没有最近搜索

CCing external emails on ticket creation (tickets API)



已于 2021年2月17日 发布

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",
}
}

0

2

2 条评论

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

0


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

1


请先登录再写评论。

找不到所需的内容?

新建帖子