webhook_get
Fetch one webhook’s details. The token is left out, so this is safe to show in an admin panel.
Request
Section titled “Request”{ "cmd": "webhook_get", "id": "3f2b8c1e-5d4a-4b7e-9c61-2a8f0e7d9b34"}| Field | Type | Required | Description |
|---|---|---|---|
id |
string | Yes | Webhook ID. |
Response
Section titled “Response”{ "cmd": "webhook_get", "webhook": { "id": "3f2b8c1e-5d4a-4b7e-9c61-2a8f0e7d9b34", "channel": "general", "name": "Build reports", "created_by": "<alice's user ID>", "created_at": 1758700000.123, "avatar": "https://cdn.example.com/ci.png" }}The fields are described on webhook_create. token is omitted.
Permissions
Section titled “Permissions”Requires manage_server.
Errors
Section titled “Errors”val |
When |
|---|---|
Webhook not found |
No webhook has that ID. |
| Validation message | id is missing or blank, for example id: Required. |
