Custom Fields
Custom fields let you add your own typed attributes to candidate profiles, on top of the built-in ones. You define each field once for your organization, choosing its type and (optionally) a fixed set of allowed values. You then set a value for each candidate, and filter and sort candidates by those values in Popp.
How custom fields work
-
Define the field. Create a field definition with the endpoints in this section: its
type, afieldKeyyou use to refer to it, a displaylabel, and, for a dropdown, itsallowedValues. -
Set candidate values. Send values in
customFieldswhen you create or update a candidate, keyed byfieldKey. Each value must match the field'stype: a string forTEXT, an array of strings forTEXT_ARRAY, a number forNUMBER, a boolean forBOOLEAN, and a date string forDATE. Sendingnullfor a key clears that candidate's value. -
Filter and sort. In Popp's internal sourcing, each custom field can be shown as a column and used to filter and sort candidates. Fixed-option and text fields filter by match, and numbers and dates by range.
A value that names an unknown field, or doesn't match the field's type, is rejected. In SYNC mode the request returns 400. In ASYNC mode the request is accepted and the problem is reported on the candidate processing webhook.
A worked example
Suppose you recruit for roles that require a security clearance and you want to track it per candidate.
First, define the field once:
POST /v1/custom-fields{
"fieldKey": "clearanceLevel",
"label": "Clearance Level",
"type": "TEXT",
"hasFixedOptions": true,
"allowedValues": ["None", "Basic", "Enhanced"]
}You might also define a free-input NUMBER field yearsExperience, and a TEXT_ARRAY field certifications.
Then set each candidate's values when you send the candidate:
POST /v1/candidates{
"mode": "SYNC",
"externalId": "candidate-123",
"customFields": {
"clearanceLevel": "Enhanced",
"yearsExperience": 7,
"certifications": ["AWS Solutions Architect", "CISSP"]
}
}In Popp you can now filter your candidates to, say, clearanceLevel = Enhanced and yearsExperience >= 5, and shortlist from there.
Field types
Each field has a fixed type, chosen at creation and immutable afterwards:
TEXT— a single free-text value.TEXT_ARRAY— multiple text values.NUMBER— a numeric value.DATE— a date.BOOLEAN— true or false.
Set hasFixedOptions to true to constrain a field to a fixed list of allowedValues (a dropdown); leave it false for free input. The two must stay consistent: a fixed-options field needs a non-empty allowedValues, and a free-input field must not carry any.
Showing a date as an age
A DATE field can be shown as an age instead of a date. Set displayAs to AGE, on create or later with an update, for a field such as a date of birth:
{
"fieldKey": "dateOfBirth",
"label": "Age",
"type": "DATE",
"hasFixedOptions": false,
"displayAs": "AGE"
}You still send and store the date; the age is worked out from it on the day it is viewed, so it stays correct without you updating anything. Without displayAs, a DATE field shows as a date. AGE on any other type returns 400. Filtering and sorting by age are not supported.
Showing a number as a salary
A NUMBER field can be shown as a formatted amount. Set displayAs to SALARY, on create or later with an update:
{
"fieldKey": "salaryAmount",
"label": "Salary",
"type": "NUMBER",
"hasFixedOptions": false,
"displayAs": "SALARY"
}The value shows with comma thousand separators, and with two decimals only when it has a fraction, rounded to two places: 35000 shows as 35,000, 45000.5 as 45,000.50 and 1234.567 as 1,234.57. No currency symbol is added. You still send and store the plain number, and the API returns it unchanged. Filtering and sorting use the stored number. SALARY on any other type returns 400.
Capacity and deletion
There is a maximum number of fields per type. Deleting a field is permanent and does not free that capacity: the field is retired, not reused. Plan your fields before creating them, and treat deletes as final. A create that exceeds the limit for a type returns 400.
Scoping
Every request is scoped to the organization resolved from your API key. You cannot read or modify another organization's fields, and any organizationId in a request body is ignored.
Updated 14 days ago
