cURL
curl --request POST \ --url https://api.kiriku.app/v1/extract/async \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: multipart/form-data' \ --form file='@example-file' \ --form 'documentType=<string>'
{ "extractionId": "<string>", "status": "queued" }
Queue a document for extraction. Returns an ID to poll status or receive webhook.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Queued successfully
"queued"