v1

latestOpenAPI 3.1.0Apache 2.02026-07-264001921002.3 KB
OAuth

Get OAuth config status

Retrieves the current status of an OAuth configuration. Shows whether the OAuth flow is pending, authorized, or failed, and includes token expiration and scopes if authorized.

get/api/oauth/config/{id}/status

Path parameters

idstring required

OAuth config ID

Response

OAuth config status retrieved successfully

idstring

OAuth config ID

status'pending' | 'authorized' | 'failed'

Current status of the OAuth flow:

  • pending: User has not yet authorized
  • authorized: User authorized and token is stored
  • failed: Authorization failed
created_atstring date-time

When this OAuth config was created

expires_atstring date-time

When this OAuth config expires (becomes invalid if not completed)

token_idstring

ID of the associated OAuth token (only present if status is authorized)

token_expires_atstring date-time

When the OAuth access token expires (only present if status is authorized)

token_scopesstring[]

Scopes granted in the OAuth token (only present if status is authorized)