Documents
Upload a document
Uploads a document up to 6MB via multipart/form-data. For files over 6MB, first request a pre-signed URL from GET /v1/documents/upload_url, PUT the file there, then confirm the upload by calling this same endpoint with application/json and the document_id from that step.
post/v1/documents
Request
- Base URL: https://api.documentpro.ai
- URL: https://api.documentpro.ai/v1/documents
- Auth: API key in header x-api-key
Request body
Response
Document uploaded (or confirmed).
Example response
{
"source_name": "api"
}Changes
No recorded changes to this operation across all 1 revision of this API.