why can't curl chats, agents and visitors from zendesk | Community
Skip to main content

why can't curl chats, agents and visitors from zendesk

  • June 10, 2022
  • 7 replies
  • 0 views

pope

why i can't curl chats, agents and visitors from zendesk. But i can curl users command

 HTTP/1.1 404 Not Found
{"error":"InvalidEndpoint","description":"Not found"}

7 replies

Hi Pope,
 
Can you share the endpoint URL you're sending these requests to?

pope
  • Author
  • June 14, 2022

Yes, I can

I request to https://{my domain}.zendesk.com/api/v2/chats

 


pope
  • Author
  • June 14, 2022

If i request to https://www.zopim.com/api/v2/chats,This my error


pope
  • Author
  • June 15, 2022
 
Can u help me to fix this problem ? thank you

Hi Pope,
 
You'll need to use the zopim.com domain to access chat resources.  That will resolve the 404 error.
 
The latest error you received is due to failed authentication.  Depending on your account type, you may need to use Oauth rather than basic auth,.

Jarjees
  • January 26, 2023

hi I hope you all guys are doing good.

I'm stuck in a problem if anyone can help me.

i hit my this https://*****************.zendesk.com/api/v2/chats api it give me error

{
    "error": "InvalidEndpoint",
    "description": "Not found"
}
 
the url of v2/chats is changed?????
 
thanks peace 😉

Eric27
  • January 30, 2023
Hey Jarjees,

You'll need to call Zopim.com not the zendesk domain for the legacy chat endpoints. We talk about this here.

Thanks!