URL:
https://wv{{wolkvox_server}}.wolkvox.com/api/v2/campaign.php?api=speed&type_campaign={{type_campaign}}&campaign_id={{campaign_id}}
Description:
With this API it is possible to parameterize the speed of a campaign from an external application.
Benefit:
In case of creating a campaign from an external application also parameterize the speed of that campaign with this API. It is also possible to use this API depending on the result of the campaigns you have the need to increase or decrease the speed.
How it works:
- The consumption of this API is done by PUT 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 |
speed | Campaign speed | String |
RESPONSE |
NAME | DESCRIPTION | TYPE |
---|---|---|
code | Response code | int |
error | Error | String |
msg | Description of the response | String |