Problem with autorization using api token Zendesk

Answered


Posted Jul 18, 2022

I have next problem. I want to try integrate Zendesk in my application. Then I use Postman - no problem. I have error(401 unautorization ) in my app. I think this problem contains with headers. Can anybody help me? I am using GuzzleHttp .Below my code enter image description here enter image description here/finI have next problem.


0

1

1 comment

Hi Reece,
 
When using an API token to authenticate, the username will be {email_address}/token. /token is included in the username in your working Postman example, but it is missing from your PHP example.  Updating the username to yurii.p@payop.com/token should resolve the issue.

0


Sign in to leave a comment.

Didn't find what you're looking for?

New post