Commune icon

Commune

Send and receive emails, manage inboxes, and search conversations with Commune

Actions14

Inbox → Set Webhook

AI-generated

Summary

Configure an HTTP webhook endpoint on a Commune inbox to receive inbound email events.

Inputs

  • domainId (required) — The ID of the domain that the target inbox belongs to.
  • inboxId (required) — The ID of the target inbox.
  • webhookEndpoint (required) — The destination URL where Commune will POST inbound email event payloads.

Output shape

a single record

Returns the updated inbox object containing the new webhook configuration. Unwraps data from the response envelope if present.

Examples

Example 1: Configure an inbound webhook listener for a domain's support inbox

Set Domain ID to 'd_abc123', Inbox ID to 'inbox_xyz', and Webhook Endpoint to 'https://your-server.com/webhook/email'.

Links

Discussion