Skip to main content
POST
https://api.example.com
/
v1
/
organizations
/
{org_id}
/
users
curl -X POST https://api.example.com/v1/organizations/{org_id}/users \
  -H "X-API-Key: YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "name": "John Smith",
    "email": "[email protected]",
    "permission": "admin"
  }'
{
  "success": true,
  "user": {
    "unique_id": "1763072368418x263803518630956376",
    "name": "John Smith",
    "email": "[email protected]",
    "permission": "admin",
    "total_campaigns": 0,
    "total_agents": 0
  },
  "powered_by": "Teli"
}
Create a new user with specific permissions in an organization.

Authorizations

X-API-Key
string
required
Authentication header containing your API key.

Path

org_id
string
required
Organization unique_id

Body

name
string
required
User’s full name
email
string
required
User’s email address (must be unique)
permission
string
Permission level: admin or user. Default: user
curl -X POST https://api.example.com/v1/organizations/{org_id}/users \
  -H "X-API-Key: YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "name": "John Smith",
    "email": "[email protected]",
    "permission": "admin"
  }'
{
  "success": true,
  "user": {
    "unique_id": "1763072368418x263803518630956376",
    "name": "John Smith",
    "email": "[email protected]",
    "permission": "admin",
    "total_campaigns": 0,
    "total_agents": 0
  },
  "powered_by": "Teli"
}

Response

unique_id
string
User identifier
total_campaigns
number
Campaigns created by this user