Skip to content

Document the Preview auth_tokens read endpoints - #667

Merged
robertlangner-fin merged 4 commits into
mainfrom
robert.langner/559165-auth-tokens-preview
Sep 16, 2026
Merged

robertlangner-fin merged 4 commits into
mainfrom
robert.langner/559165-auth-tokens-preview

Conversation

@robertlangner-fin

Copy link
Copy Markdown
Contributor

Why?

Setting up a data connector through the API needs the id of a stored credential, and there is no documented way to find one. That leaves integrators stuck partway through the setup.

How?

Documents two read-only endpoints — one listing credential metadata, one retrieving a single record — in the Preview version only.

Notes for reviewers

fern check was not run locally — fern is not installed on this machine, so CI is the first validation. The file parses as YAML and the new $refs resolve.

Generated with Claude Code

robertlangner-fin and others added 4 commits September 14, 2026 17:42
Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
Token ids are serialised as strings in the response, and the sibling
connector endpoints already declare their path id as a string.

Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
App package and integration credentials are included, not excluded.

Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
The previous wording said app package and integration credentials are
included. The adapter reverted to with_app_package_tokens: false, so they
are not. The wording before that was also wrong in the other direction: it
said no integration credentials are listed, but the allowlist covers
Calendly, HubSpot Meetings and Marketo.

Describes what the filter actually does instead of enumerating a set that
changes.

Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>

@anubhav-intercom anubhav-intercom left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approve. The `auth_token` schema exposes exactly the adapter's 8 metadata fields plus `type` — no secret, token_prefix, refresh, or OAuth field — and both endpoint descriptions accurately state the read-only `read_auth_tokens` scope, the list filter (teammate + some listed integrations; app-package/most-integrations/MCP-minted excluded), and 404-for-unlisted. Lands in `descriptions/0` (the working source, not a frozen version). per_page default 20 / min 1 / max 50 matches the controller's clamp. Direct review.

~ Automated via Claude

@robertlangner-fin
robertlangner-fin merged commit 4d9555b into main Sep 16, 2026
3 checks passed
@robertlangner-fin
robertlangner-fin deleted the robert.langner/559165-auth-tokens-preview branch September 16, 2026 10:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants