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

URL:

https://wv{{wolkvox_server}}.wolkvox.com/api/v2/campaign.php?api=add_record&type_campaign=preview&campaign_id={{campaign_id}}&campaign_status={{campaign_status}}

Description:

This API allows you to insert records automatically and remotely or from external platforms, in an existing campaign in wolkvox manager.

Benefit:

This API is very useful when you have, for example, external forms to capture leads, when the user registers automatically the information will be sent to the campaign and the call or message will be sent as parameterized.

How it works:

NAMEDESCRIPTIONTYPE
customer_nameCustomer’s first nameString
customer_last_nameLast name of customerString
id_typeIdentification typeString
customer_idCustomer identification numberString
ageAgeString
genderGenderString
countryCountry of residenceString
stateState of residenceString
cityCity of residenceString
zoneArea of residenceString
addressResidence addressString
opt1Additional field #1 where you can enter additional information of the campaignString
opt2Additional field #2 where you can enter additional information of the campaignString
opt3Additional field #3 where you can enter additional information of the campaignString
opt4Additional field #4 where you can enter additional information of the campaignString
opt5Additional field #5 where you can enter additional information of the campaignString
opt6Additional field #6 where you can enter additional information of the campaignString
opt7Additional field #7 where you can enter additional information of the campaignString
opt8Additional field #8 where you can enter additional information of the campaignString
opt9Additional field #9 where you can enter additional information of the campaignString
opt10Additional field #10 where you can enter additional information of the campaignString
opt11Additional field #11 where you can enter additional information of the campaignString
opt12Additional field #12 where you can enter additional information of the campaignString
tel1First option of telephone numberString
tel2Second option of telephone numberString
tel3Third option of telephone numberString
agent_idThis field only appears when consulting preview type campaigns and refers to the extension number of each of the wolkvox users AgentString

RESPONSE

NAMEDESCRIPTIONTYPE
total_registersTotal de registros añadidosint

 

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_record&type_campaign=preview&campaign_id={{campaign_id}}&campaign_status={{campaign_status}}',
  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 => '[{
            "customer_name": " ",
            "customer_last_name": " ",
            "id_type": " ",
            "customer_id": " ",
            "age": " ",
            "gender": " ",
            "country": " ",
            "state": "",
            "city": "",
            "zone": "",
            "address": "",
            "opt1": "",
            "opt2": "",
            "opt3": "",
            "opt4": "",
            "opt5": "",
            "opt6": "",
            "opt7": "",
            "opt8": "",
            "opt9": "",
            "opt10": "",
            "opt11": "",
            "opt12": "",
            "tel1": " ",
            "tel2": "",
            "tel3": "",
            "agent_id": " "
    
}]',
  CURLOPT_HTTPHEADER => array(
    'wolkvox-token: {{token}}'
  ),
));

$response = curl_exec($curl);

curl_close($curl);
echo $response;
				
			

RESPONSE

				
					{
    "code": "201",
    "error": null,
    "msg": "All records has been added successfully",
    "data": [
        {
            "total_registers": " "
        }
    ]
}
				
			

URL:

https://wv{{wolkvox_server}}.wolkvox.com/api/v2/campaign.php?api=add_record&type_campaign=preview&campaign_id={{campaign_id}}&campaign_status={{campaign_status}}

Description:

This API allows you to insert records automatically and remotely or from external platforms, in an existing campaign in wolkvox manager.

Benefit:

This API is very useful when you have, for example, external forms to capture leads, when the user registers automatically the information will be sent to the campaign and the call or message will be sent as parameterized.

How it works:

NAMEDESCRIPTIONTYPE
customer_nameCustomer’s first nameString
customer_last_nameLast name of customerString
id_typeIdentification typeString
customer_idCustomer identification numberString
ageAgeString
genderGenderString
countryCountry of residenceString
stateState of residenceString
cityCity of residenceString
zoneArea of residenceString
addressResidence addressString
opt1Additional field #1 where you can enter additional information of the campaignString
opt2Additional field #2 where you can enter additional information of the campaignString
opt3Additional field #3 where you can enter additional information of the campaignString
opt4Additional field #4 where you can enter additional information of the campaignString
opt5Additional field #5 where you can enter additional information of the campaignString
opt6Additional field #6 where you can enter additional information of the campaignString
opt7Additional field #7 where you can enter additional information of the campaignString
opt8Additional field #8 where you can enter additional information of the campaignString
opt9Additional field #9 where you can enter additional information of the campaignString
opt10Additional field #10 where you can enter additional information of the campaignString
opt11Additional field #11 where you can enter additional information of the campaignString
opt12Additional field #12 where you can enter additional information of the campaignString
tel1First option of telephone numberString
tel2Second option of telephone numberString
tel3Third option of telephone numberString
agent_idThis field only appears when consulting preview type campaigns and refers to the extension number of each of the wolkvox users AgentString

