Skip to main content

Register a new webhook

POST 

/webhook

Register a new webhook

Request

Body

Webhook registration data

    body string

    The body for the webhook request, supporting variables.

    resourceId stringrequired

    Identifier of the resource to attach webhook to

    url urirequired

    The URL to which the webhook will send event data.

    eventType stringrequired

    Possible values: [submission_approved]

    Event type that triggers the webhook.

    headers string

    Custom headers to include in the webhook request, such as authentication tokens.

    resource stringrequired

    Possible values: [schema]

    Resource to attach the webhook to

Responses

Webhook successfully created

Schema

    body string

    The body for the webhook request, supporting variables.

    resourceId stringrequired

    Identifier of the resource to attach webhook to

    createdAt date-time

    Time representation of entity creation

    projectId string

    Unique identifier of the project to which webhook is related

    url urirequired

    The URL to which the webhook will send event data.

    eventType stringrequired

    Possible values: [submission_approved]

    Event type that triggers the webhook.

    headers string

    Custom headers to include in the webhook request, such as authentication tokens.

    id string

    Unique identifier of the webhook

    resource stringrequired

    Possible values: [schema]

    Resource to attach the webhook to

Loading...