Skip to main content

Send Document

This endpoint uploads a document and returns the document_key that identifies it. This document_key is used to reference documents in other operation endpoints whenever the key of a previously uploaded document is required.


Request

ENDPOINT
/cr/upload
METHOD
POST
Request Body
{
"document_base64": "string_b64"
}

Request Body Params

FieldTypeDescriptionRequired
document_base64 *stringBase64 encoded content of the document.Yes
document_namestringDocument name.-

Response

STATUS
201
Response Body
{
"document_key": "25dd10b8-7364-4abe-b0e8-0e419b04194b"
}

Response Body Params

FieldTypeDescriptionMax Characters
document_key *stringUnique key of the uploaded document (UUID v4).36