Getting Started
Authentication
Authentication
  • V2 Authentication (Deprecated)
  • V3 Authentication
V2 API Documentation (Deprecated)V3 API DocumentationDialer SDKMCP
Getting Started
Authentication
Authentication
  • V2 Authentication (Deprecated)
  • V3 Authentication
V2 API Documentation (Deprecated)V3 API DocumentationDialer SDKMCP
  1. Getting Started
  • Getting Started
  • Choosing the Right API Version
  • Architecture
  • Quick Start
  • Authentication
  • Roles and API Access
  • Rate Limits
  • API Categories
  • API Endpoints Reference
  • Making Your First API Call
  • Working with Encrypted Tokens
  • Code Examples
  • Error Handling
  • Best Practices
  • Troubleshooting
  • Support
  • Recipes
  1. Getting Started

Quick Start

Step 1: Get Your Credentials#

Obtain your API credentials from the Convirza portal:
API Key — identifies your integration
API Secret — authenticates your integration
Organization ID (org_unit_id) — for filtering data by organization
Create the API key and secret in the Convirza portal under Manage → API Access. You exchange them for tokens, so your email and password are never sent. Give each integration its own key: you can then revoke one integration's access without affecting the others or changing your password.

Step 2: Obtain Access Token#

Make a POST request to the OAuth service to get your access token:
Response:
{
  "code": 200,
  "message": "Token generated successfully",
  "data": {
    "access_token": "your-access-token",
    "refresh_token": "your-refresh-token",
    "token_type": "Bearer",
    "expires_in": 604800,
    "refresh_expire": "2026-05-03T12:00:00.000Z"
  },
  "request_id": "...",
  "timestamp": "..."
}
expires_in is how long the access token lasts, in seconds (7 days). refresh_expire is when the refresh token expires, as an ISO 8601 UTC timestamp. Each call returns a separate token pair, so several integrations can hold tokens at the same time.

Step 3: Make API Calls#

Use the access token to make requests to the Public APIs:

Step 4: Refresh Token When Expired#

When your access token expires (after 7 days), use the refresh token to get a new token pair:
The response data contains a new access_token, refresh_token, token_type, expire and refresh_expire (both ISO 8601 timestamps).
Each refresh token works once and lasts 30 days (less if your API key expires sooner). A refresh returns a new pair, and the old access and refresh tokens stop working straight away, so always save the new ones.
If a refresh is rejected with 401, get a new pair from POST /oauth/token/client-credentials. Troubleshooting lists the reasons a refresh token stops working.
Modified at 2026-11-26 12:44:39
Previous
Architecture
Next
Authentication
Built with