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
/cra/uploadMETHOD
POSTRequest Body
{
"document_base64": "string_b64"
}
Request Body Params
| Field | Type | Description | Required |
|---|---|---|---|
document_base64 * | string | Base64 encoded content of the document. | Yes |
document_name | string | Document name. | - |
Response
STATUS
201Response Body
{
"document_key": "25dd10b8-7364-4abe-b0e8-0e419b04194b"
}
Response Body Params
| Field | Type | Description | Max Characters |
|---|---|---|---|
document_key * | string | Unique key of the uploaded document (UUID v4). | 36 |