Generates a JWT token, requiring the API key and API secret. The JWT token is valid for 30 minutes. If the token expires, you will need to generate a new one. Each subsequent API request will require an Authorization token in the header.
If you are a new customer and do not have an API key and secret, please contact Emile Davidson at emile@crymbo.com. For existing customers, please contact your assigned account manager.
JWT Token successfully generated.
Bad Request - Invalid API Key or Secret.
Unauthorized - Invalid or missing API Key/Secret.
{- "api_key": "your-api-key",
- "api_secret": "your-api-secret",
- "username": "user123"
}
{- "iss": "<string>",
- "iat": 543823,
- "exp": 113987,
- "type": "Bearer",
- "token": "<token>"
}
Validates the provided JWT token to ensure it is authentic and not expired. The Authorization header should contain the JWT token.
The JWT token is valid.
Unauthorized - Invalid or expired JWT token.
Forbidden - Insufficient permissions to access the resource.
Internal Server Error - Unexpected issue occurred.
{- "message": "Valid JWT Token",
- "valid": true
}