UTMStack uses JWT (JSON Web Token) authentication for API access. Obtain a token by authenticating with your credentials, then include the token in subsequent requests.Documentation Index
Fetch the complete documentation index at: https://mintlify.com/utmstack/UTMStack/llms.txt
Use this file to discover all available pages before exploring further.
Authenticate
Authenticate with username and password to receive a JWT token.Request Body
User’s login name
User’s password
Whether to create a long-lived token
Response
JWT authentication token
Whether authentication was successful
Two-factor authentication method (if configured)
Whether two-factor authentication is configured
Whether TFA is required for this login
TFA challenge expiration time in seconds
Whether this is the user’s first login
Using the Token
Include the JWT token in theAuthorization header of subsequent requests:
Example Authenticated Request
cURL
Check Authentication Status
Check if the current user is authenticated.Response
Returns the username if authenticated, or 401 status if not authenticated.Get Current Account
Get the current authenticated user’s account information.Response
User ID
Username
User’s first name
User’s last name
User’s email address
List of user roles/permissions
Token Expiration
Tokens expire after a set period:- Standard tokens: 24 hours
- Remember me tokens: 30 days