当我尝试作为最终用户对Zendesk API进行身份验证,然后列出故障单时,它总是响应403 Forbidden:
e.g。
GET
https://mysite.zendesk.com/api/v2/requested.json
Basic Authorization
返回403
{
"error": {
"title": "Forbidden",
"message": "You do not have access to this page. Please contact the account owner of this help desk for further help."
}
}
答案 0 :(得分:1)
似乎“门票”API(如上所述)不适用于最终用户。相反,他们必须使用“请求”API。
所以请使用:https://mysite.zendesk.com/api/v2/requests.json
代替......