NAMEDESCRIPTIONTYPE
total_registersTotal de registros añadidosint

 

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_record&type_campaign=preview&campaign_id={{campaign_id}}&campaign_status={{campaign_status}}',
  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 => '[{
            "customer_name": " ",
            "customer_last_name": " ",
            "id_type": " ",
            "customer_id": " ",
            "age": " ",
            "gender": " ",
            "country": " ",
            "state": "",
            "city": "",
            "zone": "",
            "address": "",
            "opt1": "",
            "opt2": "",
            "opt3": "",
            "opt4": "",
            "opt5": "",
            "opt6": "",
            "opt7": "",
            "opt8": "",
            "opt9": "",
            "opt10": "",
            "opt11": "",
            "opt12": "",
            "tel1": " ",
            "tel2": "",
            "tel3": "",
            "agent_id": " "
    
}]',
  CURLOPT_HTTPHEADER => array(
    'wolkvox-token: {{token}}'
  ),
));

$response = curl_exec($curl);

curl_close($curl);
echo $response;
				
			

RESPONSE

				
					{
    "code": "201",
    "error": null,
    "msg": "All records has been added successfully",
    "data": [
        {
            "total_registers": " "
        }
    ]
}
				
			

URL:

https://wv{{wolkvox_server}}.wolkvox.com/api/v2/campaign.php?api=add_record&type_campaign=preview&campaign_id={{campaign_id}}&campaign_status={{campaign_status}}

Description:

This API allows you to insert records automatically and remotely or from external platforms, in an existing campaign in wolkvox manager.

Benefit:

This API is very useful when you have, for example, external forms to capture leads, when the user registers automatically the information will be sent to the campaign and the call or message will be sent as parameterized.

How it works:

NAMEDESCRIPTIONTYPE
customer_nameCustomer’s first nameString
customer_last_nameLast name of customerString
id_typeIdentification typeString
customer_idCustomer identification numberString
ageAgeString
genderGenderString
countryCountry of residenceString
stateState of residenceString
cityCity of residenceString
zoneArea of residenceString
addressResidence addressString
opt1Additional field #1 where you can enter additional information of the campaignString
opt2Additional field #2 where you can enter additional information of the campaignString
opt3Additional field #3 where you can enter additional information of the campaignString
opt4Additional field #4 where you can enter additional information of the campaignString
opt5Additional field #5 where you can enter additional information of the campaignString
opt6Additional field #6 where you can enter additional information of the campaignString
opt7Additional field #7 where you can enter additional information of the campaignString
opt8Additional field #8 where you can enter additional information of the campaignString
opt9Additional field #9 where you can enter additional information of the campaignString
opt10Additional field #10 where you can enter additional information of the campaignString
opt11Additional field #11 where you can enter additional information of the campaignString
opt12Additional field #12 where you can enter additional information of the campaignString
tel1First option of telephone numberString
tel2Second option of telephone numberString
tel3Third option of telephone numberString
agent_idThis field only appears when consulting preview type campaigns and refers to the extension number of each of the wolkvox users AgentString

NAMEDESCRIPTIONTYPE
total_registersTotal de registros añadidosint

 

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_record&type_campaign=preview&campaign_id={{campaign_id}}&campaign_status={{campaign_status}}',
  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 => '[{
            "customer_name": " ",
            "customer_last_name": " ",
            "id_type": " ",
            "customer_id": " ",
            "age": " ",
            "gender": " ",
            "country": " ",
            "state": "",
            "city": "",
            "zone": "",
            "address": "",
            "opt1": "",
            "opt2": "",
            "opt3": "",
            "opt4": "",
            "opt5": "",
            "opt6": "",
            "opt7": "",
            "opt8": "",
            "opt9": "",
            "opt10": "",
            "opt11": "",
            "opt12": "",
            "tel1": " ",
            "tel2": "",
            "tel3": "",
            "agent_id": " "
    
}]',
  CURLOPT_HTTPHEADER => array(
    'wolkvox-token: {{token}}'
  ),
));

