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

< / >

APIs Campaign

8. Delete record En

URL: https://wv{{wolkvox_server}}.wolkvox.com/api/v2/campaign.php?api=remove_record&type_campaign={{type_campaign}}&campaign_id={{campaign_id}} Description: This API allows you to delete a record from the database of a predictive campaign, from an external platform. Benefit: This feature is useful when you have a campaign running but the customer contacts you through another channel. How it works:
  • The consumption of this API is done by DELETE 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 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.
REQUEST
NAME DESCRIPTION TYPE
type_campaign (URL) Phone to add String
campaign_id (URL) Days for which the number will be blocked String
customer_id Refers to the numerical identification of the customer. String
RESPONSE
NAME DESCRIPTION TYPE
code Response code int
error Error String
msg Description of the response String
Posibles códigos de respuesta

RESPONSE

				
					{
    "code": 202,
    "error": null,
    "msg": "customer_id xxxxxxxxxx has been deleted successfully"
}
				
			

Hacemos uso de cookies, si continúas navegando asumiremos que estás de acuerdo. Puede leer más sobre el uso de cookies en nuestras políticas de privacidad y tratamiento de datos personales

Hacemos uso de cookies, si continúas navegando asumiremos que estás de acuerdo. Puede leer más sobre el uso de cookies en nuestras políticas de privacidad y tratamiento de datos personales