List Contact
Query parameters
-
Global search
-
Current page
-
Number of items per page
-
Determines if all items are selected
-
App\Families\Contacts\Models\Contact Filters: 0, 1, 2, 3, 4, 5, 6
Hide where attributes Show where attributes object
-
App\Families\Contacts\Models\Contact Sorting by firstname
Responses
-
Paginated response
Hide response attributes Show response attributes object
-
Contact schema
Hide data attributes Show data attributes object
-
id
-
Company ID
-
Family ID
-
Firstname
-
Lastname
-
Email
-
Values are
parent,grandparent,guardian,sibling, orother. -
Phone number
-
Is primary
-
Is emergency
-
Is billing
-
Is additional
-
Deleted at date
-
-
Pagination schema
-
-
Not authorized
GET
/v1/contacts/
curl \
--request GET 'https://api-dev.classmanager.io/v1/contacts/'
Response examples (200)
{
"data": [
{
"id": "stn_123123123123",
"companyId": "co_123123123123",
"familyId": "fml_123123123123",
"firstname": "John",
"lastname": "Doe",
"email": "john@doe",
"relation": "parent",
"phone": "(123) 456 7890",
"isPrimary": false,
"isEmergency": false,
"isBilling": false,
"isAdditional": true,
"deletedAt": "2023-12-05 14:30:41"
}
],
"pagination": {
"total": 15,
"count": 10,
"perPage": 10,
"currentPage": 1,
"totalPages": 2
}
}
Response examples (403)
{
"statusCode": 42.0,
"messages": [
"string"
],
"exception": {}
}