Skip to content
Sendtier Docs
API reference

Get a webhook without its signing secret

Source: OpenAPI (openapi/openapi.yaml).

curl -X GET "https://api.sendtier.example/webhooks/string" \  -H "Authorization: Bearer st_live_REPLACE_ME"
{  "id": "string",  "url": "string",  "events": [    "email.queued"  ],  "test_mode": true,  "signing_secret": "string",  "created_at": "2019-08-24T14:15:22Z"}
GET
/webhooks/{webhook_id}

Authorization

headerAuthorizationBearer <token>

API key: st_live_... or st_test_...

Path Parameters

webhook_id*string

Response Body

Webhook endpoint. signing_secret is never included.

application/json
  1. response
id*string
url*string
events*array<>
test_mode*boolean

True for a test endpoint, created with a test key or in dashboard test mode. A test endpoint receives only test-mode events and a live endpoint only live events. Every payload carries the same test_mode value. The mode cannot change after creation.

signing_secret?string

Present only in the first successful create or rotate-secret response; omitted on idempotent replay.

created_at*string
Formatdate-time