POST
/
api
/
claim
/
attachment
/
v1
cURL
curl --request POST \
  --url https://forecaster.cairhealth.com/api/claim/attachment/v1 \
  --header 'Authorization: Bearer <token>' \
  --header 'content-type: <content-type>' \
  --data '<string>'
{
  "attachmentId": "12345678-1234-1234-1234-123456789012"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Headers

content-type
string
required

Content type of the attachment (e.g., 'application/pdf', 'image/jpeg', 'text/plain')

Body

Raw content of the document to be attached

Plain text content

Response

Attachment uploaded successfully

attachmentId
string

ID of the created attachment that can be used with other claim APIs