Skip to main content
POST
/
api
/
v1
/
disputes
/
attachments
/
upload
Upload attachment
curl --request POST \
  --url https://api.tabby.ai/api/v1/disputes/attachments/upload \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: multipart/form-data' \
  --form attachment=@example-file
{
  "id": "attachment id, uuid format"
}

Authorizations

Authorization
string
header
required

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

Body

multipart/form-data
attachment
file
required

Attachment must be in PNG or JPEG format and can be up to 5 megabytes in size.

Response

Success. Attachment was uploaded.

id
string<uuid>

Unique ID of attachment

Example:

"attachment id, uuid format"

I