CustomFields > Value
Creates a Value
Changed onCreates a Value
post/api/2026-10-01/resources/custom_fields/values
Request
- Base URLhttps://api.factorialhr.com
- URLhttps://api.factorialhr.com/api/2026-10-01/resources/custom_fields/values
- Auth
- OAuth 2Authorization code: https://id.factorialhr.com/oauth/authorizeToken URL: https://id.factorialhr.com/api/oauth/token scopes: custom_fields
- or API key in header x-api-key
Request body
Example request
{
"field_id": "1",
"valuable_type": "Employee",
"valuable_id": "1",
"value": "This is an example value for a custom field"
}Response
CREATED
Example response
{
"id": "73",
"value": "1235436",
"long_text_value": "1235436",
"custom_field_identifier": "01f931507aa27e1168025e27cd46b8588435b741",
"date_value": "2024-10-06",
"single_choice_value": "Option 1",
"cents_value": 100,
"valuable_id": "18",
"field_id": "75",
"valuable_type": "Employee",
"label": "Matricule",
"required": true,
"usage_group_id": "37",
"usage_group_slug": "employees-questions",
"updated_at": "2024-10-06T00:00:00.000Z"
}Changes
- info
endpoint added
- info