API
This section is intended for developers utilizing our APIs to add channels. Below you will find the keys to generate secret payloads for adding or updating a channel via the Script API. Refer to the c
Below you will find the keys to generate secret payloads for adding or updating a channel via the Script API.
Refer to the configuration page for detailed information on the purpose and usage of each input.
WEBHOOK_CODE
In this secret, you would store the JS code of the webhook. Example value
async process(params) {
// Add your code here
console.log('This is the JS code block');
return new Response('It is working');
}Type TEXT Optional false
WEBHOOK_TOKEN
In this secret, you can optionally set an access token, which will be used to authorize the POST request. This value should match the request header Authorization: Bearer <token value>.
Example value
ba88bcee6907d5e8d62bf2d466d1dbe04fbc688Type TEXT Optional true
WEBHOOK_SECRETS
Use for storing the Pixel ID.
Example value
Type TEXT Optional true
Last updated
Was this helpful?

