Authentication
Overview
All Management API endpoints (except the test endpoint) require authentication using a Personal API Access Token. This token is used instead of username/password for API requests.
Obtaining a Token
There are two ways to obtain a Personal API Access Token:
- From Management Console (recommended for first-time setup)
- From Management API (for programmatic token creation)
Method 1: From Management Console
Log in to the Apinizer Management Console
Access the Management Console with your credentials.
Navigate to My Profile
Click on the Quick Menu (user icon) → My Profile.
Go to Personal API Access Tokens Section
Open the Personal API Access Tokens tab.
Generate a Token
Click Generate new token.
Fill in Token Details
Token Name: A descriptive name for your token
Expiration: Choose one of the options
30 Days,60 Daysor90 Days- The token expires after that many daysCustom- Choose a specific expiration dateNo Expiration- The token never expires. Prefer a limited lifetime for better security.
Generate and Copy the Token
Click Generate token and copy the token. You can also view or copy it later from the token list: the token is masked there, and the eye icon reveals it.
Method 2: From Management API
Endpoint
POST /apiops/auth/token
Request
Headers
| Header | Value |
|---|---|
| Content-Type | application/x-www-form-urlencoded |
| Accept | application/json |
Request Body (URL Encoded)
| Parameter | Value | Description |
|---|---|---|
| grant_type | client_credentials | OAuth2 grant type |
| client_id | {username} | Your Apinizer username |
| client_secret | {password} | Your Apinizer password |