Mega icon

Mega

Work with Mega API

Webhook → Create

AI-generated

Summary

Create a webhook in the Mega system with a specified name, target URL, and event subscriptions to receive notifications for those events.

Inputs

  • webhookName (required) — Specify the name for the webhook being created.
  • webhookUrl (required) — Provide the URL to which event notifications should be sent.
  • webhookSubscriptions (required) — Select one or more event types to subscribe this webhook to (e.g., contact created, message updated).

Output shape

a single object representing the created webhook including its details and subscription settings

The response includes the webhook's configuration confirming creation. No pagination or multiple items returned.

Links

Discussion