Deprecated APIs

List webhook subscriptions

List the webhook subscriptions owned by the caller's API key, oldest first. The raw signing secret is never included — only its secretHash.

GET
/v1/webhooks/subscriptions

Authorization

bearerAuth
AuthorizationBearer <token>

API key for authentication.

In: header

Response Body

application/json

application/json

curl -X GET "https://api.staging.across.to/v1/webhooks/subscriptions"
{
  "data": [
    {
      "id": "whsub_1a2b3c4d5e6f7a8b9c0d1e2f3a4b5c6d",
      "url": "https://example.com/webhooks/across",
      "filter": {
        "eventTypes": [
          "pda_transfer.deposit-pending"
        ]
      },
      "enabled": true,
      "secretHash": "9f2c3b7a1e4d5f6089ab2c3d4e5f60718293a4b5c6d7e8f9012345678abcdef0"
    }
  ]
}
{
  "error": "UnauthorizedError",
  "message": "A valid Authorization: Bearer <apiKey> header is required."
}