ip_whitelist field.
Endpoint
Authentication
All requests must include a valid Dashboard Bearer token in theAuthorization header.
| Header | Type | Required | Description |
|---|---|---|---|
Authorization | string | Yes | Bearer <token> — obtain from Login |
Content-Type | string | Yes | application/json |
Request Body
The publicly accessible HTTPS URL where Shogun will POST event payloads. Must be a valid URI (e.g.,
https://yourapp.com/webhooks/shogun).An optional list of IP addresses permitted to trigger webhook delivery. When provided, only requests originating from these IPs are forwarded. Maximum 255 characters per entry.
Example Request Body
Response
A successful response returns your webhook configuration with a system-assignedid.
| Field | Type | Description |
|---|---|---|
id | string (uuid) | Unique identifier for this webhook configuration |
url | string | The registered destination URL |
ip_whitelist | array of strings | IP addresses whitelisted for this webhook |
created_at | string (ISO 8601) | Timestamp when the webhook was created |
updated_at | string (ISO 8601) | Timestamp of the last update |
Success
Example
Shogun signs every webhook payload with a secret so you can verify that the delivery originated from Shogun and was not tampered with in transit. Validate the signature on every inbound request before processing the payload. Refer to the Webhooks guide for signature verification details.