Skip to main content
POST
Create Candidate Attachment
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:

For Teamtailor Integration

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

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.

file_name
string | null

The name of the file attached.

Example:

"resume.pdf"

file_url
string<uri> | null

The URL where the file is stored and can be retrieved.

Required string length: 1 - 2083
Example:

"https://example.com/path/to/resume.pdf"

attachment_type
enum<string>

The type of attachment. If the value is not one of the defined enum values, the original value passed through will be returned.

Available options:
RESUME,
COVER_LETTER,
OFFER_LETTER,
OTHER,
-
Example:

"RESUME"

file_content
string | null

File in base64 format

Example:

"SGVsbG8sIFdvcmxkIQ=="

content_type
string | null

The MIME type of the file (e.g., 'application/pdf', 'image/png').

Example:

"application/pdf"

candidate
string<uuid> | null

The candidate to whom the attachment belongs.

Example:

"018b4bfb-5ece-70b1-ad5e-862a9433aa65"

remote_user_id
string<uuid> | null

The id of user using the integration

Example:

"018b4bfb-5ece-70b1-ad5e-862a9433aa65"

Response

Successful Response