API Keys & Webhooks
Set Webhook URL
Set or update the webhook URL on an API key
POST
Set or update the webhook URL for an existing API key. When a webhook URL is set, Magpipe sends a
POST request to that URL whenever a call completes. A signing secret is auto-generated on first use.
See Webhooks for payload format and signature verification.
Request Body
Must be
update.The UUID of the API key to update.
The HTTPS URL to receive webhook events. Must be a valid HTTP or HTTPS URL. Set to
null or empty string to disable and clear the signing secret.Response
Whether the update was successful.
The updated webhook URL, or
null if cleared.The signing secret for HMAC verification. Format:
whsec_.... null if webhook was cleared.