Vor Kurzem aufgerufene Suchen
Keine vor kurzem aufgerufene Suchen
Agent Event API Endpoint Invalid
Gepostet 10. Jan. 2024
import requests
import json
ZENDESK_EMAIL = input("Email: ")
ZENDESK_API = input("API: ")
url = "https://xxxxxx.zendesk.com/api/v2/incremental/agent_events"
auth = ZENDESK_EMAIL + "/token", ZENDESK_API)
headers = {"Content-Type": "application/json",}
response = requests.get(url, headers=headers, auth=auth)
print("Full API response: ")
print(response.text)
Hi all,
I seem to keep running into issues with accessing the Agent Events API endpoint. Above is my most recent paired-down attempt and I continue to get the following response:
Full API response:{"error":"InvalidEndpoint","description":"Not found"}
Error: 404 - {"error":"InvalidEndpoint","description":"Not found"}
I am a Zendesk admin and have been able to access many other API endpoints without running into this issue. Can anyone see anything obvious that I am doing wrong?
0
1
1 Kommentar
Tipene Hughes
It looks like you need to update the base URL you're using to make the request. You can read more about that here.
Feel free to reach out if you have any questions!
Tipene
0
Anmelden, um einen Kommentar zu hinterlassen.