Create a new secret (comms:admin)
POST /api/comms/v1/inbound-hooks/{id}/rotate-secret
Module: Comms · operationId: rotateInboundHookSecret · Tag: Inbound webhooks · Auth: access token (Authorization: Bearer <accessToken>)
The previous secret stays valid for 24 hours so the sender can switch over.
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
id |
path | string (uuid) | yes |
Responses
- 200 Endpoint with the new secret (
application/json) - 404 Error (
application/json)
Fields of the 200 answer:
config(InboundConfig): Tunes the scheme to the sender; empty fields take the scheme's usual headers.idHeader(string): Header with a unique delivery id; repeated ids are stored onceprefix(string): Text before the value, e.g. "sha256=" or "Bearer "signatureHeader(string): Header with the signature (hmac_sha256) or the token (token)
createdAt(string (date-time)): Creation timecreatedBy(string): Who created the endpointenabled(boolean): Disabled endpoints answer 404id(string (uuid)): Endpoint idlastReceivedAt(string (date-time)): Time of the last verified requestlastRejectedAt(string (date-time)): Time of the last rejected requestlastRejectedReason(string): Why the last request was rejectedmaxBodyBytes(integer): Largest accepted body in bytesname(string): Display namereceivedCount(integer): Verified requests receivedrejectedCount(integer): Requests rejected by the checkrev(integer): Revision for optimistic locking (send it back asrev)scheme(string): How the sender is verifiedsecret(string): Only in the answer that created or rotated ittoleranceSecs(integer): Allowed clock difference for standard_webhooksurl(string): Public URL the sender posts to
Example 200 answer:
{
"config": {
"idHeader": "X-Shop-Delivery",
"prefix": "sha256=",
"signatureHeader": "X-Shop-Signature"
},
"createdAt": "2026-10-01T10:20:00Z",
"createdBy": "jonas.bauer@muster-it.example",
"enabled": true,
"id": "1a9e5c3b-7d2f-4e6a-b8c4-0d1e2f3a4b5c",
"lastReceivedAt": "2026-11-18T07:55:32Z",
"lastRejectedAt": "2026-11-02T13:10:04Z",
"lastRejectedReason": "Signatur ungültig",
"maxBodyBytes": 262144,
"name": "Shop-Bestellungen",
"receivedCount": 128,
"rejectedCount": 2,
"rev": 4,
"scheme": "hmac_sha256",
"toleranceSecs": 300,
"url": "https://api.mbcom.cloud/api/comms/v1/hooks/f3Kq9ZpL2vXc8RtW1nYb4A"
}
Example request
curl -X POST 'https://api.mbcom.cloud/api/comms/v1/inbound-hooks/3f2b8c1e-7d4a-4e9b-9c2a-5b1d6e8f0a12/rotate-secret' \
-H "Authorization: Bearer $ACCESS_TOKEN"