cURL
curl --request POST \ --url https://demo.papercuts.ai/parse/ \ --header 'Content-Type: multipart/form-data' \ --header 'x-api-key: <x-api-key>' \ --form file='@example-file' \ --form 'template_json={ "name": "John Doe", "dob": "1990-01-01", "company": "Acme Corp" }'
{ "name": "John Doe", "dob": "1990-01-01", "company": "Acme Corp" }
Parses a file into structured JSON using a template JSON
.pdf
.docx
.pptx
.png
.jpg
.jpeg
.bmp
.tiff
.mp3
.wav
.ogg
.m4a
.mp4
.mov
.avi
.mkv
Note: File size must be less than 32MB.
{ "name": "John Doe", "dob": "1990-01-01", "company": "Acme Corp"}
Successful Response
The response is of type object.
object