List of Webhooks

Retrieve a list of Webhooks

Parameter

Accessible via URL https://api.channel.io/open/v5/webhooks and HTTP GET

๐Ÿ“˜

This method accepts application/json

ParameterExampleRequiredDescriptionParameter type
since123124122OptionalEpoch time in microseconds of the first message to be retrievedQuery
limit25OptionalRestrict the maximum number of webhooks to be retrievedQuery

Example

GET https://api.channel.io/open/v5/webhooks

Response

Returns a list of Webhook objects.

{
  "next": 1656032153343,
  "webhooks": [
    {
      "id": "string",
      "channelId": "string",
      "name": "string",
      "url": "string",
      "token": "string",
      "createdAt": 1656032153401,
      "scopes": [
        "userChatOpened"
      ],
      "apiVersion": "string",
      "lastBlockedAt": 1656032153401,
      "blocked": true
    }
  ]
}