POST
/
ats
/
applications
/
{application_id}
/
attachments
curl --request POST \
  --url https://api.kombo.dev/v1/ats/applications/{application_id}/attachments \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --header 'X-Integration-Id: <x-integration-id>' \
  --data '{
  "attachment": {
    "name": "Frank Doe CV.txt",
    "data": "SGkgdGhlcmUsIEtvbWJvIGlzIGN1cnJlbnRseSBoaXJpbmcgZW5naW5lZXJzIHRoYXQgbG92ZSB0byB3b3JrIG9uIGRldmVsb3BlciBwcm9kdWN0cy4=",
    "type": "CV",
    "content_type": "text/plain"
  }
}'
{
  "status": "success",
  "data": {}
}

If adding an attachment to an application is not supported by the integration, the attachment will be added to the candidate instead.

This endpoint requires the permission Add attachments to be enabled in your scope config.

Example Request Body

{
  "application_id": "GRKdd9dibYKKCrmGRSMJf3wu",
  "attachment": {
    "name": "Frank Doe CV.txt",
    "data": "SGkgdGhlcmUsIEtvbWJvIGlzIGN1cnJlbnRseSBoaXJpbmcgZW5naW5lZXJzIHRoYXQgbG92ZSB0byB3b3JrIG9uIGRldmVsb3BlciBwcm9kdWN0cy4=",
    "type": "CV",
    "content_type": "text/plain"
  },
  "remote_fields": {}
}

Authorizations

Authorization
string
header
required

Create an API key on the Secrets page in the Kombo dashboard.

Headers

X-Integration-Id
string
required

ID of the integration you want to interact with.

Path Parameters

application_id
string
required

POST /ats/applications/:application_id/attachments parameter

Body

application/json

POST /ats/applications/:application_id/attachments request body

The body is of type object.

Response

200
application/json

POST /ats/applications/:application_id/attachments Successful response

The response is of type object.