cURL
curl --request POST \ --url https://api.parcha.ai/api/v1/uploadB64Document \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "b64_document": "<string>", "document_name": "<string>" } '
{ "url": "<string>", "expiration": "2023-11-07T05:31:56Z" }
API key obtained from your Parcha account settings. Include as Bearer token in the Authorization header.
Base64 encoded document
Name of the document
Document uploaded successfully
Presigned URL for the document
The expiration date and time (in UTC)