List documents with the PandaDoc API

Lists the documents of the workspace with id, name, status and dates, 50 per page by default. Ask for the next page with page; a page with fewer results than count is the last one.

Identifier
pandadoc_list_documents

The request

POST https://connect.reportei.com/api/tools/pandadoc_list_documents/execute
Authorization: Bearer <merchant token>
x-customer-token: <customer token>
Content-Type: application/json
Accept: application/json

{
  "customer_toolkit": "<connection UUID>",
  "arguments": {
    "q": "<q>"
  }
}

Your system sends your customer's connection id and the tool arguments. The headers are the same as the rest of the Connect API: your product's token and your customer's token.

Parameters

ParameterTypeRequiredDescription
qstringNoText matched against the document name or reference number.
statusintegerNoOnly documents in this status: 0 draft, 1 sent, 2 completed, 3 uploaded, 4 error, 5 viewed, 6 waiting approval, 7 approved, 8 rejected, 9 waiting payment, 10 paid, 11 voided, 12 declined, 13 external review, 14 scheduled.Values: 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14
template_idstringNoOnly documents created from this template, with the id from List templates.
folder_uuidstringNoOnly documents in this folder, with the uuid from List document folders.
tagstringNoOnly documents with this tag.
created_fromstringNoOnly documents created at or after this moment, like 2026-10-01T00:00:00Z.
created_tostringNoOnly documents created before this moment.
modified_fromstringNoOnly documents modified at or after this moment.
modified_tostringNoOnly documents modified before this moment.
completed_fromstringNoOnly documents completed at or after this moment.
completed_tostringNoOnly documents completed before this moment.
deletedbooleanNoWhen true, returns only deleted documents.
order_bystringNoSort field. A leading minus sorts in descending order, like -date_created for the newest first.Values: name, date_created, date_status_changed, date_of_last_action, date_modified, date_sent, date_completed, date_expiration, date_declined, status, -name, -date_created, -date_status_changed, -date_of_last_action, -date_modified, -date_sent, -date_completed, -date_expiration, -date_declined, -status
countintegerNoDocuments per page, up to 100. Defaults to 50.
pageintegerNoPage to return, starting at 1.

Supported connections

Your customer connects their PandaDoc account once, with one of the modes below. The same connection serves every tool of the toolkit.

API key

Your customer pastes the app's key on a Connect screen, or your system sends the key with POST /api/customer-toolkits, with no screen.

OAuth with your product's app

You register your product's OAuth app once, with POST /api/merchants/credentials/pandadoc, and your customer authorizes the account on a consent screen. Connect renews the token when it is about to expire.

The response

On success, Connect preserves the app's response status and body. HTTP errors returned by the app use the {error, api_error} envelope; authentication or validation can fail before execution. The X-Toolkit-Execution-Id header identifies the recorded execution, available at GET /api/tools/executions/{uuid}.

Ready for AI agents

This tool's input is a JSON Schema, available at GET /api/tools/pandadoc_list_documents. It becomes your agent's tool definition with no conversion.

Other PandaDoc tools

See all 12 tools

Toolkits in the same category

See all 100 toolkits

See Connect applied to your product.

Try it for 15 days with no card, or walk our team through your use case.