Skip to main content
GET
/
v1
/
prior-auth
/
authorizations
/
{authorization_id}
/
attachments
List authorization attachments
curl --request GET \
  --url https://api.sandbox.trycollate.ai/v1/prior-auth/authorizations/{authorization_id}/attachments \
  --header 'Authorization: Bearer <token>'
[
  {
    "id": "<string>",
    "fileId": "<string>",
    "createdAt": "2023-11-07T05:31:56Z",
    "documentTypes": [
      "<string>"
    ],
    "label": "<string>",
    "description": "<string>"
  }
]

Documentation Index

Fetch the complete documentation index at: https://docs.trycollate.ai/llms.txt

Use this file to discover all available pages before exploring further.

Use this endpoint to render the current attachment list or verify that a recent file link succeeded. The same array is included on the authorization detail response under attachments.

Returns

Returns an array of AuthorizationAttachment objects.

Authorizations

Authorization
string
header
default:your-api-key
required

API key passed as Authorization: Bearer <API_KEY>.

Path Parameters

authorization_id
string
required

Authorization ID returned by POST /v1/prior-auth/authorizations.

Response

Successful Response

id
string
required

Stable attachment ID scoped to the authorization.

fileId
string
required

File ID linked as the attachment source.

createdAt
string<date-time>
required

Time when the attachment was linked.

documentTypes
string[]

Document requirement types this attachment satisfies.

label
string | null

Human-readable file label, usually the original file name.

description
string | null

Optional description for the attachment.