Skip to main content
POST
Create or update a custom field value

Authorizations

Authorization
string
header
required

Company-scoped API key. Production keys are prefixed sk_live_, sandbox keys sk_test_, each followed by 22 base62 characters (pattern ^sk_(live|test)_[0-9A-Za-z]{22}$). Generate keys in the TapTalent dashboard under Account Settings → Developers → API Key Management; a key is shown once at generation and old keys are invalidated immediately on regeneration.

Body

application/json

Request body for creating or updating a custom field value. The operation is an upsert keyed on customFieldId, entityType, entityId, and parentEntityId.

customFieldId
integer
required

The ID of the custom field.

Example:

58

entityType
enum<string>
required

The entity a custom field applies to.

Available options:
candidate,
job
entityId
integer
required

The ID of the candidate or job.

Example:

12345

value
any
required

The stored value. Its JSON type depends on the fieldType of the custom field definition identified by customFieldId:

Storage note: text, textarea, and select values are stored as strings in the value column (multi-select arrays are stored there as JSON stringified arrays); numbers are stored in the valueNumber column as decimals; dates in the valueDate column as DATEONLY (YYYY-MM-DD); checkbox booleans in the valueBoolean column.

Examples:

"Some text"

"Long text content"

42.5

"2024-01-15"

true

"Option 1"

parentEntityType
string

Parent entity type for nested fields. Set to work_experience when the value belongs to a field nested within a candidate's work experience.

parentEntityId
integer

Parent entity ID for nested fields. For work experiences this is the work experience's unique ID, typically an epoch timestamp.

Response

The created or updated custom field value. The source documentation does not include a response example for this endpoint; see the schema's inference note.

Envelope returned after creating or updating a custom field value. Response schema inferred from related endpoints; not yet verified against production behavior.

status
enum<string>
required

Always success for successful requests.

Available options:
success
data
object
required

A stored custom field value linking a custom field definition to a specific candidate or job.