{"templateId":"markdown","sharedDataIds":{"sidebar":"sidebar-docs/sidebars.yaml"},"props":{"metadata":{"markdoc":{"tagList":[]},"type":"markdown"},"seo":{"title":"Objects","projectTitle":"Frontline Documentation"},"dynamicMarkdocComponents":[],"compilationErrors":[],"ast":{"$$mdtype":"Tag","name":"article","attributes":{},"children":[{"$$mdtype":"Tag","name":"Heading","attributes":{"level":1,"id":"objects","__idx":0},"children":["Objects"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["An ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["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 ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Standard objects"]}," out of the box — ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["People"]},", ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Companies"]},", ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Deals"]},", and ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Tickets"]}," — and you can also create your own ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Custom objects"]}," to model entities specific to your business."]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["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 ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["custom"]}," field on every Object tells them apart — ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["false"]}," = Standard, ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["true"]}," = Custom."]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Compare to ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/docs/concepts/tables"},"children":["Tables"]},": Tables are flat spreadsheets. Objects are relational entities with record types, links between objects, activities, notes, tasks, and files."]},{"$$mdtype":"Tag","name":"blockquote","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["All ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["objects"]}," and ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["tables"]}," endpoints require a ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["USER"]}," API key. See ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/docs/authentication"},"children":["Authentication"]},"."]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"identity","__idx":1},"children":["Identity"]},{"$$mdtype":"Tag","name":"div","attributes":{"className":"md-table-wrapper"},"children":[{"$$mdtype":"Tag","name":"table","attributes":{"className":"md"},"children":[{"$$mdtype":"Tag","name":"thead","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Field"},"children":["Field"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Type"},"children":["Type"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Notes"},"children":["Notes"]}]}]},{"$$mdtype":"Tag","name":"tbody","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["id"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["number"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["name"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["string"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Internal identifier. Use as ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":[":name"]}," in route params."]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["display_name"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["string"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["User-facing name."]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["type"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["enum"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Always ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["\"object\""]}," for Objects (vs ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["\"table\""]}," for Tables)."]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["custom"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["boolean"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["true"]}," for Custom objects you created. ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["false"]}," for Standard objects provided by Frontline."]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["description"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["string?"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["emoji"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["string?"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Icon-key string"]}," from a fixed allowlist (e.g. ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["\"ticket\""]},", ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["\"briefcase\""]},", ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["\"life-buoy\""]},"). Not a Unicode emoji — that format only works for ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/docs/concepts/tables"},"children":["Tables"]},". The full key list lives in the CLI ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["resource-creation"]}," skill (165 keys: ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["home"]},", ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["user"]},", ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["building"]},", ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["chart"]},", ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["mail"]},", …)."]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["icon_color"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["string?"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Color name or hex."]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["field_count"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["number?"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Number of fields the object has."]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["created_at"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["string"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["ISO timestamp."]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["updated_at"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["string"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["ISO timestamp."]}]}]}]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["The ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["detail"]}," response also includes:"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["fields"]}," — array of fields (columns)."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["views"]}," — saved views."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["record_types"]}," — array of ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/docs/concepts/record-types"},"children":["Record Types"]},"."]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"fields-columns","__idx":2},"children":["Fields (columns)"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Each Object has typed fields (columns). The public API supports these types:"]},{"$$mdtype":"Tag","name":"div","attributes":{"className":"md-table-wrapper"},"children":[{"$$mdtype":"Tag","name":"table","attributes":{"className":"md"},"children":[{"$$mdtype":"Tag","name":"thead","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Type"},"children":["Type"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Use for"},"children":["Use for"]}]}]},{"$$mdtype":"Tag","name":"tbody","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["string"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Text. Subformats: ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["text"]}," (normal/long), ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["email"]},", ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["url"]},", ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["phone_number"]},"."]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["number"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Numbers. Subformats: ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["integer"]},", ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["decimal"]},", ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["percent"]},", ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["currency"]},"."]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["boolean"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Yes/no toggles."]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["date"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Date + time."]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["dateOnly"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Date without time."]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["tags"]}," / ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["select"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Single- or multi-select from a controlled list. (",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["select"]}," is an alias for ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["tags"]},".)"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["relation"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Link to another Object's records."]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["prismaRelation"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Link to a platform entity (e.g. account ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Users"]}," — the built-in assignee field)."]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["file"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Uploaded file attachment."]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["avatar"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Image displayed as the record's avatar."]}]}]}]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["For each type's ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["metadata"]}," keys, constraints (",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["required"]},", ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["unique"]},"), defaults, and the normal-vs-long text distinction, see ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/docs/concepts/field-types"},"children":["Field Types"]}]},"."]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Fields support per-type ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["metadata"]},", ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["required"]},", ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["unique"]},", ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["defaultValue"]},", and ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["order"]},". For the full catalog — every type, its metadata options, examples, default-value rules, and unique constraints — see ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/docs/concepts/field-types"},"children":["Field Types"]}]},"."]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"who-can-change-an-objects-schema","__idx":3},"children":["Who can change an Object's schema"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Reshaping an Object — updating or deleting the Object itself, and any change to its fields, ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["select"]}," options, or ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/docs/concepts/record-types"},"children":["record types"]}," — requires a ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["USER API key"]}," with ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["ADMIN"]}," or ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["OWNER"]}," role. Other roles get a ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["403"]},"."]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["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, ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/docs/concepts/record-types#record-level-security-rls"},"children":["record-level security"]},". ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/docs/concepts/tables#who-can-change-a-tables-schema"},"children":["Tables"]}," follow the looser sharing-based rule instead."]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"sub-resources","__idx":4},"children":["Sub-resources"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Every Object has the same CRUD surface for its sub-resources, exposed under ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["/public/v1/objects/{name}/..."]},":"]},{"$$mdtype":"Tag","name":"div","attributes":{"className":"md-table-wrapper"},"children":[{"$$mdtype":"Tag","name":"table","attributes":{"className":"md"},"children":[{"$$mdtype":"Tag","name":"thead","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Sub-resource"},"children":["Sub-resource"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"What it does"},"children":["What it does"]}]}]},{"$$mdtype":"Tag","name":"tbody","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["fields"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Add/edit/remove columns."]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["record-types"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Categorize records (e.g. \"Customer\" vs \"Vendor\"). See ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/docs/concepts/record-types"},"children":["Record Types"]},"."]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["views"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Saved filters/grids/kanban configurations."]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["rows"]}," / ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["records"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["The actual records. CRUD + bulk operations."]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["relation"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Link or unlink records to other Objects' records."]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["activities"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Log timeline activities on a record (see below)."]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["tasks"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Attach to-dos with due dates and assignees."]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["files"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Upload, list, and download files on a record."]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["aggregation"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Per-view aggregations (sum/avg/percent/etc.)."]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["export"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Export rows as XLSX or CSV."]}]}]}]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"activities","__idx":5},"children":["Activities"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Every object row has a ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["timeline"]}," you can log activities onto. An activity has ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["content"]},", an ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["activityDate"]},", and a ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["type"]},":"]},{"$$mdtype":"Tag","name":"div","attributes":{"className":"md-table-wrapper"},"children":[{"$$mdtype":"Tag","name":"table","attributes":{"className":"md"},"children":[{"$$mdtype":"Tag","name":"thead","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Activity type"},"children":["Activity type"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Use for"},"children":["Use for"]}]}]},{"$$mdtype":"Tag","name":"tbody","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["NOTE"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Free-form note (default)."]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["EMAIL"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["An email exchange."]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["PHONE_CALL"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["A phone call."]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["MEETING"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["A meeting."]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["WHATSAPP"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["A WhatsApp message."]}]}]}]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Activities work on ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["all"]}," objects — Standard and Custom alike. An activity can also reference a related record on another object (e.g. a ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["PHONE_CALL"]}," logged on a Person, related to a Deal)."]},{"$$mdtype":"Tag","name":"div","attributes":{"className":"md-table-wrapper"},"children":[{"$$mdtype":"Tag","name":"table","attributes":{"className":"md"},"children":[{"$$mdtype":"Tag","name":"thead","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Verb"},"children":["Verb"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Path"},"children":["Path"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Purpose"},"children":["Purpose"]}]}]},{"$$mdtype":"Tag","name":"tbody","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["GET"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["/public/v1/objects/{name}/rows/{rowId}/activities"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["List a row's activities."]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["POST"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["/public/v1/objects/{name}/rows/{rowId}/activities"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Log an activity (defaults to ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["NOTE"]},")."]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["GET"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["/public/v1/objects/{name}/activities/{id}"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Get an activity."]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["PATCH"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["/public/v1/objects/{name}/activities/{id}"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Update an activity."]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["DELETE"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["/public/v1/objects/{name}/activities/{id}"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Delete an activity."]}]}]}]}]},{"$$mdtype":"Tag","name":"blockquote","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["For ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["People"]}," and ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Companies"]},", the timeline is ",{"$$mdtype":"Tag","name":"em","attributes":{},"children":["also"]}," populated automatically from connected channels (agent conversations, Gmail/Outlook email, WhatsApp) — see ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/docs/concepts/standard-objects"},"children":["Standard Objects"]},". On Custom objects, you log activities yourself through the API."]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Standard objects (People, Companies, Deals, Tickets) can be customized (add fields, views, record types) but ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["cannot be deleted"]},". Custom objects can be fully deleted."]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"standard-objects","__idx":6},"children":["Standard objects"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["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."]},{"$$mdtype":"Tag","name":"div","attributes":{"className":"md-table-wrapper"},"children":[{"$$mdtype":"Tag","name":"table","attributes":{"className":"md"},"children":[{"$$mdtype":"Tag","name":"thead","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Object"},"children":["Object"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"name"},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["name"]}]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Noun"},"children":["Noun"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Purpose"},"children":["Purpose"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Default view"},"children":["Default view"]}]}]},{"$$mdtype":"Tag","name":"tbody","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/docs/concepts/standard-objects/people"},"children":["People"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["people"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Person"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Individual contacts"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Table"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/docs/concepts/standard-objects/companies"},"children":["Companies"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["companies"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Company"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Organizations / accounts"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Table"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/docs/concepts/standard-objects/deals"},"children":["Deals"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["deals"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Deal"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Sales opportunities"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Kanban grouped by Stage"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/docs/concepts/standard-objects/tickets"},"children":["Tickets"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["tickets"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Ticket"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Support / service requests"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Kanban grouped by Status"]}]}]}]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Each has built-in fields, relations, and automations (deduplication, domain-based linking, activity roll-up, enrichment, status tracking). See ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/docs/concepts/standard-objects"},"children":["Standard Objects"]}]}," for full field lists, relationships, and per-object behavior. Inspect any object's live shape with ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["frontline object schema <name>"]},"."]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"operations-top-level","__idx":7},"children":["Operations (top-level)"]},{"$$mdtype":"Tag","name":"div","attributes":{"className":"md-table-wrapper"},"children":[{"$$mdtype":"Tag","name":"table","attributes":{"className":"md"},"children":[{"$$mdtype":"Tag","name":"thead","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Verb"},"children":["Verb"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Path"},"children":["Path"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Purpose"},"children":["Purpose"]}]}]},{"$$mdtype":"Tag","name":"tbody","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["GET"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["/public/v1/objects"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["List"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["POST"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["/public/v1/objects"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Create a custom Object"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["GET"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["/public/v1/objects/{name}"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Detail"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["GET"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["/public/v1/objects/{name}/schema"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Schema-only (fields, types, formats)"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["PATCH"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["/public/v1/objects/{name}"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Update display name, emoji, color, description"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["DELETE"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["/public/v1/objects/{name}"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Delete (custom only)"]}]}]}]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["See the ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/reference/openapi"},"children":["API Reference"]}]}," for every sub-resource endpoint."]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"cli","__idx":8},"children":["CLI"]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"bash","header":{"controls":{"copy":{}}},"source":"frontline object list\nfrontline object get people\nfrontline object schema deals\nfrontline object create --data '{\"name\":\"custom_obj\",\"displayName\":\"Custom\",\"fields\":[{\"name\":\"title\",\"type\":\"string\",\"metadata\":{\"format\":\"text\"}}]}'\nfrontline object record list deals\nfrontline object relation link deals 123 --target companies --target-id 45\nfrontline object activity create people <rowId> --content \"Intro call\" --type PHONE_CALL\n","lang":"bash"},"children":[]}]},"headings":[{"value":"Objects","id":"objects","depth":1},{"value":"Identity","id":"identity","depth":2},{"value":"Fields (columns)","id":"fields-columns","depth":2},{"value":"Who can change an Object's schema","id":"who-can-change-an-objects-schema","depth":2},{"value":"Sub-resources","id":"sub-resources","depth":2},{"value":"Activities","id":"activities","depth":3},{"value":"Standard objects","id":"standard-objects","depth":2},{"value":"Operations (top-level)","id":"operations-top-level","depth":2},{"value":"CLI","id":"cli","depth":2}],"frontmatter":{"seo":{"title":"Objects"}},"lastModified":"2026-07-30T18:29:31.000Z","pagePropGetterError":{"message":"","name":""}},"slug":"/docs/concepts/objects","userData":{"isAuthenticated":false,"teams":["anonymous"]},"isPublic":true}