最近の検索


最近の検索はありません

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


サインインしてコメントを残してください。

お探しのものが見つかりませんか?

新規投稿