JWT Refresh Tokens

Get Session JWT

Get Session JWT

get/api/cp/setup/jwt/session

Response

Successful response

idinteger

Id

user_idinteger

User Id

account_idinteger

Account Id

contentstring

Content

token_hashstring

Token Hash

jtistring

Jti

audiencestring

Audience

expires_atstring date-time

Expires At

created_atstring date-time nullable

Created At

revoked_atstring date-time nullable

Revoked At

device_infostring

Device Info

last_used_atstring date-time nullable

Last Used At

type'refresh' | 'access'

Type

Example response

{
  "id": 12345,
  "user_id": 1,
  "account_id": 1,
  "content": "Sample content text content",
  "token_hash": "example_token_hash",
  "jti": "example_jti",
  "audience": "example_audience",
  "expires_at": "2025-01-17T10:30:00Z",
  "created_at": "2025-01-17T10:30:00Z",
  "revoked_at": "2025-01-17T10:30:00Z",
  "device_info": "Sample device_info text content",
  "last_used_at": "2025-01-17T10:30:00Z",
  "type": "refresh"
}

Changes

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