$response = curl_exec($curl);

curl_close($curl);
echo $response;
				
			

RESPONSE

				
					{
    "code": "201",
    "error": null,
    "msg": "All records has been added successfully",
    "data": [
        {
            "total_registers": " "
        }
    ]
}
				
			

< / >

APIs Campaign

2.2 Inserting records in the campaign (preview)

URL:

https://wv{{wolkvox_server}}.wolkvox.com/api/v2/campaign.php?api=add_record&type_campaign=preview&campaign_id={{campaign_id}}&campaign_status={{campaign_status}}

Description:

This API allows you to insert records automatically and remotely or from external platforms, in an existing campaign in wolkvox manager.

Benefit:

This API is very useful when you have, for example, external forms to capture leads, when the user registers automatically the information will be sent to the campaign and the call or message will be sent as parameterized.

How it works:

  • The consumption of this API is done by POST method.
  • In the json the parameters are added 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 {{type_campaign}} field is replaced by the campaign type.
  • The {{campaign_id}} is replaced by the campaign ID number.
  • The {{campaign_status}} field must be replaced by the current status of the campaign.
  • The wolkvox-token header must be used to make use of the authorization token.
  • Note that the same token cannot be consumed simultaneously, so you can schedule the next API to be consumed when the result of the previous one is successful.
NAMEDESCRIPTIONTYPE
customer_nameCustomer’s first nameString
customer_last_nameLast name of customerString
id_typeIdentification typeString
customer_idCustomer identification numberString
ageAgeString
genderGenderString
countryCountry of residenceString
stateState of residenceString
cityCity of residenceString
zoneArea of residenceString
addressResidence addressString
opt1Additional field #1 where you can enter additional information of the campaignString
opt2Additional field #2 where you can enter additional information of the campaignString
opt3Additional field #3 where you can enter additional information of the campaignString
opt4Additional field #4 where you can enter additional information of the campaignString
opt5Additional field #5 where you can enter additional information of the campaignString
opt6Additional field #6 where you can enter additional information of the campaignString
opt7Additional field #7 where you can enter additional information of the campaignString
opt8Additional field #8 where you can enter additional information of the campaignString
opt9Additional field #9 where you can enter additional information of the campaignString
opt10Additional field #10 where you can enter additional information of the campaignString
opt11Additional field #11 where you can enter additional information of the campaignString
opt12Additional field #12 where you can enter additional information of the campaignString
tel1First option of telephone numberString
tel2Second option of telephone numberString
tel3Third option of telephone numberString
agent_idThis field only appears when consulting preview type campaigns and refers to the extension number of each of the wolkvox users AgentString

NAMEDESCRIPTIONTYPE
total_registersTotal de registros añadidosint

 

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_record&type_campaign=preview&campaign_id={{campaign_id}}&campaign_status={{campaign_status}}',
  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 => '[{
            "customer_name": " ",
            "customer_last_name": " ",
            "id_type": " ",
            "customer_id": " ",
            "age": " ",
            "gender": " ",
            "country": " ",
            "state": "",
            "city": "",
            "zone": "",
            "address": "",
            "opt1": "",
            "opt2": "",
            "opt3": "",
            "opt4": "",
            "opt5": "",
            "opt6": "",
            "opt7": "",
            "opt8": "",
            "opt9": "",
            "opt10": "",
            "opt11": "",
            "opt12": "",
            "tel1": " ",
            "tel2": "",
            "tel3": "",
            "agent_id": " "
    
}]',
  CURLOPT_HTTPHEADER => array(
    'wolkvox-token: {{token}}'
  ),
));

$response = curl_exec($curl);

curl_close($curl);
echo $response;
				
			

RESPONSE

				
					{
    "code": "201",
    "error": null,
    "msg": "All records has been added successfully",
    "data": [
        {
            "total_registers": " "
        }
    ]
}
				
			
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