curl --request GET \
--url https://api.meetcampfire.com/ca/api/v1/custom-fields \
--header 'Authorization: <api-key>'
{
"count": 123,
"next": "http://api.example.org/accounts/?offset=400&limit=100",
"previous": "http://api.example.org/accounts/?offset=200&limit=100",
"results": [
{
"id": 123,
"app": "<string>",
"model": "<string>",
"name": "<string>",
"label": "<string>",
"field_type": "text",
"options": "<any>",
"is_required": true,
"display_order": -1,
"is_active": true,
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z"
}
]
}
List all custom fields for a given app and model
curl --request GET \
--url https://api.meetcampfire.com/ca/api/v1/custom-fields \
--header 'Authorization: <api-key>'
{
"count": 123,
"next": "http://api.example.org/accounts/?offset=400&limit=100",
"previous": "http://api.example.org/accounts/?offset=200&limit=100",
"results": [
{
"id": 123,
"app": "<string>",
"model": "<string>",
"name": "<string>",
"label": "<string>",
"field_type": "text",
"options": "<any>",
"is_required": true,
"display_order": -1,
"is_active": true,
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z"
}
]
}
Token-based authentication with required prefix "Token"
App name
Filter by active status
Number of results to return per page.
Model name
The initial index from which to return the results.
The response is of type object
.