Complete API reference for managing products programmatically.
https://wapify.me/api/products
All requests require Bearer token authentication. Include the token in the Authorization header:
Authorization: Bearer YOUR_API_TOKEN
https://wapify.me/api/products
Retrieve a paginated list of products.
| Parameter | Tipo | Descripción |
|---|---|---|
page |
integer | Page number (default: 1) |
per_page |
integer | Items per page (default: 20) |
status |
boolean | Filter by status (true for active, false for inactive) |
category_id |
integer | Filter by category ID |
whatsapp_enabled |
boolean | Filter by WhatsApp enabled status |
curl -X GET "https://wapify.me/api/products?status=true&category_id=1" \
-H "Authorization: Bearer YOUR_API_TOKEN" \
-H "Accept: application/json"
{
"success": true,
"data": {
"current_page": 1,
"data": [
{
"id": 1,
"name": "Product Name",
"description": "Product description",
"price": 99.99,
"currency": {
"id": 840,
"code": "USD"
},
"category": {
"id": 1,
"name": "Category Name"
},
"status": true,
"whatsapp_enabled": true,
"created_at": "2024-01-15T10:30:00Z"
}
],
"per_page": 20,
"total": 50,
"last_page": 3
},
"team": {
"id": 1,
"name": "My Team"
},
"user": {
"id": 1,
"name": "John Doe",
"email": "john@example.com",
"role": "admin"
}
}
https://wapify.me/api/products/{id}
Retrieve a single product by ID.
curl -X GET "https://wapify.me/api/products/1" \
-H "Authorization: Bearer YOUR_API_TOKEN" \
-H "Accept: application/json"
API requests are rate limited. The current limit is 60 requests per minute per token.