레퍼런스HTTP APILinked accounts
The caller's linked accounts that are active or stale
GET
Each item's expires_at is its provider token's expiry, null when no token is kept (every Slack link). API keys are refused.
Auth: cookie session only; no scope.
cookieSessioncookie
__Host-werft_session<token>For the web console: the browser session cookie set by POST /v1/auth/login. It holds the scopes of the user's workspace role (owner: all; admin and member: all but sessions:recover). Requests other than GET must also send X-Requested-With: werft-web.
Success
application/json- response
items*array<>Items
items <= 50curl -X GET 'https://example.com/v1/linked-accounts'Example Response
{ "items": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "user_id": "a169451c-8525-4352-b8ca-070dd449a1a5", "provider": "slack", "external_tenant": "string", "external_user_id": "string", "external_tenant_name": "string", "external_user_name": "string", "status": "active", "verified_at": "2019-08-24T14:15:22Z", "revision": 0, "expires_at": "2019-08-24T14:15:22Z" } ]}