Skip to content

List webhook endpoints (API key)

GET
/api/v2/webhooks
curl --request GET \
--url 'https://api.sipstack.com/api/v2/webhooks?page=1&limit=50' \
--header 'x-api-key: <x-api-key>'

Lists your organization’s webhook endpoints. Signing secrets are never echoed. Supports offset paging (page/limit) or keyset paging — pass a response’s next_cursor back as cursor. The response also carries a signature block describing the header and format to verify on deliveries.

This is the API-key (server-to-server) webhooks surface; the portal admin-console equivalent lives under the Webhooks tag.

page
integer
default: 1 >= 1
limit
integer
default: 50 >= 1 <= 200
cursor
string

Opaque keyset cursor from a previous response’s next_cursor. Ignores page when set.

Paginated list of webhook endpoints for your organization.

Media type application/json
object
success
boolean
data
Array<object>

A webhook endpoint as returned by the API-key /api/v2/webhooks endpoints (the signing secret is only ever returned once, at creation).

object
id
string format: uuid
uuid
string format: uuid
url
string
events

Subscribed event types; ["*"] subscribes to every event in the public catalog (never internal platform events). See the Webhooks guide for the event catalog.

Array<string>
is_active

Endpoints are disabled automatically after repeated consecutive delivery failures.

boolean
last_triggered_at
string format: date-time
nullable
failure_count
integer
created_at
string format: date-time
updated_at
string format: date-time
pagination

Page metadata returned by the paginated Developer API list endpoints. Per-endpoint limit defaults and caps vary (see each endpoint’s limit parameter). In keyset (cursor) mode page, total, and totalPages are null — walk pages via next_cursor instead.

object
page
integer
nullable
limit

Items per page (the default and maximum vary by endpoint).

integer
total

Total matching records across all pages (null in cursor mode).

integer
nullable
totalPages
integer
nullable
next_cursor

Pass back as cursor to fetch the next page; null on the last page.

string
nullable
signature

How to verify webhook deliveries — echoed by the API-key webhook endpoints.

object
header

The signature header to verify.

string
timestampHeader

The header that carries the Unix-seconds timestamp included in the signed payload. New on every attempt.

string
format

How the signature is built. Reject the delivery if either header is missing, if the timestamp is more than toleranceSeconds from now, or if the signature does not match (constant-time compare).

string
toleranceSeconds

The largest allowed difference, in seconds, between the timestamp and your server’s clock.

integer
legacyHeader

Deprecated body-only signature header. Still sent during a 90-day deprecation period, then removed. Endpoint owners are notified before removal.

string
legacyFormat

How the deprecated legacy signature is built. It has no timestamp and gives no replay protection.

string
Example
{
"data": [
{
"url": "https://example.com/sipstack-webhook",
"events": [
"message.delivered",
"message.failed"
]
}
],
"pagination": {
"page": 1,
"limit": 25,
"total": 143,
"totalPages": 6
},
"signature": {
"header": "X-Sipstack-Signature",
"timestampHeader": "X-Sipstack-Timestamp",
"format": "v1=<hex-hmac-sha256 of \"<timestamp>.<raw request body>\", keyed by the endpoint secret>",
"toleranceSeconds": 300,
"legacyHeader": "X-Webhook-Signature",
"legacyFormat": "sha256=<hex-hmac-sha256 of the raw request body, keyed by the endpoint secret>"
}
}

Invalid cursor.

Media type application/json

Inline error shape used by the messaging API and management endpoints.

object
success
boolean
error
string
Example
{
"success": false,
"error": "Recipient phone number (to) is required"
}

Missing or invalid API key.

Media type application/json

Inline error shape used by the messaging API and management endpoints.

object
success
boolean
error
string
Example
{
"success": false,
"error": "Recipient phone number (to) is required"
}

Internal error.

Media type application/json

Inline error shape used by the messaging API and management endpoints.

object
success
boolean
error
string
Example
{
"success": false,
"error": "Recipient phone number (to) is required"
}