EasyConfirm API
Manage orders programmatically via the EasyConfirm API. Create orders, send WhatsApp confirmations to customers, and receive real-time updates through webhooks.
What is EasyConfirm?
EasyConfirm lets you send WhatsApp order confirmation messages to your customers. When a customer receives the message, they can tap Approve or Cancel — and you get notified instantly via webhooks.
Base URL
All API requests are made to:
https://api.easyconfirm.net/api/v1/orders
Quick Start
1. Get your API Key
Go to this EasyConfirm Dashboard to generate an API key. Keys start with ek_.
2. Create an Order
curl -X POST https://api.easyconfirm.net/api/v1/orders \
-H "Content-Type: application/json" \
-H "X-API-Key: ek_your_api_key_here" \
-d '{
"externalOrderId": "EO-12345",
"customerName": "Ahmed Mohamed",
"customerPhone": "201234567890",
"customerAddress": "15 Tahrir St, Cairo",
"subtotal": 150,
"shippingCost": 25,
"totalCost": 175,
"currency": "EGP",
"note": "Gift wrap",
"items": [
{
"productName": "iPhone Case",
"variantName": "Black / Large",
"quantity": 2,
"unitPrice": 75,
"totalPrice": 150
}
]
}'
3. Customer Receives WhatsApp Message
Your customer gets a WhatsApp message with the order details and two buttons: Approve and Cancel.
4. Get Notified via Webhooks
Set up a webhook endpoint to receive real-time notifications when customers respond. EasyConfirm will POST event payloads to your URL whenever an order is created, confirmed, canceled, or fails.
API Capabilities
| Feature | Description |
|---|---|
| Create Order | Create an order and send a WhatsApp confirmation |
| List Orders | Retrieve paginated list of orders with filters |
| Get Order | Get full details of a specific order |
| Cancel Order | Cancel a pending order |
| Webhooks | Receive real-time event notifications |