Skip to content

Removing numbers from an outbound calling campaign

Method delete.auto_call_campaign_phone_numbers
Description Removing numbers from an outbound calling campaign
Available to Agent, Client

Request parameters

Title Type Required Description
access_token string yes Authentication session key
user_id number no Unique user identifier of the agent client on behalf of which the request is made
Is required for the agent
campaign_id number yes Unique identifier for outbound calling campaign
phone_numbers array of string yes List of subscriber numbers
It is impossible to delete numbers that are in statuses:
-successfully_processed
-processed_outside_campaign
-deleted
These numbers already have final processing status and cannot be changed.

JSON request structure```json

{ "jsonrpc": "2.0", "id": "number", "method": "delete.auto_call_campaign_phone_numbers", "params": { "access_token": "string", "user_id": "number", "campaign_id": "number", "phone_numbers": ["string"] } }

### JSON response structure```json
{
  "jsonrpc": "2.0",
  "id": "number",
  "result": {
    "success": true
  }
}

See the section "List of errors for methods with the verb delete"