List all Contacts

GET/api/contacts

Headers

FieldTypeDescription
authtoken String Authentication token, generated from admin area
curl -X GET "https://yoursite.com/api/contacts" \
  -H "authtoken: YOUR_API_TOKEN"

Success-Response:

HTTP/1.1 200 OK
[
  {
    "id": "6",
    "first_name": "Fname",
    "last_name": "Lname",
    "user_type": "client",
    "email": "contact@example.com",
    "client_id": "3",
    "is_primary_contact": "0",
    "job_title": "HR",
    "phone": "1234567890",
    "gender": "male",
    "status": "active",
    "created_at": "2021-09-18 11:26:56",
    "deleted": "0"
  }
]
MethodGET
Path/api/contacts
GroupContacts
Sincev1.0.0
Defined inRestApi/Controllers/ContactsController.php