Skip to main content

Update a webhook by its ID

PUT 

/webhook/:webhookId

Update a webhook by its ID

Request

Path Parameters

    webhookId stringrequired

    The unique ID of the webhook to update.

Body

Updated webhook data

    body string

    The body template for the webhook request, supporting variables

    headers string

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

    url uri

    The URL to which the webhook will send event data

Responses

Webhook successfully updated

Schema

    eventType stringrequired

    Possible values: [submission_approved]

    Event type that triggers the webhook.

    body string

    The body for the webhook request, supporting variables.

    createdAt date-time

    Time representation of entity creation

    projectId string

    Unique identifier of the project to which webhook is related

    resource stringrequired

    Possible values: [schema]

    Resource to attach the webhook to

    headers string

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

    resourceId stringrequired

    Identifier of the resource to attach webhook to

    id string

    Unique identifier of the webhook

    url urirequired

    The URL to which the webhook will send event data.

Loading...