Upload a document to an assessment
POST/api/v2/assessments/:id/documents
Uploads a document to an assessment. The document is attributed to one of your active users, identified by uploader_email — not to the API key that made the request — so the upload is credited to a person. By default the document is attached to the assessment as a whole; supply tags to attach it to specific questions instead. Send the request as multipart/form-data. The assessment must be in an editable status; uploads to an approved or cancelled assessment are rejected.
Request
Responses
- 201
- 404
- 409
- 422
Document uploaded
Assessment not found
Assessment is in a terminal (approved or cancelled) status and cannot accept uploads
Validation failure — for example a missing or invalid file, a file name over 255 characters, an oversized or malformed tags list, or an uploader_email that does not match exactly one active user
Disclaimer: The information contained in this message does not constitute as legal advice. We would advise seeking professional counsel before acting on or interpreting any material.