Skip to main content

Endpoint

  • Method: POST
  • URL: {{ACCOUNT_URL}}/v1/ext/jwt/verify
  • Auth: Bearer {{accessToken}}
  • Body: {} (empty)

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

  • Use this to confirm a token is still valid before calling other endpoints.
  • exp/iat are Unix timestamps (ms).