Skip to main content

Base URL

https://api.lendpathway.com/api

Authentication

Every request requires a Personal Access Token (PAT), a long-lived credential scoped to one organization and user. PATs are prefixed pat_.
Authorization: Bearer pat_your_token_here
Generate one from Settings → Account → New Token. The raw token is shown once on creation and cannot be retrieved again.

Errors

All error responses have a detail field.
{ "detail": "Invalid or revoked access token" }
StatusMeaning
400Invalid parameters or book in wrong state (e.g. not yet parsed)
401Missing or invalid token
403Token doesn’t have access to this resource
404Resource not found
500Server error

Sections

Authentication

Generate and verify PAT tokens.

Books

Submit documents, poll parse status, fetch analytics and exports.

Embed

Create embed tokens and iframe parsed reports.

OpenAPI spec

Full interactive reference with all schemas and response shapes.