Custom Fields
Retrieve a list of Custom Fields
Changed onRetrieves a paginated list of Custom Fields, optionally filtered by entity type.
get/v2/customfields
Request
- Base URLhttps://api.workiz.com/crm/api
- Authnone declared. Required headers: Authorization
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Query parameters
pageSizenumber
Example:10
Number of records to return per page.
pagenumber
Example:1
The page index.
entityType'JOB' | 'CLIENT'
Filter results by the entity the custom field belongs to.
Headers
Authorizationstring required
Example:Bearer <token>
Bearer Token
Response
A paginated list of Custom Fields.
Example response
{
"pageSize": 10,
"page": 1,
"totalResults": 50,
"hasMore": true,
"data": [
{
"id": "CF-eYLPK7198xVp6Z8q",
"entityType": "JOB",
"name": "Custom Field 1",
"type": "Text",
"groupId": "CFG-eYLPK7198xVp6Z8q",
"jobTypes": [
{
"id": "JT-8718036049ec4c4d",
"name": "Repair"
}
],
"options": [
"option 1",
"option 2",
"option 3"
],
"position": 1
}
]
}Changes
- info
added the media type
application/jsonfor the response with the status - info
added the media type
application/jsonfor the response with the status - info
added the non-success response with the status
- info
added the non-success response with the status
- info