Assigns previously uploaded temporary attachments to one or more records (candidate, company, or vacancy). Each attachment can be assigned a specific type and optionally renamed. At least one of candidateId, companyId, or vacancyId must be provided.
API key for authentication. Get your API key from Settings → API Keys in your Spott dashboard.
List of temporary attachments to assign. Each attachment must include the ID returned from the upload endpoint, the desired attachment type, and optionally a new name for the file.
ID of the candidate to link the attachments to. At least one of candidateId, companyId, or vacancyId must be provided.
"550e8400-e29b-41d4-a716-446655440000"
ID of the company to link the attachments to. At least one of candidateId, companyId, or vacancyId must be provided.
"550e8400-e29b-41d4-a716-446655440001"
ID of the vacancy/job to link the attachments to. At least one of candidateId, companyId, or vacancyId must be provided.
"550e8400-e29b-41d4-a716-446655440002"
Attachments assigned successfully