Upload temporary attachments
Upload one or more files as temporary attachments. These attachments are stored temporarily and must be assigned to a record (candidate, company, or vacancy) using the assign endpoint before they become permanent.
Allowed MIME Types:
- PDF:
application/pdf - Word Documents:
application/vnd.openxmlformats-officedocument.wordprocessingml.document(.docx),application/msword(.doc) - Images:
image/jpeg,image/png,image/gif,image/bmp,image/webp,image/tiff,image/svg+xml,image/x-icon,image/vnd.microsoft.icon - Excel:
application/vnd.openxmlformats-officedocument.spreadsheetml.sheet(.xlsx)
Limits:
- Maximum file size: 50MB per file
- Maximum files per request: 10
Authorizations
API key for authentication. Get your API key from Settings → API Keys in your Spott dashboard.
Query Parameters
The type/category of the attachment. Allowed values: unassigned, CV.
UNASSIGNED, CV Body
One or more files to upload. Accepted formats: PDF (.pdf), Word (.doc, .docx), Images (.jpeg, .png, .gif, .bmp, .webp, .tiff, .svg, .ico), Excel (.xlsx). Max 10 files, 50MB per file.
Array of files to upload. Supported MIME types: application/pdf, application/vnd.openxmlformats-officedocument.wordprocessingml.document, application/msword, image/jpeg, image/png, image/gif, image/bmp, image/webp, image/tiff, image/svg+xml, image/x-icon, image/vnd.microsoft.icon, application/vnd.openxmlformats-officedocument.spreadsheetml.sheet
Response
Attachments uploaded successfully. Returns an array of attachment details including IDs to use for assignment.
UNASSIGNED, CV ^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d(?::[0-5]\d(?:\.\d+)?)?(?:Z))$
