Returns appointment attachments (e.g. referrals, worksheets) and a short-lived presigned URL for each attachment when available.
Response body is a JSON array. Fields below apply to each array item.
Security
Bearer
- Mock serverhttps://partnerdocs.qubs.io/_mock/openapi/integrations/v1/{domain}/appointments/{appointmentId}/attachments
- Production APIhttps://partners.qubs.io/integrations/v1/{domain}/appointments/{appointmentId}/attachments
- Relative to the current hosthttps://partnerdocs.qubs.io/integrations/v1/{domain}/appointments/{appointmentId}/attachments
curl -i -X GET \
'https://partnerdocs.qubs.io/_mock/openapi/integrations/v1/acme/appointments/200006/attachments?urlTtlSeconds=900&disposition=inline' \
-H 'Authorization: Bearer <YOUR_JWT_HERE>' \
-H 'X-Correlation-Id: 4b7f0a91b4f54f2a'Array of attachments for the requested appointment, including short-lived presigned URLs when available.
Array []
When the attachment was added (UTC).
Example:"2020-01-01T00:00:00Z"
When the attachment was last modified (UTC).
Example:"2020-01-01T00:00:00Z"
Short-lived presigned URL for retrieving the attachment content when available.
Example:"https://example.com"
UTC expiry timestamp for the presigned URL when available.
Example:"2020-01-01T00:00:00Z"
Response
[ { "guid": "989dd0c7-13bb-4bba-b7a0-53a28bdf5155", "category": "Referral", "fileName": "referral.pdf", "addedDateTime": "2025-01-10T01:02:03Z", "addedBy": { … }, "lastModifiedDateTime": "2025-01-10T01:02:03Z", "lastModifiedBy": { … }, "url": "https://example.com/attachments/referral.pdf", "urlExpiresAtUtc": "2025-01-10T01:17:03Z" } ]