Complete reference for all available API endpoints with authentication and rate limiting information.
Most endpoints require API key authentication. Include your API key in the request headers:
x-api-key: YOUR_API_KEY
API requests are limited to 100 requests per 15 minutes per IP address. Rate-limited endpoints are marked below.
curl -X GET "https://api.example.com/api/shopifyUser"
curl -X POST "https://api.example.com/api/shopifyUser" \
-H "Content-Type: application/json" \
-d '{"username": "example", "email": "user@example.com"}'
curl -X POST "https://api.example.com/api/whatsApp" \
-H "x-api-key: YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"message": "Hello", "phone": "+1234567890"}'
curl -X POST "https://api.example.com/api/addProduct" \
-H "Content-Type: application/json" \
-d '{"name": "Product Name", "price": 29.99, "description": "Product description"}'
curl -X POST "https://api.example.com/api/addReview" \
-H "Content-Type: application/json" \
-d '{"rating": 5, "comment": "Great product!", "customerName": "John Doe"}'
curl -X POST "https://api.example.com/api/ice-majesty/addConfig" \
-H "Content-Type: multipart/form-data" \
-F "customImage=@/path/to/image.jpg" \
-F "config='{\"setting\": \"value\"}';"
All API responses follow a consistent JSON format:
{
"success": true,
"data": {
// Response data here
},
"message": "Success message",
"timestamp": "2024-01-15T10:30:00Z"
}
{
"success": false,
"error": {
"code": "ERROR_CODE",
"message": "Error description"
},
"timestamp": "2024-01-15T10:30:00Z"
}