[SOLVED] Getting 401 when trying to download ticket attachment via API
[SOLVED] Getting 401 when trying to download ticket attachment via API
I'm able to use the API just fine to access ticket content. But I cannot download ticket attachment, keep getting
401 Client Error
.
Example:
https://desk.zoho.com.au/api/v1/tickets/{ticket_id}/attachments/{attachment_id}/content?orgId={org_id}
For headers, sending the same as for other API calls (which are all working fine):
"Authorization": f"Zoho-oauthtoken {token}",
"orgId": ORG_ID,