Get Access Token Type

get/api/v2/internal/accesstoken/{accessTokenId}/type

Returns whether an access token is long-lived or short-lived.

Path Parameters

  • accessTokenIdstringRequired
    The access token ID
    Example: 59cd72485007a239fb00282ed480da1f
    Pattern: ^[0-9a-f]{24}$

200 Response

tokenType string required
Allowed values: long_lived short_lived

400 Response

name string
Error code
context object required
Properties that apply to a specific error name
error string required
Human-readable error message
requestId string required
Client request id

404 Response

name string
Error code
context object required
Properties that apply to a specific error name
error string required
Human-readable error message
requestId string required
Client request id