Campaign Webhook
Scope
The Publisher API Webhook allows the V2 API to be used without having to use a OAuth token so you can use Webhooks to send data into Convertr. This is done by providing a unique campaign level token which is active for the duration of the campaign. This allows the user to post to the campaign with an optional publisherId without having to renew their access token.
Setup Process
1.Go to ‘Setup’ under the ‘Admin’ tab on the Convertr campaign overview dashboard
2.Once you have been redirected to the setup page, scroll down to the ‘Campaign API’ section. This is where you will see the ‘Campaign API Key’. This will present a code that will function as the access token for the duration of the campaign you have selected.
Using the Campaign API Key
Form Fields Endpoint
This API call will supply an array of forms, which are available to `POST` leads to (see section 3.5) on a given campaign. The response will allow you to see which form fields are available to populate per form (each campaign can have multiple forms).
Request
https://[enterprise].cvtr.io/webhook/campaign/[CampaignID]/form/fields?apikey=(campaignAPIkey)