Skip to content

For developers

Send your business events to Engentra and start the right conversation.

Your website, backend or app sends an event when something happens. Engentra records it against the customer and your automations take it from there - a WhatsApp message, a follow-up, a case.

The events API

One API call. Any event.

Send the event with the customer’s phone number or your own ID for them. A new customer is created if needed; a retry with the same idempotency key is never counted twice.

  • API keys scoped to events and customers, nothing else
  • Idempotency keys, so a retry never sends a message twice
  • Customer opt-in recorded with the event when you have it
  • Ready-made connections for Shopify and WooCommerce stores
curl -X POST https://api.engentra.io/v1/events \
  -H "X-API-Key: $ENGENTRA_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "phone": "+2348030000001",
  "name": "Ada Obi",
  "type": "order.created",
  "data": {
    "orderNumber": "1042",
    "total": 25000,
    "currency": "NGN"
  },
  "idempotencyKey": "1042-order-created",
  "optIn": {
    "evidence": "Checkout checkbox: Send me order updates on WhatsApp"
  }
}'

Example events

Name the moment; choose what happens next.

Event names are yours. These are the ones businesses start with.

  • order.created

    Confirm the order and send the payment link.

  • cart.abandoned

    Remind the customer about what they left behind.

  • payment.failed

    Offer another way to pay before the order is lost.

  • delivery.completed

    Ask how it went, or for a review.

  • subscription.cancelled

    Ask why, and offer a way back.

  • review.requested

    Collect a review while the purchase is fresh.

Signed webhooks

Hear back about what happened.

Engentra calls your endpoint when a message arrives or is delivered, a sale is recorded, a customer opts out or a campaign finishes - each delivery signed, so you can check it came from Engentra, and retried if your server was down.

  • Signatures you verify with your endpoint's secret - how
  • Retried over 24 hours if your server is down, and a failed delivery can be sent again
  • Documented errors and rate limits - errors, rate limits
The API and webhooks guide