Skip to main content
GET
/
v1
/
core
/
oauth
/
apps
/
{clientId}
/
access-token
/
{tokenId}
Get a specific OAuth access token by id.
curl --request GET \
  --url https://api.example.com/v1/core/oauth/apps/{clientId}/access-token/{tokenId} \
  --header 'Authorization: Bearer <token>'
{
  "data": {
    "accessTokenId": "<string>",
    "oAuthAppId": "<string>",
    "userId": "<string>",
    "audience": "<string>",
    "subject": "<string>",
    "scope": "read",
    "expiresAt": "2023-11-07T05:31:56Z",
    "createdAt": "2023-11-07T05:31:56Z",
    "updatedAt": "2023-11-07T05:31:56Z",
    "revokedAt": "2023-11-07T05:31:56Z"
  },
  "cursor": "<string>",
  "pageSize": 123,
  "limit": 123,
  "total": 123,
  "hasNextPage": true
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

clientId
string
required
tokenId
string
required

Response

Get a specific OAuth access token by id.

data
object
required
cursor
pageSize
number
limit
number
total
number | null
hasNextPage
boolean