zendesk api redirect loop | Community
Skip to main content

zendesk api redirect loop

  • November 10, 2021
  • 1 reply
  • 0 views

彭伟江

curl --location --request GET 'https://helpcenter.xxx.com/api/v2/ticket_audits.json?&limit=100' \

--header 'Authorization: Basic xxx'

 

 

 

curl: (47) Maximum (50) redirects followed

1 reply

Tipene
  • November 11, 2021

Hey 彭伟江,

Thanks for reaching out!

Can you try running the snippet below and see if that returns the desired results. Just be sure to add your details in place of the placeholders.

curl https://{subdomain}.zendesk.com/api/v2/ticket_audits.json?limit=1000 \  -v -u {email_address}:{password}

I hope this helps! Let me know if you run into any further issues.

Tipene