get https://api.factorialhr.com/api/v2/custom_fields/fields
This endpoint allows you to retrieve custom fields by id, label, slug name, slug name. You receive fields tagged in the response by a slug.
For now, there is one acceptable slug name:
employees-questions
which refers to fields relating to an employee
You can filter by:
- id: You can query a field by its id. For example
T-shirt size
identifier is 4. you can search the custom field by the id 4. - label: you can query a field by its label for example
T shirt size
- slug_name: You can use the available slug
employees-questions
in theslug_name
field to filter fields that belong to this slug. - slug_id: It is the identifier of the slug_name. You can use the id of a slug to query custom fields by its id instead of its name.