Skip to main content
POST
/
v1
/
subaccount
/
Create Subaccount
curl --request POST \
  --url https://api.nedzo.ai/v1/subaccount/ \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: multipart/form-data' \
  --form 'name=<string>' \
  --form 'cal_auth_token=<string>' \
  --form 'description=<string>' \
  --form 'business_name=<string>' \
  --form 'city=<string>' \
  --form [email protected] \
  --form 'contact_name=<string>' \
  --form 'contact_phone=<string>' \
  --form 'country=<string>' \
  --form timezone=Pacific/Midway \
  --form 'ein=<string>' \
  --form is_limited=true \
  --form is_rebilled=true \
  --form 'state=<string>' \
  --form 'street_address=<string>' \
  --form 'zip=<string>' \
  --form icon='@example-file'
{
  "status_code": 123,
  "message": "<string>",
  "data": {
    "subaccount": {
      "name": "<string>",
      "cal_auth_token": "<string>",
      "description": "<string>",
      "business_name": "<string>",
      "city": "<string>",
      "contact_email": "<string>",
      "contact_name": "<string>",
      "contact_phone": "<string>",
      "country": "<string>",
      "timezone": "Pacific/Midway",
      "ein": "<string>",
      "is_limited": true,
      "is_rebilled": true,
      "state": "<string>",
      "street_address": "<string>",
      "zip": "<string>",
      "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "parent_account_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "rebilling_plan_id": 123,
      "rebilling_minutes_used": 123,
      "last_single_call": "2023-11-07T05:31:56Z",
      "min_balance": 123,
      "min_limit": 123,
      "min_reset_date": "2023-12-25",
      "min_used": 123
    },
    "api_key": "<string>"
  }
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

multipart/form-data
name
string
required

The name of the subaccount. This is required for identifying the subaccount.

icon
file | null
cal_auth_token
string | null

The authentication token used for integrating with Cal.com services, typically for calendar booking.

description
string | null

A brief description of the subaccount, explaining its purpose or specific features.

business_name
string | null

The registered or operational business name associated with the subaccount.

city
string | null

The city in which the business or subaccount is primarily located.

contact_email
string<email> | null

Primary email address for contacting the subaccount owner or administrator.

contact_name
string | null

Full name of the main contact person for the subaccount.

contact_phone
string | null

Phone number for reaching the subaccount’s point of contact.

country
string | null

Country where the subaccount is registered or operates.

timezone
enum<string> | null

Timezone in which the subaccount operates. Used for scheduling and calendar integrations. Timezone selection enum

Available options:
Pacific/Midway,
Pacific/Honolulu,
America/Juneau,
US/Alaska,
America/Dawson,
America/Los_Angeles,
America/Tijuana,
US/Arizona,
America/Bahia_Banderas,
America/Belize,
America/Boise,
America/Chihuahua,
America/Denver,
America/Edmonton,
America/Guatemala,
America/Managua,
America/Mexico_City,
America/Regina,
Canada/Saskatchewan,
US/Mountain,
America/Bogota,
America/Cancun,
America/Chicago,
US/Central,
America/Asuncion,
America/Caracas,
America/Detroit,
America/Indiana/Indian,
America/Louisville,
America/Manaus,
America/New_York,
America/Santiago,
America/Santo_Domingo,
America/Toronto,
US/East-Indiana,
US/Eastern,
America/Argentina/Buenos_Aires,
America/Glace_Bay,
America/Montevideo,
America/Sao_Paulo,
Canada/Atlantic,
America/St_Johns,
Canada/Newfoundland,
America/Noronha,
Etc/GMT+2,
America/Godthab,
Atlantic/Cape_Verde,
Atlantic/Azores,
UTC,
Africa/Algiers,
Africa/Casablanca,
Africa/Lagos,
Atlantic/Canary,
Europe/London,
Africa/Harare,
Europe/Amsterdam,
Europe/Belgrade,
Europe/Brussels,
Europe/Madrid,
Europe/Oslo,
Europe/Sarajevo,
Africa/Cairo,
Africa/Nairobi,
Asia/Amman,
Asia/Baghdad,
Asia/Jerusalem,
Asia/Kuwait,
Asia/Qatar,
Europe/Athens,
Europe/Bucharest,
Europe/Helsinki,
Europe/Moscow,
Asia/Tehran,
Asia/Baku,
Asia/Dubai,
Asia/Kabul,
Asia/Karachi,
Asia/Yekaterinburg,
Asia/Calcutta,
Asia/Colombo,
Asia/Kolkata,
Asia/Kathmandu,
Asia/Almaty,
Asia/Dhaka,
Asia/Rangoon,
Asia/Bangkok,
Asia/Krasnoyarsk,
Asia/Irkutsk,
Asia/Kuala_Lumpur,
Asia/Shanghai,
Asia/Taipei,
Australia/Perth,
Asia/Seoul,
Asia/Tokyo,
Asia/Yakutsk,
Australia/Adelaide,
Australia/Darwin,
Asia/Vladivostok,
Australia/Brisbane,
Australia/Canberra,
Australia/Hobart,
Australia/Sydney,
Pacific/Guam,
Asia/Magadan,
Pacific/Auckland,
Pacific/Fiji,
Pacific/Tongatapu
ein
string | null

Employer Identification Number (EIN) associated with the business, for tax or compliance purposes.

is_limited
boolean | null

Flag indicating whether the subaccount has restricted access or limited functionality.

is_rebilled
boolean | null

Indicates whether the subaccount is billed through a parent or reseller account.

state
string | null

State or province where the subaccount is located.

street_address
string | null

Street-level address of the subaccount’s business or operational location.

zip
string | null

ZIP or postal code for the subaccount’s address.

Response

Successful Response

status_code
integer
required
message
string
required
data
object | null