Skip to main content
Every request carries one credential. The credential decides who is calling, in which organization, and what the call may do.

Credentials

Use a PAT for an integration, a script, or an agent. Use an embed token to show one Book inside your own application. The browser session is what the Pathway app uses; you do not create one yourself.

What a token can do

A PAT acts as the user who created it. It never has more access than that user. Access has three levels. A user’s role in the organization grants them:
  • Read: view Books, documents, analytics, metrics, settings, members, and whether a system is connected.
  • Write: create and edit Books, upload and parse documents, edit tags and positions, fill contracts, send deals.
  • Manage: invite members and change roles, change organization and analysis settings, buy credits, and edit screening rules, funders, funding partners, tag rules, contract templates, intake settings, senders and sender groups, and connectors.
One read is not a guest’s: what a connected system holds, such as LendSaaS leads and Salesforce opportunities. Members and admins can read it, with a read-only PAT too; a guest’s requests for it return 403. A read-only PAT is held to Read, whatever the user’s role. Its POST, PATCH, PUT, and DELETE requests return 403. A few POST routes only read and are allowed, such as POST /books/batch and POST /documents/bulk-download.

What a token can reach

A PAT reaches the whole product: Books, documents, parsing, analytics, exports, contracts, email templates, screening rules, funders, funding partners, tag rules, intake, organization settings, members, usage and credits, Baselayer, LendSaaS, Salesforce, OrgMeter, Ramp, and Slack. The product map lists every route family. These need the browser, not a token: A PAT can read its own user’s connected Gmail, read-only, through GET /google-inbox/proxy/.... It is that one person’s inbox, and members and admins only.

Actions that cost credits or leave Pathway

These work with a read-write PAT exactly as they do in the app:
  • A parse, a Baselayer search, and web research use credits. GET /usage/credits returns the balance; GET /usage/activity lists what was charged.
  • A push to LendSaaS, Salesforce, or OrgMeter, and a Ramp referral, change data in that system.
A read-only PAT cannot start any of them.

The chat agent’s token

Each reply from Pathway’s chat agent gets its own read-only PAT for the user who sent the message, in the organization they are working in. It reads what that user can read, changes nothing, and is deleted when the reply ends. It never appears in your token list. See Chat engine.

Create a token

  1. Open Settings → Account → API tokens in the Pathway app.
  2. Click New token and name it. Choose its Access, read and write or read only, and when it Expires: 7 days (the default), 30 days, 90 days, 1 year, or never.
  3. Copy the token. It begins with pat_ and is shown once.
Pathway stores only a hash of the token and cannot show it again.

Send and verify it

Send the token on every request. GET /auth/me returns the user and organization it belongs to.
A PAT always acts in the organization shown here. You do not send X-Org-Id; if you do, it must match.

Store and revoke it

Keep the token on a server, in a secret manager or an environment variable. Do not put it in browser code, a mobile app, a repository, a log, or a screenshot. A PAT works until it expires, is revoked, its user is removed, or the organization is deleted. The token list shows when each one expires and when it was last used; an expired token stays listed, marked Expired, so you can see why an integration stopped. To keep an integration running, create a new token before the old one expires. Tokens created before November 9, 2026 never expire. To revoke a token, delete it in Settings → Account → API tokens. Revocation is immediate. Give each integration its own token, so that you can tell their usage apart and revoke one without stopping the others.

Limits and errors

A PAT may make about 300 requests a minute. The count is kept per server, so the exact number varies. Past it, requests return 429; wait and retry.