Skip to main content

Overview

Use this endpoint to confirm a token is still valid (scope + expiry) before making other requests. Helpful for long-running background jobs.

Request

curl -X POST "{{ACCOUNT_URL}}/v1/ext/jwt/verify" \
  -H "Authorization: Bearer {{accessToken}}" \
  -H "Content-Type: application/json" \
  -d '{}'

Response (200)

{
  "business": {
    "id": "6d7d5a98-15bf-4341-aa68-d1f6fccd47e2",
    "slug": "Fairpuny 02",
    "description": null
  },
  "validation": {
    "scope": "apigateway/authorization",
    "exp": 1706140980406,
    "iat": 1706137380406
  }
}

Notes

  • exp/iat are Unix timestamps (ms).
  • If the token is expired, re-run Generate Access Token.