API referenceWebhooks
Create a webhook endpoint
POST
bearerAuthheader
AuthorizationBearer <mr_live_ / mr_test_>API key. Never log the secret.
Idempotency-Key?stringStored 24h. Same key + body returns the original response.
application/json- body
url*stringFormat
urievent_types?array<string>Endpoint
application/json- response
id?stringurl?stringFormat
uristatus?stringValue in
"active""disabled"event_types?array<string>secret?stringShown on create/rotate only.
curl -X POST 'https://api.mailroom.gosuevals.com/v1/webhooks' \ -H 'Content-Type: application/json' \ -d '{ "url": "http://example.com"}'Example Response201
{ "id": "string", "url": "http://example.com", "status": "active", "event_types": [ "string" ], "secret": "string"}