Skip to content
Last updated

Objects

An Object is a CRM entity in Frontline — a typed collection of records with relationships, multiple visual views, and (optionally) several record types. Frontline ships four Standard objects out of the box — People, Companies, Deals, and Tickets — and you can also create your own Custom objects to model entities specific to your business.

The only structural difference between the two is provenance: Standard objects come pre-provisioned (and carry some built-in fields, relations, and automations), while Custom objects are ones you create. Both expose the exact same API surface. The boolean custom field on every Object tells them apart — false = Standard, true = Custom.

Compare to Tables: Tables are flat spreadsheets. Objects are relational entities with record types, links between objects, activities, notes, tasks, and files.

All objects and tables endpoints require a USER API key. See Authentication.

Identity

FieldTypeNotes
idnumber
namestringInternal identifier. Use as :name in route params.
display_namestringUser-facing name.
typeenumAlways "object" for Objects (vs "table" for Tables).
custombooleantrue for Custom objects you created. false for Standard objects provided by Frontline.
descriptionstring?
emojistring?Icon-key string from a fixed allowlist (e.g. "ticket", "briefcase", "life-buoy"). Not a Unicode emoji — that format only works for Tables. The full key list lives in the CLI resource-creation skill (165 keys: home, user, building, chart, mail, …).
icon_colorstring?Color name or hex.
field_countnumber?Number of fields the object has.
created_atstringISO timestamp.
updated_atstringISO timestamp.

The detail response also includes:

  • fields — array of fields (columns).
  • views — saved views.
  • record_types — array of Record Types.

Fields (columns)

Each Object has typed fields (columns). The public API supports these types:

TypeUse for
stringText. Subformats: text (normal/long), email, url, phone_number.
numberNumbers. Subformats: integer, decimal, percent, currency.
booleanYes/no toggles.
dateDate + time.
dateOnlyDate without time.
tags / selectSingle- or multi-select from a controlled list. (select is an alias for tags.)
relationLink to another Object's records.
prismaRelationLink to a platform entity (e.g. account Users — the built-in assignee field).
fileUploaded file attachment.
avatarImage displayed as the record's avatar.

For each type's metadata keys, constraints (required, unique), defaults, and the normal-vs-long text distinction, see Field Types.

Fields support per-type metadata, required, unique, defaultValue, and order. For the full catalog — every type, its metadata options, examples, default-value rules, and unique constraints — see Field Types.

Who can change an Object's schema

Reshaping an Object — updating or deleting the Object itself, and any change to its fields, select options, or record types — requires a USER API key with ADMIN or OWNER role. Other roles get a 403.

An Object's schema is the account's shared CRM model, so it is not delegated through resource sharing. Reading the schema and working with rows are governed separately by record-type permissions and, when enabled, record-level security. Tables follow the looser sharing-based rule instead.

Sub-resources

Every Object has the same CRUD surface for its sub-resources, exposed under /public/v1/objects/{name}/...:

Sub-resourceWhat it does
fieldsAdd/edit/remove columns.
record-typesCategorize records (e.g. "Customer" vs "Vendor"). See Record Types.
viewsSaved filters/grids/kanban configurations.
rows / recordsThe actual records. CRUD + bulk operations.
relationLink or unlink records to other Objects' records.
activitiesLog timeline activities on a record (see below).
tasksAttach to-dos with due dates and assignees.
filesUpload, list, and download files on a record.
aggregationPer-view aggregations (sum/avg/percent/etc.).
exportExport rows as XLSX or CSV.

Activities

Every object row has a timeline you can log activities onto. An activity has content, an activityDate, and a type:

Activity typeUse for
NOTEFree-form note (default).
EMAILAn email exchange.
PHONE_CALLA phone call.
MEETINGA meeting.
WHATSAPPA WhatsApp message.

Activities work on all objects — Standard and Custom alike. An activity can also reference a related record on another object (e.g. a PHONE_CALL logged on a Person, related to a Deal).

VerbPathPurpose
GET/public/v1/objects/{name}/rows/{rowId}/activitiesList a row's activities.
POST/public/v1/objects/{name}/rows/{rowId}/activitiesLog an activity (defaults to NOTE).
GET/public/v1/objects/{name}/activities/{id}Get an activity.
PATCH/public/v1/objects/{name}/activities/{id}Update an activity.
DELETE/public/v1/objects/{name}/activities/{id}Delete an activity.

For People and Companies, the timeline is also populated automatically from connected channels (agent conversations, Gmail/Outlook email, WhatsApp) — see Standard Objects. On Custom objects, you log activities yourself through the API.

Standard objects (People, Companies, Deals, Tickets) can be customized (add fields, views, record types) but cannot be deleted. Custom objects can be fully deleted.

Standard objects

Every account is pre-provisioned with four objects. They are extensible (you can add custom fields) but not deletable, and several of their fields are read-only or maintained by background automations.

ObjectnameNounPurposeDefault view
PeoplepeoplePersonIndividual contactsTable
CompaniescompaniesCompanyOrganizations / accountsTable
DealsdealsDealSales opportunitiesKanban grouped by Stage
TicketsticketsTicketSupport / service requestsKanban grouped by Status

Each has built-in fields, relations, and automations (deduplication, domain-based linking, activity roll-up, enrichment, status tracking). See Standard Objects for full field lists, relationships, and per-object behavior. Inspect any object's live shape with frontline object schema <name>.

Operations (top-level)

VerbPathPurpose
GET/public/v1/objectsList
POST/public/v1/objectsCreate a custom Object
GET/public/v1/objects/{name}Detail
GET/public/v1/objects/{name}/schemaSchema-only (fields, types, formats)
PATCH/public/v1/objects/{name}Update display name, emoji, color, description
DELETE/public/v1/objects/{name}Delete (custom only)

See the API Reference for every sub-resource endpoint.

CLI

frontline object list
frontline object get people
frontline object schema deals
frontline object create --data '{"name":"custom_obj","displayName":"Custom","fields":[{"name":"title","type":"string","metadata":{"format":"text"}}]}'
frontline object record list deals
frontline object relation link deals 123 --target companies --target-id 45
frontline object activity create people <rowId> --content "Intro call" --type PHONE_CALL