Skip to Content

Webhooks

Webhooks let Aeternitychat push real-time event data to your external systems. When something happens (like a new message or contact), Aeternitychat sends an HTTP POST request to your configured URL.

Accessing Webhooks

Go to Settings > Developer > Webhooks.

Creating a Webhook

  1. Click Add Webhook
  2. Configure the webhook:
FieldDescription
ChannelWhich channel this webhook listens to — WhatsApp or Generic
URLYour endpoint URL that will receive the events
MethodHTTP method — POST (recommended) or GET
ActiveToggle switch to enable/disable the webhook
EventsSelect which event types trigger this webhook
HeadersOptional custom HTTP headers (JSON format) for authentication
  1. Save all webhooks

You can add multiple webhooks, each listening for different events or posting to different endpoints.

Event Types

Webhook events are grouped by channel:

WhatsApp Events

  • message_received — A customer sent a message
  • message_sent — A message was sent to a customer
  • contact_status_changed — A contact’s status was updated

Generic Events

  • Fallback events that apply across all channels

Webhook Payload

Each webhook delivery includes a JSON payload with:

  • Event type identifier
  • Timestamp
  • Event-specific data (message content, contact details, etc.)

Your server should return a 200 status code to confirm receipt.

Troubleshooting

IssueSolution
Webhook not firingVerify the endpoint URL is correct and accessible
Receiving errorsCheck that your server returns a 200 status code
Missing eventsConfirm the event type is selected in the webhook configuration

Webhooks require the Developer permission. If you can’t access this page, ask your administrator to check your role.