v17

latestOpenAPI 3.0.1raw.githubusercontent.com2026-07-08165682.0 MB
OAuth applications

Get an OAuth token

Authorization

A service token must have at least one of the following access in order to use this API endpoint:

Service Token Accesses read_oauth_tokens

get/organizations/{organization}/oauth-applications/{application_id}/tokens/{token_id}

Path parameters

organizationstring required

The name of the organization the OAuth application belongs to

application_idstring required

The ID of the OAuth application

token_idstring required

The ID of the OAuth application token

Response

Returns an OAuth token that was issued on behalf of the OAuth application

idstring required

The ID of the service token

namestring nullable required

The name of the service token

display_namestring required

The display name of the service token

tokenstring nullable

The plaintext token. Available only after create.

plain_text_refresh_tokenstring nullable

The plaintext refresh token. Available only after create.

avatar_urlstring required

The image source for the avatar of the service token

created_atstring required

When the service token was created

updated_atstring required

When the service token was last updated

expires_atstring nullable required

When the service token will expire

last_used_atstring nullable required

When the service token was last used

actor_idstring nullable required

The ID of the actor on whose behalf the service token was created

actor_display_namestring nullable required

The name of the actor on whose behalf the service token was created

actor_typestring nullable required

The type of the actor on whose behalf the service token was created