Skip to content

Get a webhook endpoint

GET/v1/webhooks/{id}Key ·

Get a webhook endpoint.

Authentication

API key: Authorization: Bearer sl_live_… with any scope. The dashboard session works too.

An API key always acts in its own workspace. With a dashboard session, pass ?workspaceId= to choose the workspace (default: your first).

Parameters

NameInDescription
id
required
path

string

Response

200 — The endpoint

FieldDescription
id
required
string · pattern ^whe_
workspaceId
required
string
url
required
string · uri
descriptionstring | null
events
required
array of "message.received" | "message.sent" | "message.delivered" | "message.failed" | "device.online" | "device.offline"
deviceIdsarray of string | null
null = every device
enabled
required
boolean
disabledReasonstring | null
failing: auto-disabled after 3 days of failed deliveries
failingSincestring | null · date-time
secretPrefix
required
string
createdAt
required
string · date-time
updatedAt
required
string · date-time
200 example (values are illustrative)
{
"id": "whe_Vb3nq0x5cE1h2kF8sYp4Tg",
"workspaceId": "ws_9yLm2Qx7Rk3sTb6Vh1Nc0A",
"url": "https://example.com/simline/hook",
"description": "Order system",
"events": [
"message.received"
],
"deviceIds": [
"deviceIds"
],
"enabled": true,
"disabledReason": "disabledReason",
"failingSince": "2026-11-28T09:13:57.390Z",
"secretPrefix": "whsec_Xy7",
"createdAt": "2026-11-28T09:13:57.390Z",
"updatedAt": "2026-11-28T09:13:57.390Z"
}

Errors

Errors are JSON: {"error": "<code>", "message": "<a sentence>"}. Branch on error, show message. Every code is explained in Errors.

StatuserrorWhen
401unauthorizedMissing or invalid API key / session
403forbiddenAPI key lacks the read + send scopes
404not_foundWebhook or delivery not found
500internalInternal error

Examples

Set SIMLINE_API_KEY to your key first. Node examples use the built-in fetch (Node 18+, run as an ES module); Python uses requests.

Terminal window
curl "https://api.simline.dev/v1/webhooks/whe_Vb3nq0x5cE1h2kF8sYp4Tg" \
-H "Authorization: Bearer $SIMLINE_API_KEY"