Verify Token
Overview Verifies that the current client token (if provided) is valid for the NIZU Cloud API and returns token status along with the associated account identifier. URL & Method - Method: **
Overview
Verifies that the current client token (if provided) is valid for the NIZU Cloud API and returns token status along with the associated account identifier.
URL & Method
- Method: **GET**
- URL: **https://api.nizu.io/v2/**
- Body: **None**
Variables
- {{client_token}} (mandatory): Token to validate. Used for authentication when configured in the workspace.
Authentication
- This request can optionally include {{client_token}} for authentication if applicable in your environment or inherited auth. If not configured, the endpoint may still respond depending on server settings.
Success Response
- Status: 200 OK
- JSON structure:
{
"success": boolean,
"data": {
"token": boolean, // true if the provided/active token is valid
"account_id": string // identifier of the account associated with the token}
}
- Example (from latest run):
{
"success": true,
"data": {
"token": true,
"account_id": "5"}
}
Error Handling
- 400/422: Malformed request or missing/incorrect parameters.
- 401/403: Authentication failed or token is invalid/expired (ensure {{client_token}} is present and correct if required by your environment/collection settings).
- 404: Base URL incorrect or endpoint not found (verify {{base_url}}).
- 5xx: Server-side error.
Notes
- This request resides in the collection "NIZU Cloud API Client v.3.9.0" and within a folder.
- No pre-request or post-response scripts are configured for this request.
- Use the Collection Runner or Monitors if you need to validate token status on a schedule.