Adds numbers to an outbound calling campaign
| Method |
create.auto_call_campaign_phone_numbers |
| Description |
Adds numbers to an outbound calling campaign |
| Available to |
Agent, Client |
Request parameters
| Name |
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 outbound calling campaign identifier |
phone_numbers |
array of string |
yes |
List of subscriber numbers |
JSON request structure
{
"jsonrpc": "2.0",
"id": "number",
"method": "create.auto_call_campaign_phone_numbers",
"params": {
"access_token": "string",
"user_id": "number",
"campaign_id": "number",
"phone_numbers": ["string"]
}
}
JSON response structure
{
"jsonrpc": "2.0",
"id": "number",
"result": {
"success": true
}
}
List of returned errors
See the section "List of errors for methods with the verb create"