v1

latestOpenAPI 3.0.02026-07-24115101.2 MB
Webhooks

Update a webhook by ID

Use this endpoint to update a specific webhook by ID.

put/webhooks/{webhook_id}

Path parameters

webhook_idinteger required

The unique ID of the webhook.

Headers

x-oneflow-api-tokenstring required

The API key of your Oneflow account.

x-oneflow-user-emailstring email

The email address of a registered Oneflow user.

Request body

callback_urlstring

The webhook's callback url.

integration_process_idinteger nullable
sign_keystring nullable

A key to authenticate the webhook requests.

template_group_idinteger nullable

Example request

{
  "filters": [
    {
      "filter_rules": [
        {
          "values": [
            130001
          ]
        }
      ]
    }
  ]
}

Response

Returns the updated webhook.

callback_urlstring nullable required

The webhook's callback url.

integration_instanceinteger nullable required

Connected integration instance.

integration_process_idinteger nullable required

This is a feature for the future, and the default value is null.

legacy_webhookboolean required

True if the webhook is a legacy webhook.

template_group_idinteger nullable required
webhook_idinteger required

webhook ID

Example response

{
  "filters": [
    {
      "filter_rules": [
        {
          "values": [
            130001
          ]
        }
      ]
    }
  ]
}