Adds calls list to the VoIP campaign

The schema defines the following properties:

apiCode (string, required)

The code used to authorize against VoIP provider API.

campaignId (string)

Identifier of the Autodialer campaign

calls (array)


Sub Schemas

The schema defines the following additional types:

phoneCall (object)

Adds calls list to the VoIP campaign

Properties of the phoneCall object:

######### callId (string, required)

Call identifier complient with UUID V4.

Additional restrictions:

######### to (string, required)

Target phone number.

######### accountId (string)

ID of account in CRM.

Example

{
    "apiCode": "QWERTASDRZXC",
    "campaignId": "123456",
    "calls": [
        {
            "to": "38099112233444",
            "callId": "f47ac10b-58cc-4372-a567-0e02b2c3d479",
            "accountId": "50c750cf-2650-45b2-9b1d-c33da6c36303"
        },
        {
            "to": "380555555555",
            "callId": "d47ac10a-58cc-4372-a567-0e02b2c3d479",
            "accountId": "5d1d1b5f-cf2c-4f57-aefd-878b1c606490"
        }
    ]
}