post https://api.indigitall.com/v2/cs/webhooktemplate
Creates a webhook template entity associated to a journey. The webhook allows dynamic content using the Liquid templating language.
Some parts of the webhook (url
, reqHeaders
, reqBody
, reqQueryParams
) support Liquid syntax.
You can use the following variables in the template:
customer.<fieldName>
: Custom fields from the customer (e.g.{{customer.email}}
)context.<key>
: Contextual information passed to the journey (e.g.{{context.language}}
)- Reserved variables:
customerId
: Customer external codejourneyId
: Current journey IDstateId
: Current state ID