Upload a document (resume, cover letter, etc.) for a person. Supports two modes:
1. Direct file upload (Content-Type: multipart/form-data):
Send the file in a file field along with metadata fields (title, type, visible_in_share_links).
Allowed file types: PDF, DOC, DOCX, PNG, JPG, JPEG. Max size: 25 MB.
2. JSON body (Content-Type: application/json):
Provide a file_url — a publicly accessible HTTPS URL. The server downloads the file, validates it, and stores it.
Authenticate with a Bearer token: API key, OAuth token, or session token.
Person ID
The file to upload. Allowed types: PDF, DOC, DOCX, PNG, JPG, JPEG. Max size: 25 MB.
Document category: resume_doc, resume_link, cover_letter, reference, additional_links.
resume_link, resume_doc, cover_letter, reference, additional_links Document title. Defaults to the original filename if omitted.
Whether to show this document in candidate share links. Defaults to false.