Zendesk chat rest API authentication

답변함


2021년 11월 19일에 게시됨

I'm trying to use the chat rest API referenced at https://developer.zendesk.com/api-reference/live-chat/introduction/. I am having trouble authenticating.

Using OAuth2 

https://www.zopim.com/oauth2/authorizations/new?client_id=qYcZqmHuTnc283mKW9LiBlIsOaCBnAUAioNZuNvgPoDvIRV3iW&response_type=code&scope=read&subdomain=eonesolutionssupport&redirect_uri=https://eoneconnectorauth.azurewebsites.net/Callback 

I get the result

{"error":"InternalError","description":"Internal Server Error"}

Trying basic authentication using the credentials I log into chat with

curl -u xxx:xxx https://www.zopim.com/api/v2/agents/me

returns 

{
    "error": "Unauthorized",
    "description": "The server could not verify that you are authorized to access the requested resource"
}
 
I am using a trial account if that makes any difference. I did create a brand new trial account with an email not associated with any Zendesk support instance to see if that would make any difference and the results are the same. Both accounts I have made have a subdomain under zendesk, I don't know if that means anything.
 
Thank you
  Robert Porter
 
Any help would be appreciated.  

1

4

댓글 4개

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

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

새 게시물