最近搜索


没有最近搜索

Daniel Stolldorf's Avatar

Daniel Stolldorf

已加入2023年9月19日

·

最后活动2023年9月19日

关注

0

关注者

0

活动总数

2

投票

0

订阅

1

活动概览

的最新活动 Daniel Stolldorf

Daniel Stolldorf 创建了一个帖子,

帖子 Developer - Zendesk APIs

I'm using the Request API to submit new comments on a ticket on behalf of the original ticket creator. Tickets are automatically generated through a checkout process requiring payment with an account so from our perspective the emails are verified.

We are using the OAuth process to generate a token for an admin user with the impersonate scope.

Data being sent is as below:

https://cleansed.zendesk.com/api/v2/requests/{ticket Id}
-d {"request":{"comment":{"type":"Comment","body":"Testing, please ignore"}}}
-h "X-On-Behalf-Of: "{Zendesk User ID}"
-h "Bearer" : "{OAuth Token}"

The response we are getting is 

"error": { "title""Forbidden""message""Unverified email address" } }

I even tried using the User API to set the verified flag to true, then wait 10 seconds before running the Requests API process.

The same request to a ticket with a verified email in Zendesk does work (although it sends the email to the ticket creator, not the ticket steward).

已于 2023年9月19日 发布 · Daniel Stolldorf

2

关注者

4

投票

1

Comment