Files
Upload a file
Changed onUse this endpoint to upload a file to Atlas.
The file must be sent as multipart/form-data with two fields:
- file - the binary file content (PDF, DOC, or DOCX, max 20 MB)
- type - the file type: resume, passport, rightToWork, insurance, brandedResume, incorporation, or other. Only resume files are sent to the CV parser.
After uploading, you will receive a file ID that can be used with other endpoints - for example, when attaching the file to a person, company, or project via POST /api/v1/files/attach.
post/api/v1/files
Request
- Base URLhttps://api.recruitwithatlas.com
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Request body multipart/form-data
Example request
{
"type": "resume"
}Response
File uploaded successfully
Example response
{
"data": {
"id": "550e8400-e29b-41d4-a716-446655440000",
"type": "resume",
"filename": "resume.pdf",
"mime_type": "application/pdf",
"size": 245832
}
}Changes
- info
added the optional property
to the response with the status
- info