Connections

Live state of the API token behind this workspace's Outline connection

Probes Outline directly. Reports whether the token is still accepted and, when the token may list its own key, its name, expiry and last use. Outline cannot rotate a key from a key, so an expiring token is renewed in Outline and re-entered here.

get/workspaces/{workspaceSlug}/connections/outline/token

Request

  • Base URL: / (relative, and the document was published on a file host, not at the API’s origin)
  • URL: /workspaces/{workspaceSlug}/connections/outline/token
  • Auth: HTTP bearer

Path parameters

workspaceSlugstring required

Workspace slug

Response

Token state returned

acceptedboolean required

Whether Outline still accepts the stored token. False means revoked, expired or rejected.

expiresAtstring date-time

When the token lapses. Absent for a key created without an expiry.

last4string

Last four characters of the token, as Outline reports them

lastActiveAtstring date-time

When Outline last saw the token used

namestring

The token's name in Outline. Absent when the token cannot list its own key (a scoped key, or one owned by a user who cannot see it) — sync is unaffected.

Changes

No recorded changes to this operation across all 1 revision of this API.