최근 검색


최근 검색 없음

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


댓글을 남기려면 로그인하세요.

원하는 정보를 못 찾으셨나요?

새 게시물