A webhook endpoint is where Sovgate sends your events. Endpoints are added, changed and deleted in the Dashboard, with a fresh proof that it's you: an API key can read them, and never write them. Each mode has up to 16.
Attributes
| Name | Type | Description |
|---|---|---|
id | string | Unique identifier, starting we_. |
object | string | Always webhook_endpoint. |
livemode | boolean | true in live mode. |
url | string | The https address events go to. |
description | string or null | For your team. |
enabled_events | array of strings | The event types it listens to, or ["*"] for all. |
status | enum | enabled or disabled. |
disabled_reason | enum or null | user, failing (120 hours of failures) or gone (your server answered 410). |
created | timestamp | When it was added. |
Its signing secret is never in the API: reveal it in the Dashboard.
Example
Endpoints
| Endpoint | What it does |
|---|---|
GET /v1/webhook_endpoints/{id} | Get a webhook endpoint by its ID. |
GET /v1/webhook_endpoints | List your webhook endpoints. |