JWT Refresh Tokens

Get Session JWT

get/api/cp/setup/jwt/session

Request

  • Base URL
    https://app.connexcs.com
  • Auth
    • OAuth 2
      Authorization code: https://auth.connexcs.com/authorize
      Token URL: https://auth.connexcs.com/token
    • or HTTP bearer

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

    • info

      the endpoint scheme security oAuth2 was added to the API

    • info

      the endpoint scheme security opaqueToken was added to the API

    • info

      the endpoint scheme security basicAuth was removed from the API