Retrieve a specific webhook

Get details of a registered webhook by ID.

GET
/webhooks/{webhookId}
AuthorizationBearer <token>

In: header

Path Parameters

webhookId*string

Unique identifier of the webhook

Response Body

application/json

application/json

application/json

application/json

curl -X GET "https://api-testnet.dual.network/webhooks/string"
{
  "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"
}
{
  "code": 0,
  "message": "string",
  "details": {}
}
{
  "code": 0,
  "message": "string",
  "details": {}
}
{
  "code": 0,
  "message": "string",
  "details": {}
}