Update one webhook template by id

Update one webhook template by id. 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 code
    • journeyId: Current journey ID
    • stateId: Current state ID
Path Params
number
required

Numeric ID of the webhook template to get

Query Params
number
required

customer application id

Body Params
string | null

Name for webhook template

string

Url used for webhook. (Accepts Liquid Template Language)

string
enum

Request type

Allowed:
reqHeaders
object | null

object key values for headers request. (Accepts Liquid Template Language)

reqQueryParams
object | null

object key values for query params request. (Accepts Liquid Template Language in values)

string | null

Body of the request. Accepts Liquid Template Language in values.

Responses

Language
Credentials
Header
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json