Returns a single appointment attachment and a short-lived presigned URL when available.
Security
Bearer
- Mock serverhttps://partnerdocs.qubs.io/_mock/openapi/integrations/v1/{domain}/appointments/{appointmentId}/attachments/{attachmentGuid}
- Production APIhttps://partners.qubs.io/integrations/v1/{domain}/appointments/{appointmentId}/attachments/{attachmentGuid}
- Relative to the current hosthttps://partnerdocs.qubs.io/integrations/v1/{domain}/appointments/{appointmentId}/attachments/{attachmentGuid}
curl -i -X GET \
'https://partnerdocs.qubs.io/_mock/openapi/integrations/v1/acme/appointments/200006/attachments/989dd0c7-13bb-4bba-b7a0-53a28bdf5155?urlTtlSeconds=900&disposition=inline' \
-H 'Authorization: Bearer <YOUR_JWT_HERE>' \
-H 'X-Correlation-Id: 4b7f0a91b4f54f2a'Attachment metadata for the requested appointment attachment, including a short-lived presigned URL when available.
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": { "username": "jchen", "firstName": "Jesse", "initials": "JC", "lastName": "Chen", "role": "Scheduler" }, "lastModifiedDateTime": "2025-01-10T01:02:03Z", "lastModifiedBy": { "username": "mbrown", "firstName": "Maya", "initials": "MB", "lastName": "Brown", "role": "Reception" }, "url": "https://example.com/attachments/referral.pdf", "urlExpiresAtUtc": "2025-01-10T01:17:03Z" }