List Webhooks


List all webhooks in the account.

Settings:

URL

https://online.99digital.co.il/api/v1/accounts/{account_id}/webhooks

Method

JSON via GET


Authorization:

Header Parameter

Description

api_access_token

user API key


The user API key provides access to endpoints based on the user permissions levels and can be obtained by visiting the profile page.


Path Parameters:

Parameter

Description

Required

account_id

The numeric id of the account

yes


Response:


{
  "payload": {
    "webhooks": [
      {
        "id": 0,
        "url": "string",
        "account_id": 0,
        "subscriptions": [
          "conversation_created",
          "conversation_status_changed",
          "conversation_updated",
          "message_created",
          "webwidget_triggered",
          "message_updated",
          "contact_created"
        ]
      }
    ]
  }
}


Response-Explain:

Parameter

Description

payload -> webhooks

Array of objects (webhook)

payload -> webhooks -> id

The numeric id of the webhook

payload -> webhooks -> url

The URL to which the events will be send

payload -> webhooks -> account_id

The numeric id of the account

payload -> webhooks -> subscriptions

Array of strings (subscribed events)