Skip to content
Docparser logo

Connectors / Documents and e-signature · HTTP Connector

Docparser integration and API

Upload a document in Docparser and start a workflow when Docparser sends “Document parsed”.

What can you do with Docparser on Tray.ai?

Docparser pulls structured data out of PDFs, scanned documents and images such as invoices and purchase orders, using parsing rules you set up per document type. Tray.ai connects to Docparser through the HTTP Connector, so your workflows can call the Docparser API alongside the rest of your stack.

  • When Docparser sends “Document parsed”, create a bill in your accounting system from the invoice fields.
  • Upload a document for each supplier invoice that lands in your accounts payable inbox.
  • Fetch a document from a URL when a purchase order is shared from your procurement system.
  • Re-parse documents after finance updates the parsing rules for a supplier.
Connects through
HTTP Connector
Authentication
Basic authentication or an API key in a request header or an API key in the query string
Base URL
https://api.docparser.com

Set it up

Connect Docparser to Tray.ai

Each step uses Docparser's own API details, from its documentation.

Step 1

Save Docparser's username and password

Save the credentials Docparser gives you as a Tray.ai authentication. The HTTP Client sends them as basic auth. They stay out of the workflow and out of the logs.

Step 2

Point the HTTP Client at the API

Add an HTTP Client step and use https://api.docparser.com as the base URL. Or paste a cURL example from Docparser's API docs, and Tray.ai fills in the method, URL, and headers.

Step 3

Start with “List document parsers”

It's one of 9 documented actions, under Parsers. The response comes back as data the next step can map into your other apps.

Step 4

Start workflows from Docparser events

Give Docparser the URL of a Tray.ai webhook trigger. “Document parsed” can then start a workflow.

Workflows to build with Docparser

Connect Docparser with NetSuite, Google Drive and Google Sheets

Each one uses actions and events from Docparser's own API documentation.

Create NetSuite vendor bills from Docparser invoices

When

Document parsed

Then

  1. Get parsed data for a document in Docparser
  2. Create a bill in NetSuite

With NetSuite

Parse invoices added to a Google Drive folder

When

A file is added to a Google Drive folder

Then

  1. Fetch a document from a URL in Docparser
  2. Check document status

With Google Drive

Log parsed purchase orders in Google Sheets

When

Document parsed

Then

  1. Get parsed data for a document in Docparser
  2. Add the order lines to the purchasing tracker in Google Sheets

With Google Sheets

Apps you can build on Docparser data

Internal tools your team can build with an AI assistant, each one using Docparser calls from its API documentation.

Invoice parsing review

Shows parsed fields from each uploaded invoice so AP staff can check them and re-parse ones that look wrong.

Document upload portal

Lets staff pick a parser, upload a document, and check its parsing status.

Give your AI agents Docparser tools

Build an MCP server on Docparser in Agent Gateway and choose which actions your agents can call. Every call runs with access control and an audit trail. How Agent Gateway works

  • List document parsers
  • Upload a document
  • Get parsed data for a document
  • List parser model layouts
  • Fetch a document from a URL
  • Check document status
  • Re-parse documents
  • Re-integrate documents

What the Docparser API covers

3 resources and 9 documented actions, each one a call the HTTP Connector can make from a Tray.ai workflow. Connecting it takes a few clicks: here's how.

Parsers

  • List document parsers
  • List parser model layouts

Documents

  • Upload a document
  • Fetch a document from a URL
  • Check document status
  • Re-parse documents
  • Re-integrate documents

Parsed data

  • Get parsed data for a document
  • Get parsed data for many documents

Events Docparser can send to a Tray.ai webhook trigger

  • Document parsed

Checked against Docparser's own documentation on 2026-10-22

docparser.com/api

Frequently asked questions

What can a Tray.ai workflow do in Docparser?

+

The Docparser API documents 9 actions across 3 resources (Parsers, Documents, Parsed data). For example: List document parsers; Upload a document; Get parsed data for a document. A workflow can make any documented call through the HTTP Connector.

How does Tray.ai authenticate with Docparser?

+

The Docparser API uses basic authentication, an API key in a request header, and an API key in the query string. You save it once as a Tray.ai authentication, and the HTTP Connector adds it to every request.

Which Docparser events can start a Tray.ai workflow?

+

Docparser sends one event to a webhook URL, for example: Document parsed. A Tray.ai webhook trigger receives them and starts a workflow.

See Docparser working against your stack.

We'll walk through a tailored demo with your systems plugged in.

Great — a couple more details

This helps us connect you with the right person. Optional, and you can skip it.