People
Upload a file to a person
POST
Uploads a file to a person using multipart/form-data. Include file as binary data and optional primary_document ("true" or "false") to set primary_document_id.
Body
multipart/form-data
filestring<binary>requiredFile binary data
primary_ documentstringSet to "true" to update primary document
Parameters
idstringrequiredpathPerson ID
Response
File uploaded
400Bad RequestErrorResponse
Invalid id or no file provided
401UnauthorizedErrorResponse
Invalid API key
403ForbiddenErrorResponse
Insufficient scope
404Not FoundErrorResponse
Record not found
422Unprocessable EntityErrorResponse
Validation error
500Internal Server ErrorErrorResponse
Internal server error
Authorization
bearer_ authhttp (bearer) in headerAPI key or OAuth access token in Authorization header
Scopes: people:write
oauth2_ authoauth2OAuth authorization code flow with mandatory S256 PKCE.
Scopes: people:write
apikey_ authapiKey in queryAPI key in query string
Scopes: people:write
