Reveal current HMAC secret
Overview
Returns the CURRENT raw HMAC secret (decrypted) so a partner-admin can re-copy it if the value shown at create/rotate time was lost. Does not change the secret. Every call writes a PARTNER_WEBHOOK_SECRET_REVEALED audit row. No request body required.
Prerequisites
- A bearer token. Callable with Partner tokens.
- The
webhookSubscriptionIdof the record you are targeting.
Base URL
| Environment | URL |
|---|---|
| Production | https://production-api.shoutaboutus.com |
| Development | https://development-api.shoutaboutus.com |
Endpoint
POST /api/v1/partner/webhooks/{webhookSubscriptionId}/reveal-secret
Authentication
- Requires a bearer token in the
Authorization: Bearer <bearer-token>header. - Who can call it: Partner tokens.
findCallerSubscriptionenforcesbundle_id === 1and scopes bypartner_company_id(404 if not owned).
Rate limit
- No rate limit.
Path parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
webhookSubscriptionId | integer | Required | Digits only. |
Request body
- No body.
{}Response
data.hmac_secret(string) — the current raw secret (decrypted fromhmac_secret_encrypted). Nohmac_secret_warningfield on this endpoint.
200 Success · 200
200{ "data": { "data": {
"id": 3,
"partner_company_id": 5,
"label": "dummy_label",
"webhook_url": "https://dummy.url/webhook",
"events": null,
"payload_mode": "full",
"delivery_kind": "batch",
"batch_interval_hours": 4,
"delivery_label": "every 4 hours",
"last_batch_dispatched_at": "2026-06-16T10:25:29+00:00",
"is_active": true,
"hmac_secret_fingerprint": "011d12e18d77edfb",
"last_succeeded_at": null,
"last_failed_at": null,
"last_failure_reason": null,
"consecutive_failure_count": 0,
"created_at": "2026-06-16T10:25:29+00:00",
"updated_at": "2026-06-16T10:26:29+00:00",
"hmac_secret": "whsec_DUMMYsecretFORdocsONLYdoNOTuse00000000"
} } }Errors
| Status | Meaning |
|---|---|
401 | The bearer token is missing, expired or invalid |
404 | Returned if not owned |
500 | Unexpected server error |
Example request
curl --request POST \
--url "https://production-api.shoutaboutus.com/api/v1/partner/webhooks/123/reveal-secret" \
--header 'Authorization: Bearer {{bearerToken}}' \
--header 'Accept: application/json' \
--header 'Content-Type: application/json' \
--data '{}'Updated 11 days ago
Did this page help you?
