POST
/
api
/
ats
/
v1
/
candidates
/
{candidate_id}
/
attachments
curl --request POST \
  --url https://api.bindbee.dev/api/ats/v1/candidates/{candidate_id}/attachments \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --header 'x-connector-token: <x-connector-token>' \
  --data '{
  "file_name": "resume.pdf",
  "file_url": "https://example.com/path/to/resume.pdf",
  "attachment_type": "RESUME",
  "file_content": "SGVsbG8sIFdvcmxkIQ==",
  "content_type": "application/pdf",
  "candidate": "018b4bfb-5ece-70b1-ad5e-862a9433aa65",
  "remote_user_id": "018b4bfb-5ece-70b1-ad5e-862a9433aa65"
}'
"<any>"

Currently this functionality is available for Success Factor and Teamtailor

🚨 Note: File size cannot exceed 5 MB.

For SAP Success Factor Integration

If integrating with SAP_SUCCESS_FACTOR, the request body must only contain:

KeyTypeRequiredDescription
file_namestringrequiredName of the file including its extension
file_contentstring (base64)requiredBase64 encoded file content
remote_user_idUUIDrequiredUUID of remote user created by Bindbee

For Teamtailor Integration

If integrating with Teamtailor, the request body must only contain:

KeyTypeRequiredDescription
file_namestringrequiredName of the file including its extension
file_urlstringrequiredPublically accessible file url
remote_user_idUUIDrequiredUUID of remote user created by Bindbee

Authorizations

Authorization
string
header
required

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

Headers

x-connector-token
string
required

Path Parameters

candidate_id
string
required

Body

application/json

The AtsAttachmentWriteForCandidate object is used to represent a file attachment linked to a candidate's application within the ATS.

Response

200
application/json

Successful Response

The response is of type any.