fbpx
Search
Close this search box.
Search
Close this search box.

URL:

https://wv{{wolkvox_server}}.wolkvox.com/api/v2/campaign.php?api=add_dnc

Description:

Esta API permite ingresar uno o multiples numeros DNC (Do Not Call) inbound o outbond a la base de datos.

Benefit:

Manage, without the need to reupload the database, the information of customers, collaborators and suppliers of your database to determine massively the records that will be blocked.

how it works:

REQUEST

NAMEDESCRIPTIONTYPE
telephonePhone to addString
days_blockDays the number will be blockedString

RESPONSE

NAMEDESCRIPTIONTYPE
total_addedTotal additionsString
total_rejectedTotal rejectedString
total_sentTotal number of telephones sentString

Possible response codes
				
					$curl = curl_init();

curl_setopt_array($curl, array(
  CURLOPT_URL => 'https://wv{{wolkvox_server}}.wolkvox.com/api/v2/campaign.php?api=add_dnc',
  CURLOPT_RETURNTRANSFER => true,
  CURLOPT_ENCODING => '',
  CURLOPT_MAXREDIRS => 10,
  CURLOPT_TIMEOUT => 0,
  CURLOPT_FOLLOWLOCATION => true,
  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
  CURLOPT_CUSTOMREQUEST => 'POST',
  CURLOPT_POSTFIELDS =>'[
        {
            "telephone": "9319xxxxxxx",
            "days_block": "15"
        },
        {
            "telephone": "9319xxxxxxx",
            "days_block": "30"
        }
]',
  CURLOPT_HTTPHEADER => array(
    'wolkvox-token: {{token}}',
    'Content-Type: application/json'
  ),
));

$response = curl_exec($curl);

curl_close($curl);
echo $response;
				
			

RESPONSE

				
					{
    "code": 201,
    "error": null,
    "msg": "1 telephones were added",
    "data": [
        {
            "total_added": "",
            "total_rejected": "",
            "total_sent": ""
        }
    ]
}
				
			

URL:

https://wv{{wolkvox_server}}.wolkvox.com/api/v2/campaign.php?api=add_dnc

Description:

Esta API permite ingresar uno o multiples numeros DNC (Do Not Call) inbound o outbond a la base de datos.

Benefit:

Manage, without the need to reupload the database, the information of customers, collaborators and suppliers of your database to determine massively the records that will be blocked.

how it works:

NAMEDESCRIPTIONTYPE
telephonePhone to addString
days_blockDays the number will be blockedString

NAMEDESCRIPTIONTYPE
total_addedTotal additionsString
total_rejectedTotal rejectedString
total_sentTotal number of telephones sentString

Possible response codes
				
					$curl = curl_init();

curl_setopt_array($curl, array(
  CURLOPT_URL => 'https://wv{{wolkvox_server}}.wolkvox.com/api/v2/campaign.php?api=add_dnc',
  CURLOPT_RETURNTRANSFER => true,
  CURLOPT_ENCODING => '',
  CURLOPT_MAXREDIRS => 10,
  CURLOPT_TIMEOUT => 0,
  CURLOPT_FOLLOWLOCATION => true,
  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
  CURLOPT_CUSTOMREQUEST => 'POST',
  CURLOPT_POSTFIELDS =>'[
        {
            "telephone": "9319xxxxxxx",
            "days_block": "15"
        },
        {
            "telephone": "9319xxxxxxx",
            "days_block": "30"
        }
]',
  CURLOPT_HTTPHEADER => array(
    'wolkvox-token: {{token}}',
    'Content-Type: application/json'
  ),
));

$response = curl_exec($curl);

curl_close($curl);
echo $response;
				
			

RESPONSE

				
					{
    "code": 201,
    "error": null,
    "msg": "1 telephones were added",
    "data": [
        {
            "total_added": "",
            "total_rejected": "",
            "total_sent": ""
        }
    ]
}
				
			

< / >

APIs Campaign

1. Enter a DNC En

URL:

https://wv{{wolkvox_server}}.wolkvox.com/api/v2/campaign.php?api=add_dnc

Description:

Esta API permite ingresar uno o multiples numeros DNC (Do Not Call) inbound o outbond a la base de datos.

Benefit:

Manage, without the need to reupload the database, the information of customers, collaborators and suppliers of your database to determine massively the records that will be blocked.

how it works:

  • Consuming this API is done by POST method.
  • The json adds the parameters according to the operation or process to be performed.
  • To consume this API you must replace in the url {{wolkvox_server}} by the nomenclature of the server of the operation.
  • The wolkvoxtoken header must be used to use the authorization token.
  • Keep in mind that the same token cannot be consumed simultaneously, so you can program the next API to be consumed when the result of the previous one is successful.

NAMEDESCRIPTIONTYPE
telephonePhone to addString
days_blockDays the number will be blockedString

NAMEDESCRIPTIONTYPE
total_addedTotal additionsString
total_rejectedTotal rejectedString
total_sentTotal number of telephones sentString

Possible response codes
				
					$curl = curl_init();

curl_setopt_array($curl, array(
  CURLOPT_URL => 'https://wv{{wolkvox_server}}.wolkvox.com/api/v2/campaign.php?api=add_dnc',
  CURLOPT_RETURNTRANSFER => true,
  CURLOPT_ENCODING => '',
  CURLOPT_MAXREDIRS => 10,
  CURLOPT_TIMEOUT => 0,
  CURLOPT_FOLLOWLOCATION => true,
  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
  CURLOPT_CUSTOMREQUEST => 'POST',
  CURLOPT_POSTFIELDS =>'[
        {
            "telephone": "9319xxxxxxx",
            "days_block": "15"
        },
        {
            "telephone": "9319xxxxxxx",
            "days_block": "30"
        }
]',
  CURLOPT_HTTPHEADER => array(
    'wolkvox-token: {{token}}',
    'Content-Type: application/json'
  ),
));

$response = curl_exec($curl);

curl_close($curl);
echo $response;
				
			

RESPONSE

				
					{
    "code": 201,
    "error": null,
    "msg": "1 telephones were added",
    "data": [
        {
            "total_added": "",
            "total_rejected": "",
            "total_sent": ""
        }
    ]
}
				
			
We use cookies, if you continue browsing we will assume that you agree. You can read more about the use of cookies in our privacy policies and treatment of personal data