Document
Create document
Create a new document object.
Use this API call to create a document without an annotation. Suitable for creating documents for mime types that cannot be extracted by Rossum. Only one document can be created per request.
The supported mime types are the same as for document import.
post/api/v1/documents
Response
Created
Example response
{
"id": 314628,
"url": "https://example.rossum.app/api/v1/documents/314628",
"s3_name": "272c2f01ae84a4e19a421cb432e490bb",
"parent": "https://example.rossum.app/api/v1/documents/203517",
"email": "https://example.rossum.app/api/v1/emails/1234",
"annotations": [
"https://example.rossum.app/api/v1/annotations/314528"
],
"mime_type": "application/pdf",
"creator": "https://example.rossum.app/api/v1/users/1",
"created_at": "2020-05-21T12:34:56.789Z",
"arrived_at": "2020-05-21T12:34:56.789Z",
"original_file_name": "invoice.pdf",
"content": "https://example.rossum.app/api/v1/documents/314628/content",
"attachment_status": "processed",
"metadata": {
"some_key": "some_value"
}
}Changes
No recorded changes to this endpoint across all 1 revision of this API.