How to work with Chat API for zendesk? | Community
Skip to main content

How to work with Chat API for zendesk?

  • February 16, 2022
  • 3 replies
  • 0 views

Deepak12

Hi All,

I am trying hitting chat API i.e  GET api/v2/chats that is not working and giving response as "Invalid Endpoints" . Kindly respond and help me out.

3 replies

Eric27
  • February 16, 2022
Hey there, to confirm are you calling the zopim domain or your zendesk subdomain? As you'll need to call zopim similar to the curl command below.
 
 
curl https://www.zopim.com/api/v2/chats \  -v -u {email_address}:{password}
 

Deepak12
  • Author
  • February 17, 2022

Hi Eric,

I am using my subdomain i.e https://yoursubdomain.zendesk.com/api/v2/chats .

So how to use zopim , Is it a another platform or its a domain that I need to use for calling chat API?


Eric27
  • February 17, 2022
Zopim is the name of Zendesk Chat prior to acquisition back in 2014. As these are legacy endpoints you still need to call Zopim. We talk about it here.