API REFERENCE

Phone Numbers

Manage your phone numbers, which would be used for calling campaigns.

Use shared phone numbers for quick experiments, order a dedicated line directly from Call Camp Studio or register your owned number from external telephony provider.

List all phone numbers

GEThttp://callcamp.ai/api/phones

Returns a list of all phone numbers registered in your account. You can filter by status or search for specific numbers.

Query Parameters

ParameterTypeDescription
search stringSearch by phone number, name, or provider.
status enumFilter by status: registered, pending, active, inactive.
type enumFilter by type: private, shared, ordered.
page numberPage number for pagination.
limit numberItems per page (max 100).

Responses

JSON
{
  "phones": [
    {
      "uuid": "9z8y7x6w-5v4u-3t2s-1r0q-9p8o7n6m5l4k",
      "name": "Main Office Line",
      "number": "+16054440129",
      "type": "private",
      "countryCode": "US",
      "provider": "vapi",
      "status": "active",
      "smsEnabled": false,
      "createdAt": "2026-01-10T12:00:00Z",
      "updatedAt": "2026-04-20T15:30:00Z"
    }
  ],
  "total": 1,
  "page": 1,
  "limit": 10,
  "totalPages": 1
}

Register phone number

POSThttp://callcamp.ai/api/phones

Registers a new phone number to your account. This can be a number you already own from an external provider, or a new line you wish to initialize within Call Camp.

Body Parameters

FieldTypeDescription
number *stringThe E.164 formatted phone number.
name stringDisplay name for the phone number.
countryCode stringISO country code (e.g., US, GB).
provider stringExternal provider name.
referenceId stringUnique identifier from the provider.
type enumPhone type: private, shared, ordered.

Responses

JSON
{
  "uuid": "9z8y7x6w-5v4u-3t2s-1r0q-9p8o7n6m5l4k",
  "name": "Main Office Line",
  "number": "+16054440129",
  "type": "private",
  "countryCode": "US",
  "provider": "vapi",
  "status": "active",
  "smsEnabled": false,
  "createdAt": "2026-01-10T12:00:00Z",
  "updatedAt": "2026-04-20T15:30:00Z"
}

Get a phone number

GEThttp://callcamp.ai/api/phones/{uuid}

Retrieves detailed information about a specific phone number, including its provider data and current assignment.

Responses

JSON
{
  "uuid": "9z8y7x6w-5v4u-3t2s-1r0q-9p8o7n6m5l4k",
  "name": "Main Office Line",
  "number": "+16054440129",
  "type": "private",
  "countryCode": "US",
  "provider": "vapi",
  "status": "active",
  "smsEnabled": false,
  "createdAt": "2026-01-10T12:00:00Z",
  "updatedAt": "2026-04-20T15:30:00Z"
}

Update a phone number

PATCHhttp://callcamp.ai/api/phones/{uuid}

Updates the configuration of a phone number, such as its display name or internal tags.

Body Parameters

FieldTypeDescription
name stringDisplay name for the phone number.
status enumUpdate number status.
type enumUpdate phone type.

Responses

JSON
{
  "uuid": "9z8y7x6w-5v4u-3t2s-1r0q-9p8o7n6m5l4k",
  "name": "Main Office Line",
  "number": "+16054440129",
  "type": "private",
  "countryCode": "US",
  "provider": "vapi",
  "status": "active",
  "smsEnabled": false,
  "createdAt": "2026-01-10T12:00:00Z",
  "updatedAt": "2026-04-20T15:30:00Z"
}

Delete a phone number

DELETEhttp://callcamp.ai/api/phones/{uuid}

Removes a phone number from your account. This will also unassign it from any active campaigns.

Responses

JSON
{
  "success": true,
  "message": "Phone number deleted successfully"
}