Complete API reference for managing contacts programmatically.
https://wapify.me/api/team/contacts
All requests require Bearer token authentication. Include the token in the Authorization header:
Authorization: Bearer YOUR_API_TOKEN
https://wapify.me/api/team/contacts
Retrieve a paginated list of contacts.
| Parameter | Tipo | Descripción |
|---|---|---|
page |
integer | Page number (default: 1) |
per_page |
integer | Items per page (default: 15) |
search |
string | Search term for name, email, or company |
category_id |
integer | Filter by category ID |
curl -X GET "https://wapify.me/api/team/contacts?page=1&per_page=10&search=john" \
-H "Authorization: Bearer YOUR_API_TOKEN" \
-H "Accept: application/json"
{
"data": [
{
"id": 1,
"name": "John Doe",
"email": "john@example.com",
"phone": "+1234567890",
"company": "Example Corp",
"category": {
"id": 1,
"name": "Customer"
},
"created_at": "2024-01-15T10:30:00Z",
"updated_at": "2024-01-15T10:30:00Z"
}
],
"meta": {
"current_page": 1,
"per_page": 10,
"total": 25,
"last_page": 3
}
}
https://wapify.me/api/team/contacts
Create a new contact.
| Field | Tipo | Required | Descripción |
|---|---|---|---|
name |
string | Sí | Contact full name |
surname |
string | No | Contact surname/last name |
email |
string | No* | Contact email address (required if no phone) |
phone |
string | No* | Contact phone number (required if no email) |
category_id |
integer | No | Category ID (single category) |
category_ids |
array | No | Array of category IDs (multiple categories) |
curl -X POST "https://wapify.me/api/team/contacts" \
-H "Authorization: Bearer YOUR_API_TOKEN" \
-H "Content-Type: application/json" \
-H "Accept: application/json" \
-d '{
"name": "Jane Smith",
"surname": "Doe",
"email": "jane@example.com",
"phone": "+1987654321",
"category_id": 433
}'
https://wapify.me/api/team/contacts/{id}
Update an existing contact. Only include fields you want to update.
curl -X PUT "https://wapify.me/api/team/contacts/1" \
-H "Authorization: Bearer YOUR_API_TOKEN" \
-H "Content-Type: application/json" \
-H "Accept: application/json" \
-d '{
"phone": "+1555123456",
"company": "Updated Company Name"
}'
https://wapify.me/api/team/contacts/search
Advanced search functionality.
| Parameter | Tipo | Descripción |
|---|---|---|
q |
string | Search query (name, email, company) |
limit |
integer | Maximum results (default: 10) |
curl -X GET "https://wapify.me/api/team/contacts/search?q=john&limit=5" \
-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. If you exceed this limit, you'll receive a 429 Too Many Requests response.