Contacts
Manage contacts. Ability to view contact list and add new contacts.
Available Endpoints
| Method | Path | Description |
|---|---|---|
| GET | /api/contacts |
List contacts |
| POST | /api/contacts |
Create new contact |
Example Request
curl -X GET "https://example.com/api/contacts" \
-H "Authorization: Bearer {token}"
Success Response (200)
{
"records": [],
"meta": {
"total": 0,
"current_page": 1,
"per_page": 20
}
}
Errors
| Code | Description |
|---|---|
| 401 | Invalid token |
| 403 | Access denied |
| 422 | Validation error |