Skip to main content
GET
List workspace connected accounts
Requires tool-connections:read. Returns the API key’s workspace connections using stable Yappr IDs. Provider account IDs, tokens, OAuth state and browser capabilities are never included. Each page contains at most 50 records and next_cursor. Continue with ?cursor=... until it is null. Cursors are bound to the workspace and environment; a mismatched cursor returns 400 CONNECTION_CURSOR_INVALID.

Narrowing the list

?state= takes one record state — disconnected, connecting, verifying, ready, reconnect_required, degraded — or removed, which is not a record state but the records taken off the list with POST /tool-connections/{id}/remove. Those are excluded from every other answer, so state=removed is the only way to read them. ?toolkit= takes one app slug, exactly as GET /tool-apps/connection-options returns it. Anything else in the query string is 400 CONNECTION_INVALID.
A filtered page is a page of matches, not of records: it can hold fewer than 50 rows, or none at all, and still carry a next_cursor. Page until next_cursor is null, never until a page looks short.

Who started it

created_by is whoever started the first authorization for this connection, and started_by whoever started the most recent one — a replacement is usually somebody else. Each is {"type": "user" | "api_key", "id": "..."} and is never null: every connection starts with an authorization, and that authorization names who asked for it. The id stays after that member leaves the workspace or that key is revoked, so it can name somebody who no longer has access. There is no name or address here, only the id: compare it against your own API key id to tell your integration’s records from a person’s, before cleaning anything up. connected means an exact account has been bound. Only state: ready means its approved identity and permissions have also been checked. Whether the app itself answers is a separate question: each account carries its last connection check as check (or null) once the platform keeps checks. Generation fields are decimal strings, preserving their exact values.

Authorizations

Authorization
string
header
required

Your Yappr API key (e.g. ypr_live_...). Generate one in the dashboard under Settings → API Keys. No key is 401 MISSING_KEY; a key that is not one of ours, or is revoked, is 401 INVALID_KEY; an expired one is 401 EXPIRED_KEY. A valid key without the scope an operation needs is 403 INSUFFICIENT_SCOPE on every operation, and the message names the scope. Every response, a 401 included, carries X-RateLimit-Limit, X-RateLimit-Remaining and X-RateLimit-Reset: the budget is 60 requests a minute per API key. Every 429, whatever its code, carries Retry-After (whole seconds, never zero): the per-key budget's RATE_LIMIT asks for what is left of the minute, a route's daily cap (RATE_LIMITED) for the time until that cap resets. All four headers are listed in Access-Control-Expose-Headers, so a browser can read them. A path the API does not serve (an unknown sub-path, an id left empty) is 404 ROUTE_NOT_FOUND, and a method a served path does not take is 405 METHOD_NOT_ALLOWED with an Allow header; both are answered before any scope check, and nothing is read or changed. A trailing slash is ignored where it cannot be an id left empty (POST /calls/ is POST /calls) and refused where it can (GET /calls/). A doubled slash inside a path is merged into one before the request reaches the API (GET //calls is GET /calls).

Query Parameters

cursor
string
Maximum string length: 512
state
enum<string>

One record state, or removed for the records taken off the list. Any other value is 400 CONNECTION_INVALID.

Available options:
disconnected,
connecting,
verifying,
ready,
reconnect_required,
degraded,
removed
toolkit
string

Exact app slug, as GET /tool-apps/connection-options returns it.

Pattern: ^[a-z0-9_]{1,100}$

Response

Connection metadata page.

data
object[]
next_cursor
string | null