Operator Events
Create Operator Event Destination
Changed onCreates an operator event destination of any type listed by GET /operator-events/destination-types. config and credentials take the same fields as a tenant destination of that type.
For a webhook destination, set credentials.secret to supply the signing secret. When it is omitted, Outpost generates one. Either way the secret is returned in credentials.
Creating or changing a destination changes which topics the deployment subscribes to, which is why OPERATOR_EVENTS_TOPICS cannot be set through PATCH /config.
This endpoint is only available on managed Outpost.
post/operator-events/destinations
Request
- Base URLhttps://api.outpost.hookdeck.com/2025-07-01
- Auth
- HTTP bearer
- or HTTP bearer
Request body
Example request
{
"type": "webhook",
"topics": [
"alert.destination.disabled",
"alert.destination.consecutive_failure"
],
"config": {
"url": "https://alerts.acme.com/outpost"
},
"credentials": {
"secret": "whsec_abc123"
}
}Response
The created operator event destination.
Example response
{
"id": "des_webhook_123",
"type": "webhook",
"topics": [
"user.created",
"order.shipped"
],
"disabled_at": null,
"created_at": "2024-02-15T10:00:00Z",
"updated_at": "2024-02-15T10:00:00Z",
"config": {
"url": "https://my-service.com/webhook/handler"
},
"credentials": {
"secret": "whsec_abc123def456",
"previous_secret": "whsec_prev789xyz012",
"previous_secret_invalid_at": "2024-02-16T10:00:00Z"
}
}Changes
- info
endpoint added
- info