List an expiry's attachments
Vorschauget
https://api.expiryedge.com/v2/expiries/{id}/attachmentsany member of the expiry's organization60/min
Anfrage
curl 'https://api.expiryedge.com/v2/expiries/exp_4Tq9sLm2/attachments' \
-H "Authorization: Bearer $EXPIRYEDGE_API_KEY"Antwort
{
"data": [
{
"index": 1,
"name": "Gas Safety Certificate 2026.pdf",
"url": "https://example.com"
}
],
"next_cursor": null,
"has_more": true
}Files in the order shown in the app. An expiry holds at most 50 files, so this is always one page
(next_cursor: null, has_more: false).
idstringerforderlich
200
The attachments.
dataarray of objectserforderlichnext_cursornullerforderlichhas_morebooleanerforderlich
401 | Missing, invalid or expired token ( UNAUTHORIZED). |
403 | Your role can't do this, or your account has no organization ( FORBIDDEN). |
404 | No such record in your organization (records in other organizations are also 404). |
405 | Wrong HTTP method for this path; the Allow header lists the valid ones. |
429 | Too many requests for this endpoint from your IP. Wait Retry-After seconds. |
