Retrieve all webhooks

Get a list of registered webhooks.

GET
/webhooks
AuthorizationBearer <token>

In: header

Query Parameters

id?string

Filter resources by their unique identifier

name?string

Filter resources by their name or title

autocomplete?string

Search term for autocomplete functionality

limit?integer

How many items to return at one time (max 100)

Formatint64
next?string

Pagination token for retrieving the next page of results

order?string

Sort order for the results (ascending or descending)

Value in"asc" | "desc"
sortBy?string

Field name to sort the results by

type?string

Filter webhooks by their type

Value in"address_activity" | "template_activity" | "action_activity"
template_id?string

Filter webhooks by template ID

action?string

Filter webhooks by action name

address?string

Filter webhooks by blockchain address

is_active?boolean

Filter webhooks by their active status

wallet_id?string

Filter webhooks by wallet ID

when_created[$gt]?string

Filter webhooks created after this date and time

Formatdate-time
when_created[$lt]?string

Filter webhooks created before this date and time

Formatdate-time
when_created[$gte]?string

Filter webhooks created on or after this date and time

Formatdate-time
when_created[$lte]?string

Filter webhooks created on or before this date and time

Formatdate-time

Response Body

application/json

application/json

application/json

curl -X GET "https://api-testnet.dual.network/webhooks"
{
  "webhooks": [
    {
      "id": "string",
      "name": "My Webhook",
      "type": "template_activity",
      "wallet_id": "string",
      "url": "https://webhook.site/example",
      "is_active": true,
      "addresses": [
        "0x1234567890abcdef1234567890abcdef12345678"
      ],
      "template_ids": [
        "tmpl_xxxx123456"
      ],
      "actions": [
        "action_xxxx123456"
      ],
      "when_created": "2021-01-01T00:00:00Z",
      "when_modified": "2021-01-01T00:00:00Z"
    }
  ],
  "next": "string"
}
{
  "code": 0,
  "message": "string",
  "details": {}
}
{
  "code": 0,
  "message": "string",
  "details": {}
}