Webhooks

Get a webhook by ID

Changed on

Use this endpoint to retrieve a specific webhook by ID.

get/webhooks/{webhook_id}

Request

  • Base URL
    https://api.oneflow.com/v1
  • Auth
    none declared. Required headers: x-oneflow-api-token

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.

Response

Returns the requested webhook.

callback_urlstring nullable required

The webhook's callback url.

integration_instanceinteger nullable required

Connected integration instance.

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
          ]
        }
      ]
    }
  ]
}

Changes

    • breaking

      added subschema #4: Playbook to the /// response property oneOf list for the response status

    • breaking

      removed the required property from the response with the status