Add Custom Field
Adds a custom staff profile field, such as “Shirt Size”. Shared rules: see Writing data.
- The body is closed: an unknown field is refused with
400"Unknown field."Counts toward your write budget. nameis required, at most 30 characters, and must be unique in the company:400onname, “A custom field with this name already exists.” Repeating the same request is harmless.- A company can have a limited number of custom fields: past it,
400onname, “You cannot add more than N custom fields.” - The field starts empty for every staff member. There is no delete.
Authentication
AuthorizationApi-Key
Format: “Api-Key {api-key}”
Request
This endpoint expects an object.
name
Field name. Unique in the company.
Response
The custom field was added.
message
status
data
Errors
400
Bad Request Error
403
Forbidden Error
