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

    url uri

    The URL to which the webhook will send event data

    headers string

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

    body string

    The body template for the webhook request, supporting variables

Responses

Webhook successfully updated

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...