improved
Resource URLs returned through the API will not be directly acessible anymore
about 1 year ago by Catalin Mustata
Starting immediately, all URLs pointing to uploaded resources returned through an API call (files that were uploaded through the API, ticket attachments, etc.) will not be directly accessible anymore.
In order to access these attachments, you must use our new Downloads API documented here. To do this, the path component from the existing URL must be extracted and added to https://<your_domain>.gorgias.com/api/attachment/download
.
Example:
https://uploads.gorgias.io/JakiuM7ama/image-7e477135-5581-44a0-bb90-72f382489fef.png
will become
https://<your_domain>.gorgias.com/api/attachment/download/JakiuM7ama/image-7e477135-5581-44a0-bb90-72f382489fef.png