v1
latestOpenAPI 3.1.02026-07-26167644759.4 KBAttachments
Assign temporary attachments to records
Step 2 of the two-step upload flow: assigns temporary attachments previously created via POST /attachments/temporary to one or more records (candidate, company, or vacancy), making them permanent. The attachment's type is intended to be set here — each attachment specifies a type, either a predefined type ({ name }) or a custom, tenant-defined type ({ id }), and can optionally be renamed. At least one of candidateId, companyId, or vacancyId must be provided. The type must be allowed for all records the attachment is linked to: the predefined CV type can only be assigned to attachments linked to a candidate, and custom types define which record types they support.
post/attachments/temporary/assign
Request body
Example request
{
"attachments": [
{
"id": "550e8400-e29b-41d4-a716-446655440003",
"name": "John_Doe_CV_2026.pdf"
}
],
"candidateId": "550e8400-e29b-41d4-a716-446655440000",
"companyId": "550e8400-e29b-41d4-a716-446655440001",
"vacancyId": "550e8400-e29b-41d4-a716-446655440002"
}Response
Attachments assigned successfully