Skip to main content

Register a new webhook

POST 

/webhook

Register a new webhook

Request

Body

Webhook registration data

    resource stringrequired

    Possible values: [schema]

    Resource to attach the webhook to

    body string

    The body for the webhook request, supporting variables.

    headers string

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

    eventType stringrequired

    Possible values: [submission_approved]

    Event type that triggers the webhook.

    url urirequired

    The URL to which the webhook will send event data.

    resourceId stringrequired

    Identifier of the resource to attach webhook to

Responses

Webhook successfully created

Schema

    resource stringrequired

    Possible values: [schema]

    Resource to attach the webhook to

    body string

    The body for the webhook request, supporting variables.

    headers string

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

    createdAt date-time

    Time representation of entity creation

    eventType stringrequired

    Possible values: [submission_approved]

    Event type that triggers the webhook.

    projectId string

    Unique identifier of the project to which webhook is related

    id string

    Unique identifier of the webhook

    url urirequired

    The URL to which the webhook will send event data.

    resourceId stringrequired

    Identifier of the resource to attach webhook to

Loading...