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" }
JWT token obtained from the authentication endpoint
Base64 encoded document
Name of the document
Document uploaded successfully
Presigned URL for the document
The expiration date and time (in UTC)