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
Document uploaded successfully
The response is of type object.
object