How to Use Document Parser with PDF.co API and Postman

This Tutorial will show you how to use Postman with a sample document to parse the document's data.

The following is important:

Step 1: Open Document Parser in Postman Collection

In Postman open the PDF.co Postman collection and navigate to the Document Parser:

Document Parser in Postman Collection
Document Parser in Postman Collection

Step 2: Ensure your API Key is added

For Postman to call PDF.co ensure that your API key is correctly added, navigate to the Headers tab and add it in {{x-api-key}} :

API Key in Postman
API Key in Postman

Step 3: Check the Body Request in Postman

To parse your own documents, first create and test a template using the Document Parser Template Editor quick-start guide. Save the template, then enter its ID in the request body’s templateId parameter and set url to your source document’s link.

Navigate to the Body tab and ensure the correct document (https://pdfco-test-files.s3.us-west-2.amazonaws.com/document-parser/sample-invoice.pdf) is referenced:

Document URL in Body Request
Document URL in Body Request

Step 4: See Result

Click the "Send" button and observe the parsed data:

Output JSON in Postman
Output JSON in Postman

In this tutorial we have shown how to use Postman and the PDF.co collection to parse document data for a sample invoice.

Related Tutorials

See Related Tutorials