Account
Accounts represent companies or organizations in Lightfield. Each account can have contacts, opportunities, tasks, and notes associated with it.
Get account field definitions
Create an account
Update an account
ModelsExpand Collapse
class AccountCreateResponse: …
Unique identifier for the entity.
ISO 8601 timestamp of when the entity was created.
fields: Dict[str, 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.
value: Union[str, float, bool, 3 more]The field value, or null if unset.
The field value, or null if unset.
List[Union[str, float, bool, 3 more]]
Dict[str, Union[str, float, bool, 3 more]]
value_type: Literal["ADDRESS", "CHECKBOX", "CURRENCY", 11 more]The data type of the field.
The data type of the field.
URL to view the entity in the Lightfield web app, or null.
relationships: Dict[str, Relationships]Map of relationship names to their associated entities. System relationships are prefixed with $ (e.g. $owner, $contact).
Map of relationship names to their associated entities. System relationships are prefixed with $ (e.g. $owner, $contact).
Whether the relationship is has_one or has_many.
The type of the related object (e.g. account, contact).
IDs of the related entities.
class AccountDefinitionsResponse: …
field_definitions: Dict[str, 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.
Description of the field, or null.
Human-readable display name of the field.
type_configuration: Dict[str, Union[str, float, bool, 3 more]]Type-specific configuration (e.g. select options, currency code).
Type-specific configuration (e.g. select options, currency code).
List[Union[str, float, bool, 3 more]]
Dict[str, Union[str, float, bool, 3 more]]
value_type: Literal["ADDRESS", "CHECKBOX", "CURRENCY", 11 more]Data type of the field.
Data type of the field.
Unique identifier of the field definition.
true for fields that are not writable via the API (e.g. AI-generated summaries). false or absent for writable fields.
The object type these definitions belong to (e.g. account).
relationship_definitions: Dict[str, RelationshipDefinitions]Map of relationship keys to their definitions.
Map of relationship keys to their definitions.
cardinality: Literal["HAS_ONE", "HAS_MANY"]Whether this is a has_one or has_many relationship.
Whether this is a has_one or has_many relationship.
Description of the relationship, or null.
Human-readable display name of the relationship.
The type of the related object (e.g. account, contact).
Unique identifier of the relationship definition.
class AccountListResponse: …
data: List[Data]Array of entity objects for the current page.
Array of entity objects for the current page.
Unique identifier for the entity.
ISO 8601 timestamp of when the entity was created.
fields: Dict[str, DataFields]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.
value: Union[str, float, bool, 3 more]The field value, or null if unset.
The field value, or null if unset.
List[Union[str, float, bool, 3 more]]
Dict[str, Union[str, float, bool, 3 more]]
value_type: Literal["ADDRESS", "CHECKBOX", "CURRENCY", 11 more]The data type of the field.
The data type of the field.
URL to view the entity in the Lightfield web app, or null.
relationships: Dict[str, DataRelationships]Map of relationship names to their associated entities. System relationships are prefixed with $ (e.g. $owner, $contact).
Map of relationship names to their associated entities. System relationships are prefixed with $ (e.g. $owner, $contact).
Whether the relationship is has_one or has_many.
The type of the related object (e.g. account, contact).
IDs of the related entities.
The object type, always "list".
Total number of entities matching the query.
class AccountRetrieveResponse: …
Unique identifier for the entity.
ISO 8601 timestamp of when the entity was created.
fields: Dict[str, 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.
value: Union[str, float, bool, 3 more]The field value, or null if unset.
The field value, or null if unset.
List[Union[str, float, bool, 3 more]]
Dict[str, Union[str, float, bool, 3 more]]
value_type: Literal["ADDRESS", "CHECKBOX", "CURRENCY", 11 more]The data type of the field.
The data type of the field.
URL to view the entity in the Lightfield web app, or null.
relationships: Dict[str, Relationships]Map of relationship names to their associated entities. System relationships are prefixed with $ (e.g. $owner, $contact).
Map of relationship names to their associated entities. System relationships are prefixed with $ (e.g. $owner, $contact).
Whether the relationship is has_one or has_many.
The type of the related object (e.g. account, contact).
IDs of the related entities.
class AccountUpdateResponse: …
Unique identifier for the entity.
ISO 8601 timestamp of when the entity was created.
fields: Dict[str, 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.
value: Union[str, float, bool, 3 more]The field value, or null if unset.
The field value, or null if unset.
List[Union[str, float, bool, 3 more]]
Dict[str, Union[str, float, bool, 3 more]]
value_type: Literal["ADDRESS", "CHECKBOX", "CURRENCY", 11 more]The data type of the field.
The data type of the field.
URL to view the entity in the Lightfield web app, or null.
relationships: Dict[str, Relationships]Map of relationship names to their associated entities. System relationships are prefixed with $ (e.g. $owner, $contact).
Map of relationship names to their associated entities. System relationships are prefixed with $ (e.g. $owner, $contact).
Whether the relationship is has_one or has_many.
The type of the related object (e.g. account, contact).
IDs of the related entities.