Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.afriex.com/llms.txt

Use this file to discover all available pages before exploring further.

Afriex delivers real-time notifications to your configured webhook URL whenever a customer is created, updated, or deleted.

Security

See Webhooks Introduction for setup, signature validation, and retry behavior.

Event Types

  • CUSTOMER.CREATED - A new customer has been created
  • CUSTOMER.UPDATED - Customer information has been updated
  • CUSTOMER.DELETED - A customer has been deleted

Sample Payload

{
  "event": "CUSTOMER.CREATED",
  "data": {
    "name": "John Doe",
    "email": "johndoe@gmail.com",
    "phone": "+2348012345678",
    "customerId": "698b0440cba7ec3daee9163d",
    "countryCode": "NG",
    "meta": {
      "source": "whatsapp"
    },
    "createdAt": "2026-02-10T10:11:12.415Z",
    "updatedAt": "2026-02-10T10:11:12.415Z"
  }
}
The event field will be CUSTOMER.CREATED, CUSTOMER.UPDATED, or CUSTOMER.DELETED depending on the action that triggered the notification.

Response

Return 200 (or another 2xx) after successful validation and processing.