URL:
https://wv{{wolkvox_server}}.wolkvox.com/api/v2/campaign.php?api=start&type_campaign={{type_campaign}}&campaign_id={{campaign_id}}
Description:
This API allows to launch a campaign, from an external platform.
Benefit:
This function serves to facilitate and speed up the process of activating or deactivating campaigns using, for example, a button from the platform where the management is being carried out.
How it works:
- This API is consumed by PUT method.
- To consume this API you must replace in the url {{wolkvox_server}} for the nomenclature of the server of the operation.
- The wolkvox–token header must be used to make use of the authorization token.
- Keep in mind that the same token cannot be consumed simultaneously, so you can program that the next API is consumed when the result of the previous one is successful.
REQUEST |
NAME | DESCRIPTION | TYPE |
---|---|---|
type_campaign (URL) | Campaign type | String |
campaign_id (URL) | Days for which the number will be blocked | String |
RESPONSE |
NAME | DESCRIPTION | TYPE |
---|---|---|
code | Response code | int |
error | Error | String |
msg | Response description | String |