Skip to main content
POST
/
v1
/
exemptions
/
{exemption_id}
/
attachments
Upload Exemption Certificate
curl --request POST \
  --url https://api.trykintsugi.com/v1/exemptions/{exemption_id}/attachments \
  --header 'Content-Type: multipart/form-data' \
  --header 'X-API-KEY: <api-key>' \
  --header 'x-organization-id: <api-key>' \
  --form file='@example-file'
{
  "related_entity_id": "exmp_vtWfyrER36irA",
  "related_entity_type": "EXEMPTION",
  "id": "atch_ZgxKo5vffwyBB"
}

Authorizations

X-API-KEY
string
header
required
x-organization-id
string
header
required

Path Parameters

exemption_id
string
required

The unique identifier for the exemption to which the attachment will be associated.

Body

multipart/form-data
file
file
required

The file to be uploaded. Supported format: PDF. Max size: 10 MB.

Response

Successfully retrieved exemption by id

The unique identifier of the exemption associated with the attachment.

The type of entity associated with the attachment. In this case, it will always be EXEMPTION, REGISTRATION ,FILING, FILING_PAYMENT.

Available options:
EXEMPTION,
REGISTRATION,
FILING,
FILING_PAYMENT
id
string
required

The unique identifier of the uploaded attachment (attachment ID).