GET
/v1/custom-fields/
curl \
--request GET 'https://classmanager.test/v1/custom-fields/'
Response examples (200)
{
"data": [
{
"id": "cf_123123123123",
"companyId": "co_123123123123",
"type": "text",
"title": "Custom Field Title",
"entity": "staff",
"options": [
"answer1",
"answer2"
]
}
],
"pagination": {
"total": 15,
"count": 10,
"perPage": 10,
"currentPage": 1,
"totalPages": 2
}
}
Response examples (403)
{
"statusCode": 42.0,
"messages": [
"string"
],
"exception": {}
}