Skip to Content
MailroomMailroom home

Rotate the signing secret

POST
/webhooks/{id}/rotate-secret

Authorization

bearerAuth
headerAuthorizationBearer <mr_live_ / mr_test_>

API key. Never log the secret.

Path Parameters

id*string

Header Parameters

Idempotency-Key?string

Stored 24h. Same key + body returns the original response.

Response Body

New secret shown once

application/json
  1. response
id?string
url?string
Formaturi
status?string
Value in"active""disabled"
event_types?array<string>
secret?string

Shown on create/rotate only.

Example Request
curl -X POST 'https://api.mailroom.gosuevals.com/v1/webhooks/string/rotate-secret'
Example Response200
{  "id": "string",  "url": "http://example.com",  "status": "active",  "event_types": [    "string"  ],  "secret": "string"}