Skip to main content
GET
/
api
/
v1
/
webhooks
/
subscriptions
curl --request GET \
  --url https://hpay-api.host-sl.com/api/v1/webhooks/subscriptions \
  --header 'api-key: YOUR_API_KEY' \
  --header 'secret-key: YOUR_SECRET_KEY'
[
  {
    "id": "7c1d2e3f-...",
    "application_id": "2e35e07e-...",
    "target_url": "https://example.com/webhooks/hostpay",
    "events": ["deposit.completed", "payout.failed"],
    "active": true,
    "ip_allowlist": null,
    "payload_version": "2025-01",
    "secret_preview": "...k3Qz",
    "created_at": "2026-07-04T10:30:00Z",
    "updated_at": "2026-07-04T10:30:00Z"
  }
]
Returns every subscription on your application. Signing secrets are never included — only a secret_preview for identification.

Response

id
string
The subscription ID.
target_url
string
The HTTPS endpoint deliveries are sent to.
events
string[]
The event types this subscription receives (see Webhook events).
active
boolean
Whether deliveries are currently enabled.
ip_allowlist
string[] | null
Optional source-IP allowlist enforced on delivery.
payload_version
string
The payload schema version (e.g. 2025-01).
secret_preview
string
The last few characters of the signing secret, for identification only.
created_at
string
ISO 8601 creation timestamp.
[
  {
    "id": "7c1d2e3f-...",
    "application_id": "2e35e07e-...",
    "target_url": "https://example.com/webhooks/hostpay",
    "events": ["deposit.completed", "payout.failed"],
    "active": true,
    "ip_allowlist": null,
    "payload_version": "2025-01",
    "secret_preview": "...k3Qz",
    "created_at": "2026-07-04T10:30:00Z",
    "updated_at": "2026-07-04T10:30:00Z"
  }
]
curl --request GET \
  --url https://hpay-api.host-sl.com/api/v1/webhooks/subscriptions \
  --header 'api-key: YOUR_API_KEY' \
  --header 'secret-key: YOUR_SECRET_KEY'