RegisterWebhook
RegisterWebhook subscribes a callback URL to one event type. Returns the subscriberId and the raw HMAC secret — the secret is never returned again except via rotate-secret. PRO-gated. Requires an active Pro subscription.
Request
- Base URL: https://api.worldmonitor.app
- URL: https://api.worldmonitor.app/api/v2/shipping/webhooks
- Auth: one of:
- API key in header X-WorldMonitor-Key
- API key in header X-Api-Key
- HTTP bearer
Headers
Optional client-generated idempotency key. Retrying a POST with the same key and an identical request body replays the original response (only the status, body, and Content-Type are reproduced) instead of re-executing; reusing the key with a different body is rejected with 422. For mutations this avoids duplicating the side effect, while for batch-read POSTs it replays a cached snapshot that can be up to 24 hours stale. Keys are scoped per authenticated caller (falling back to the source IP for unauthenticated endpoints) and retained for 24 hours.
Request body
Response
OK
Changes
No recorded changes to this operation across all 1 revision of this API.