Contact
Contacts represent individual people in Lightfield. Contacts can be associated with one or more accounts.
Get contact field definitions
Get field value history
Create a contact
Update a contact
Retrieve a contact
List contacts
Delete a contact
ModelsExpand Collapse
ContactCreateResponse { id, createdAt, fields, 4 more }
fields: Record<string, Fields>Map of field names to their typed values. System fields are prefixed with $ (e.g. $name, $email); custom attributes use their bare slug.
Map of field names to their typed values. System fields are prefixed with $ (e.g. $name, $email); custom attributes use their bare slug.
ContactDefinitionsResponse { fieldDefinitions, objectType, relationshipDefinitions }
fieldDefinitions: Record<string, FieldDefinitions>Map of field keys to their definitions, including both system and custom fields.
Map of field keys to their definitions, including both system and custom fields.
typeConfiguration: TypeConfiguration { currency, handleService, multipleValues, 2 more } Type-specific configuration (e.g. select options, currency code).
Type-specific configuration (e.g. select options, currency code).
ContactDeleteResponse { id, createdAt, fields, 4 more }
fields: Record<string, Fields>Map of field names to their typed values. System fields are prefixed with $ (e.g. $name, $email); custom attributes use their bare slug.
Map of field names to their typed values. System fields are prefixed with $ (e.g. $name, $email); custom attributes use their bare slug.
ContactFieldHistoryResponse { data, hasMore, nextCursor }
data: Array<Data>Recorded values for the field, newest first.
Recorded values for the field, newest first.
Human-readable rendering of the value (e.g. a select option label), suitable for display.
True for the record’s original value. Only set when the full history fits in the response (never on a truncated/paginated page).
ContactListResponse { data, object, totalCount }
data: Array<Data>Array of entity objects for the current page.
Array of entity objects for the current page.
fields: Record<string, Fields>Map of field names to their typed values. System fields are prefixed with $ (e.g. $name, $email); custom attributes use their bare slug.
Map of field names to their typed values. System fields are prefixed with $ (e.g. $name, $email); custom attributes use their bare slug.
ContactRetrieveResponse { id, createdAt, fields, 4 more }
fields: Record<string, Fields>Map of field names to their typed values. System fields are prefixed with $ (e.g. $name, $email); custom attributes use their bare slug.
Map of field names to their typed values. System fields are prefixed with $ (e.g. $name, $email); custom attributes use their bare slug.
ContactUpdateResponse { id, createdAt, fields, 4 more }
fields: Record<string, Fields>Map of field names to their typed values. System fields are prefixed with $ (e.g. $name, $email); custom attributes use their bare slug.
Map of field names to their typed values. System fields are prefixed with $ (e.g. $name, $email); custom attributes use their bare slug.