Create an API connection
From Business Settings → Connect your system. awam creates a private URL for that workspace.
Connect any website, system or app through one small event endpoint. You do not need to recreate your system inside awam.
POST /api/v1/events/{connection-token}Quick start ↓From Business Settings → Connect your system. awam creates a private URL for that workspace.
awam detects the customer, phone, reference and event names from the first sample.
For example, order.shipped becomes Out for delivery. Every matching event then runs automatically.
Send the event name, object and customer. Use one stable event_id per update; retries are safe and do not duplicate the operation or message.
event what happenedobject.id order or booking referenceobject.customer name and WhatsApp numbercurl -X POST "https://YOUR_AWAM_DOMAIN/api/v1/events/YOUR_CONNECTION_TOKEN" \
-H "Content-Type: application/json" \
-d '{
"event_id": "order-100-shipped",
"event": "order.shipped",
"object": {
"id": "ORDER-100",
"type": "order",
"customer": {
"name": "Mariam",
"phone": "+201001112222",
"language": "ar"
},
"details": "Two grocery bags"
}
}'Every connection is workspace-isolated and rate-limited. Unknown events are held safely until you map them to the right stage.