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

    headers string

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

    body string

    The body for the webhook request, supporting variables.

    id string

    Unique identifier of the webhook

    url urirequired

    The URL to which the webhook will send event data.

    createdAt date-time

    Time representation of entity creation

    eventType stringrequired

    Possible values: [submission_approved]

    Event type that triggers the webhook.

    resource stringrequired

    Possible values: [schema]

    Resource to attach the webhook to

    projectId string

    Unique identifier of the project to which webhook is related

    resourceId stringrequired

    Identifier of the resource to attach webhook to

Loading...