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

Roles and API Access

Every authenticated user has a role that determines which API operations they can perform. The role is included in the login response and enforced on every API request.

User Roles#

RoleDescription
AdminFull access — manage users, groups, webhooks, and all platform resources
StandardWrite access to operational resources (campaigns, calls, phone numbers, etc.) but cannot manage platform configuration
ReadOnlyView-only access — can retrieve data but cannot create, update, or delete anything

Identifying Your Role#

Your role is returned in the login response under the user object:
{
  "code": 200,
  "message": "Login successful",
  "data": {
    "access_token": "...",
    "user": {
      "user_id": 4453,
      "email": "user@example.com",
      "role_id": 1,
      "org_unit_id": 70035
    }
  }
}
role_idRole
1Admin
2Standard
3ReadOnly

API Access Matrix#

Authentication#

No role restriction — all authenticated users can call these endpoints.
EndpointMethodAdminStandardReadOnly
/oauth/tokenPOST✓✓✓
/oauth/refresh-tokenPOST✓✓✓
/oauth/revoke-tokenPOST✓✓✓

Groups#

Admin only — organization hierarchy is a platform configuration resource.
OperationMethodAdminStandardReadOnly
List org unitsGET✓——
Get group treeGET✓——
List groups by parentGET✓——
Get group detailsGET✓——
Create groupPOST✓——
Update groupPUT✓——
Partial update groupPATCH✓——
Delete groupDELETE✓——

Users#

Admin only — user management is a platform configuration resource.
OperationMethodAdminStandardReadOnly
List usersGET✓——
Get user detailsGET✓——
Create userPOST✓——
Update userPUT✓——
Partial update userPATCH✓——
Delete userDELETE✓——

Webhooks#

Admin only — webhook subscriptions are a platform configuration resource.
OperationMethodAdminStandardReadOnly
List webhooksGET✓——
Get webhook detailsGET✓——
Create webhookPOST✓——
Update webhookPUT✓——
Partial update webhookPATCH✓——
Delete webhookDELETE✓——

AI Voice Agents#

OperationMethodAdminStandardReadOnly
List AI agentsGET✓✓✓
Get AI agent detailsGET✓✓✓
Create AI agentPOST✓✓—
Update AI agentPUT✓✓—
Partial update AI agentPATCH✓✓—
Delete AI agentDELETE✓✓—

SMS Broadcasts#

OperationMethodAdminStandardReadOnly
List broadcastsGET✓✓✓
Get broadcast detailsGET✓✓✓
Create broadcastPOST✓✓—
Update broadcastPUT✓✓—
Partial update broadcastPATCH✓✓—
Delete broadcastDELETE✓✓—

Phone Numbers#

OperationMethodAdminStandardReadOnly
Search available numbersGET✓✓✓
List assigned numbersGET✓✓✓
List provisioned numbersGET✓✓✓
Order a numberPOST✓✓—
Release a numberDELETE✓✓—

Provisioned Routes#

OperationMethodAdminStandardReadOnly
List provisioned routesGET✓✓✓
Get route detailsGET✓✓✓
Create routePOST✓✓—
Update routePUT✓✓—
Partial update routePATCH✓✓—
Delete routeDELETE✓✓—

Call Flow Recording#

OperationMethodAdminStandardReadOnly
List call flow recordingsGET✓✓✓
Get recording detailsGET✓✓✓
Upload recordingPOST✓✓—
Update recordingPUT✓✓—
Delete recordingDELETE✓✓—

Conversations (Calls & SMS)#

No role restriction beyond authentication — all authenticated users can view conversation data.
OperationMethodAdminStandardReadOnly
List callsGET✓✓✓
Get call detailsGET✓✓✓
List SMS conversationsGET✓✓✓

Miscellaneous#

OperationMethodAdminStandardReadOnly
List industriesGET✓✓✓
List ad sourcesGET✓✓✓
List tagsGET✓✓✓
Create tagPOST✓✓—
Delete tagDELETE✓✓—

Access Denied Response#

When a request is made with insufficient role permissions, the API returns:
HTTP 403 Forbidden
{
  "statusCode": 403,
  "message": "Access denied. Required roles: Admin. Your role: Standard",
  "error": "Forbidden"
}

Summary#

RolePlatform Config (Groups, Users, Webhooks)Operational Resources (Agents, SMS, Routes, etc.)Read-Only Resources (Calls, Miscellaneous)
Admin✓ Full access✓ Full access✓ Full access
Standard— No access✓ Full access✓ Full access
ReadOnly— No accessRead only (GET)✓ Full access
Modified at 2026-04-06 07:23:41
Previous
Authentication
Next
API Categories
Built with