Skip to content
v1

Reference All objects

All objects

Every object the API returns, field by field, with an example of each.

Every object the API returns is on this page, with its fields and an example. Each resource's reference page shows the same objects next to the endpoints that return them.

How responses are shaped

Read responses use the following shapes; CRM mutation results are described below:

  • One object. A request for one record returns the object itself. GET /v1/leads/{id} returns the lead with its two facets, attribution and response, inside it.
  • A list. Lists return object: "list", the objects in data, has_more, and next_cursor, which is null on the last page. Lists and pagination explains it.
  • A changes-feed page. The same envelope, but data holds feed items (the FeedItem object below) and next_cursor is always a string, even on an empty page. Keep a copy in sync explains it.
  • An error. An application/problem+json body, described in Errors.
  • The health check. GET /v1/health answers {"object": "health", "status": "ok"}.

Records, such as a lead, a call or a team, carry object, which names their type, and livemode, which is true on everything the API returns. The records the changes feed delivers also carry version and updated_at, as Conventions explains.

CRM writes can return lead_mutation (current lead and creation outcome), lead_note_receipt (note metadata without content), lead_validation, or an empty 204 after note deletion. Their wrappers are not ordinary feed records. See CRM writes and notes.

How to read a field list

  • Every field is always there. In a response, each field listed is present in every object, as specified by its schema. A feed item carries exactly one of object and removed; an error carries param only when it names one, and mutation wrappers can have documented optional fields. A field with no value is null: never missing, and never an empty string.
  • Nullable marks a field that can be null. Data coverage says what a null can mean for each kind of fact.
  • Possible values lists the values a field can take today. New values can appear in any version, so keep the record when you meet one you do not know, as Conventions explains.
  • Ids show the prefix of the record they point to, such as brd_ for a board, and a type that is another object links to it.
  • Nested objects are folded: open one to see its fields.

The same information is in the OpenAPI document, and every example comes from the kit's example data, fixtures.json: fictitious contacts with livemode: false.

The Me object

The integration that owns the key, with the teams the key reads.

Attributes

  • object string

    Always integration.

  • id string ID prefix prn_…

    Public id of the integration.

  • principal_kind string May be absent

    Present only for a hosted service identity. Its empty team list grants no team access; each operation still requires its signed execution context.

    Value
    • automation_service
  • livemode boolean

    true for a real key; false in example data.

  • name string

    The name an administrator gave the integration.

  • key object

    The key used for this request.

  • teams Array<string> ID prefix team_…

    The teams this key reads today. Their details are in GET /v1/teams.

  • scopes Array<string>

    The key’s explicitly granted scopes; old read-only keys never gain writes or note content implicitly.

    Possible values
    • teams:read
    • crm:read
    • calls:read
    • messages:read
    • calendar:read
    • crm:write
Me · exampleJSON
{
  "object": "integration",
  "id": "prn_m1NFIcoIU8smXfqR4ymgt6j07TfRF",
  "livemode": false,
  "name": "Example CRM sync",
  "key": {
    "last4": "Q7xZ"
  },
  "teams": [
    "team_r9uYrIW4gSFJJ6hZQ9ip1UIpPaAD1CF7NR"
  ],
  "scopes": [
    "teams:read",
    "crm:read",
    "calls:read",
    "messages:read",
    "calendar:read"
  ]
}

The Team object

A team this key reads, with its time zone and default country.

Attributes

  • id string ID prefix team_…

    Public id of the record.

  • object string

    Always team.

  • livemode boolean

    true for real data; false in example data.

  • name string Nullable ≥ 1 chars

    The team's name as it appears in Totem, or null when none is stored.

  • timezone string ≥ 1 chars

    The team's IANA time zone: its business-hours zone when that is valid, otherwise its default country's (Europe/Madrid when neither is set). Interpret the team's local times with it.

  • default_country string Nullable Pattern ^[A-Z]{2}$

    The team's default country (ISO 3166-1 alpha-2), which Totem uses when someone types a phone number without a prefix; null when none is set. The API does not apply it: Lead.phone is validated without a default country, so a number stored without its country prefix reads phone_status: invalid.

Team · exampleJSON
{
  "id": "team_r9uYrIW4gSFJJ6hZQ9ip1UIpPaAD1CF7NR",
  "object": "team",
  "livemode": false,
  "name": "Example Dental",
  "timezone": "America/New_York",
  "default_country": "US"
}

The Member object

A team member, by display name only: Totem exports no email, phone or role.

Attributes

  • id string ID prefix mem_…

    Public id of the record.

  • object string

    Always member.

  • livemode boolean

    true for real data; false in example data.

  • team string ID prefix team_…

    The team this record belongs to.

  • display_name string Nullable ≥ 1 chars

    The member's display name, or first and last name, or null when none is stored. Totem exports no email, phone or role.

Member · exampleJSON
{
  "id": "mem_h548E7UiYhutHhucVrQCzkM0eaea0",
  "object": "member",
  "livemode": false,
  "team": "team_r9uYrIW4gSFJJ6hZQ9ip1UIpPaAD1CF7NR",
  "display_name": "Sam Lee"
}

The Lead object

A lead or client record: lead fields only.

Attributes

  • id string ID prefix lead_…

    Public id of the record.

  • object string

    Always lead.

  • livemode boolean

    true for real data; false in example data.

  • team string ID prefix team_…

    The team the record belongs to.

  • record_kind string

    lead when the record has a pipeline status, otherwise client. A lead whose status this version does not know reads status: null.

    Possible values
    • lead
    • client
  • name string Nullable

    First name or display name, or null.

  • surname string Nullable

    Surname, or null.

  • date_of_birth string Nullable Format date Pattern ^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))$

    Civil date of birth in YYYY-MM-DD, without a time or timezone; null when missing, cleared or invalid.

  • email string Nullable

    Email address as stored, or null.

  • company string Nullable

    Company, or null.

  • website string Nullable

    Contact website as stored, without fetching it, or null.

  • phone string Nullable

    Phone in E.164, only when the stored number validates; otherwise null.

  • phone_status string

    valid (see phone), invalid (a number is stored but does not validate, for example one stored without its country prefix) or missing.

    Possible values
    • valid
    • invalid
    • missing
  • status string Nullable

    Pipeline status; null for a client record, or for a status this version does not know. converted is not "won".

    Possible values
    • new
    • contacted
    • qualified
    • negotiating
    • converted
    • lost
    • archived
    • unreachable
  • status_set_by string Nullable

    Who set the current status: a person, the AI, Totem automation, an API caller, or unknown (no recorded transition lands on it). Null when status is null.

    Possible values
    • human
    • ai
    • system
    • api
    • unknown
  • archive_reason string Nullable

    Why the record was archived, as a closed code; stored free text is other. Null when none is stored.

    Possible values
    • opt_out
    • no_consent
    • not_interested
    • not_qualified
    • no_contact
    • merged
    • family_transfer
    • other
  • archived_from_status string Nullable

    The status the lead had before its current archive; null while it is not archived or when unknown.

    Possible values
    • new
    • contacted
    • qualified
    • negotiating
    • converted
    • lost
    • archived
    • unreachable
  • contact_permissions object

    Contact permissions. Apply them before any outreach from your own systems.

  • merged_into string Nullable ID prefix lead_…

    The lead this record was merged into, or null (also when that lead no longer exists).

  • transferred_to object Nullable

    Where a transfer to another team of your organization sent this lead, or null. The team may be one your key does not read.

  • revived_at string Nullable Format date-time

    When the contact last came back on their own and revived an archived lead, or null.

  • pipeline_cleared boolean

    True when the lead was converted with "clear pipeline data": board, stage, priority, assignees, estimated value and the source fields other than source_channel are null because they were cleared.

  • converted_at string Nullable Format date-time

    When the lead was converted, while its status is converted; otherwise null.

  • value_at_conversion number Nullable

    The estimated value when it was converted, in major units. Survives "clear pipeline data".

  • priority string Nullable

    Priority, or null.

    Possible values
    • low
    • medium
    • high
    • urgent
  • tags Array<string>

    Labels as stored. lead and booking are system labels.

  • board string Nullable ID prefix brd_…

    The board, resolved through the stage when it has one; or null.

  • stage string Nullable ID prefix stg_…

    The stage, or null.

  • assignees Array<string> Nullable ID prefix mem_…

    Assigned members, sorted. Null when the record has no pipeline data.

  • estimated_value number Nullable

    Estimated value in major units as stored (decimals allowed), or null.

  • estimated_value_currency null Nullable

    Always null: Totem stores no currency with the value.

  • source string Nullable

    The stored lead source; api also covers leads created by Totem itself (for example from a conversation or a call), see source_detail. Null when none is stored.

    Possible values
    • meta_lead_ads
    • manual
    • website_form
    • booking_page
    • csv_import
    • api
  • source_channel string Nullable

    The channel the record started on (for example whatsapp, phone, widget), or null. Team members can edit it.

  • source_detail string Nullable

    conversation, call, external:<provider>, gated_ad:<source>, family_handoff, api_intake or unknown; null when source needs no detail.

  • source_provenance string Nullable

    server_written when Totem set the source from what the ad platform reported; otherwise member_editable (team members can change it). Null with source.

    Possible values
    • server_written
    • member_editable
  • created_at string Format date-time

    When the record was created.

  • version integer Range ≥ 1

    Increases every time one of the record's exported fields changes. Apply a change only when its version is greater than the one you hold.

  • updated_at string Format date-time

    When Totem recorded this version (UTC). It is not the time the business event happened.

Lead · exampleJSON
{
  "id": "lead_r72EfbRNUzuqORFJR0O8HxAwEXd93jGUTYMaMMXKSF0QbLS8CiUKJpEP34LFQG",
  "object": "lead",
  "livemode": false,
  "team": "team_r9uYrIW4gSFJJ6hZQ9ip1UIpPaAD1CF7NR",
  "record_kind": "lead",
  "name": "Alex",
  "surname": "Rivera",
  "date_of_birth": "1990-04-23",
  "email": "alex.rivera@example.com",
  "company": "Example Dental",
  "website": null,
  "phone": "+12025550123",
  "phone_status": "valid",
  "status": "contacted",
  "status_set_by": "ai",
  "archive_reason": null,
  "archived_from_status": null,
  "contact_permissions": {
    "do_not_contact": false,
    "email_opt_out": false,
    "email_opt_out_at": null,
    "whatsapp_consent": null,
    "provenance": {
      "do_not_contact": null,
      "email_opt_out": null,
      "whatsapp_consent": null
    }
  },
  "merged_into": null,
  "transferred_to": null,
  "revived_at": null,
  "pipeline_cleared": false,
  "converted_at": null,
  "value_at_conversion": null,
  "priority": "high",
  "tags": [
    "spring-check-up"
  ],
  "board": "brd_r72EfbRNUzuqORFJR0O8HxAwEXd93jGUTYMaMMX3trzsVUZQuHcMSuDh1aRIst",
  "stage": "stg_r72EfbRNUzuqORFJR0O8HxAwEXd93jGUTYMaMMXWBYWcKwVTY3CRZlVS3oYvs0",
  "assignees": [
    "mem_h548E7UiYhutHhucVrQCzkM0eaea0"
  ],
  "estimated_value": 1200,
  "estimated_value_currency": null,
  "source": "meta_lead_ads",
  "source_channel": null,
  "source_detail": null,
  "source_provenance": "member_editable",
  "created_at": "2026-09-28T10:15:00.000Z",
  "version": 3,
  "updated_at": "2026-09-28T10:20:01.250Z"
}

The LeadDetail object

A lead with its attribution and response facets, each with its own version. A facet is null only while Totem is still preparing it.

Attributes

  • id string ID prefix lead_…

    Public id of the record.

  • object string

    Always lead.

  • livemode boolean

    true for real data; false in example data.

  • team string ID prefix team_…

    The team the record belongs to.

  • record_kind string

    lead when the record has a pipeline status, otherwise client. A lead whose status this version does not know reads status: null.

    Possible values
    • lead
    • client
  • name string Nullable

    First name or display name, or null.

  • surname string Nullable

    Surname, or null.

  • date_of_birth string Nullable Format date Pattern ^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))$

    Civil date of birth in YYYY-MM-DD, without a time or timezone; null when missing, cleared or invalid.

  • email string Nullable

    Email address as stored, or null.

  • company string Nullable

    Company, or null.

  • website string Nullable

    Contact website as stored, without fetching it, or null.

  • phone string Nullable

    Phone in E.164, only when the stored number validates; otherwise null.

  • phone_status string

    valid (see phone), invalid (a number is stored but does not validate, for example one stored without its country prefix) or missing.

    Possible values
    • valid
    • invalid
    • missing
  • status string Nullable

    Pipeline status; null for a client record, or for a status this version does not know. converted is not "won".

    Possible values
    • new
    • contacted
    • qualified
    • negotiating
    • converted
    • lost
    • archived
    • unreachable
  • status_set_by string Nullable

    Who set the current status: a person, the AI, Totem automation, an API caller, or unknown (no recorded transition lands on it). Null when status is null.

    Possible values
    • human
    • ai
    • system
    • api
    • unknown
  • archive_reason string Nullable

    Why the record was archived, as a closed code; stored free text is other. Null when none is stored.

    Possible values
    • opt_out
    • no_consent
    • not_interested
    • not_qualified
    • no_contact
    • merged
    • family_transfer
    • other
  • archived_from_status string Nullable

    The status the lead had before its current archive; null while it is not archived or when unknown.

    Possible values
    • new
    • contacted
    • qualified
    • negotiating
    • converted
    • lost
    • archived
    • unreachable
  • contact_permissions object

    Contact permissions. Apply them before any outreach from your own systems.

  • merged_into string Nullable ID prefix lead_…

    The lead this record was merged into, or null (also when that lead no longer exists).

  • transferred_to object Nullable

    Where a transfer to another team of your organization sent this lead, or null. The team may be one your key does not read.

  • revived_at string Nullable Format date-time

    When the contact last came back on their own and revived an archived lead, or null.

  • pipeline_cleared boolean

    True when the lead was converted with "clear pipeline data": board, stage, priority, assignees, estimated value and the source fields other than source_channel are null because they were cleared.

  • converted_at string Nullable Format date-time

    When the lead was converted, while its status is converted; otherwise null.

  • value_at_conversion number Nullable

    The estimated value when it was converted, in major units. Survives "clear pipeline data".

  • priority string Nullable

    Priority, or null.

    Possible values
    • low
    • medium
    • high
    • urgent
  • tags Array<string>

    Labels as stored. lead and booking are system labels.

  • board string Nullable ID prefix brd_…

    The board, resolved through the stage when it has one; or null.

  • stage string Nullable ID prefix stg_…

    The stage, or null.

  • assignees Array<string> Nullable ID prefix mem_…

    Assigned members, sorted. Null when the record has no pipeline data.

  • estimated_value number Nullable

    Estimated value in major units as stored (decimals allowed), or null.

  • estimated_value_currency null Nullable

    Always null: Totem stores no currency with the value.

  • source string Nullable

    The stored lead source; api also covers leads created by Totem itself (for example from a conversation or a call), see source_detail. Null when none is stored.

    Possible values
    • meta_lead_ads
    • manual
    • website_form
    • booking_page
    • csv_import
    • api
  • source_channel string Nullable

    The channel the record started on (for example whatsapp, phone, widget), or null. Team members can edit it.

  • source_detail string Nullable

    conversation, call, external:<provider>, gated_ad:<source>, family_handoff, api_intake or unknown; null when source needs no detail.

  • source_provenance string Nullable

    server_written when Totem set the source from what the ad platform reported; otherwise member_editable (team members can change it). Null with source.

    Possible values
    • server_written
    • member_editable
  • created_at string Format date-time

    When the record was created.

  • version integer Range ≥ 1

    Increases every time one of the record's exported fields changes. Apply a change only when its version is greater than the one you hold.

  • updated_at string Format date-time

    When Totem recorded this version (UTC). It is not the time the business event happened.

  • attribution LeadAttribution Nullable

    The lead's attribution facet, or null while Totem is still preparing it.

  • response LeadResponse Nullable

    The lead's response facet, or null while Totem is still preparing it.

LeadDetail · exampleJSON
{
  "id": "lead_r72EfbRNUzuqORFJR0O8HxAwEXd93jGUTYMaMMXKSF0QbLS8CiUKJpEP34LFQG",
  "object": "lead",
  "livemode": false,
  "team": "team_r9uYrIW4gSFJJ6hZQ9ip1UIpPaAD1CF7NR",
  "record_kind": "lead",
  "name": "Alex",
  "surname": "Rivera",
  "date_of_birth": "1990-04-23",
  "email": "alex.rivera@example.com",
  "company": "Example Dental",
  "website": null,
  "phone": "+12025550123",
  "phone_status": "valid",
  "status": "contacted",
  "status_set_by": "ai",
  "archive_reason": null,
  "archived_from_status": null,
  "contact_permissions": {
    "do_not_contact": false,
    "email_opt_out": false,
    "email_opt_out_at": null,
    "whatsapp_consent": null,
    "provenance": {
      "do_not_contact": null,
      "email_opt_out": null,
      "whatsapp_consent": null
    }
  },
  "merged_into": null,
  "transferred_to": null,
  "revived_at": null,
  "pipeline_cleared": false,
  "converted_at": null,
  "value_at_conversion": null,
  "priority": "high",
  "tags": [
    "spring-check-up"
  ],
  "board": "brd_r72EfbRNUzuqORFJR0O8HxAwEXd93jGUTYMaMMX3trzsVUZQuHcMSuDh1aRIst",
  "stage": "stg_r72EfbRNUzuqORFJR0O8HxAwEXd93jGUTYMaMMXWBYWcKwVTY3CRZlVS3oYvs0",
  "assignees": [
    "mem_h548E7UiYhutHhucVrQCzkM0eaea0"
  ],
  "estimated_value": 1200,
  "estimated_value_currency": null,
  "source": "meta_lead_ads",
  "source_channel": null,
  "source_detail": null,
  "source_provenance": "member_editable",
  "created_at": "2026-09-28T10:15:00.000Z",
  "version": 3,
  "updated_at": "2026-09-28T10:20:01.250Z",
  "attribution": {
    "id": "lead_r72EfbRNUzuqORFJR0O8HxAwEXd93jGUTYMaMMXKSF0QbLS8CiUKJpEP34LFQG",
    "object": "lead_attribution",
    "livemode": false,
    "team": "team_r9uYrIW4gSFJJ6hZQ9ip1UIpPaAD1CF7NR",
    "original_capture": {
      "capture": "at_creation",
      "captured_at": "2026-09-28T10:15:00.000Z",
      "source": "meta_lead_ads",
      "source_hint": null,
      "source_channel": null,
      "external_provider": null,
      "received_at": "2026-09-28T10:15:00.000Z",
      "submitted_at": "2026-09-28T10:14:30.000Z",
      "origin": null,
      "campaign": {
        "id": {
          "value": "120210000000000101",
          "provenance": "provider"
        },
        "name": {
          "value": "Spring check-up",
          "provenance": "provider"
        }
      },
      "ad": {
        "id": {
          "value": "120210000000000303",
          "provenance": "provider"
        },
        "name": {
          "value": "Free first visit",
          "provenance": "provider"
        }
      },
      "ad_set": {
        "id": {
          "value": "120210000000000202",
          "provenance": "provider"
        },
        "name": {
          "value": "Families nearby",
          "provenance": "provider"
        }
      },
      "ad_group": {
        "id": {
          "value": null,
          "provenance": "not_captured"
        }
      },
      "form": {
        "id": {
          "value": "900000000000000404",
          "provenance": "provider"
        },
        "name": {
          "value": "Book a check-up",
          "provenance": "provider"
        }
      },
      "creative": {
        "id": {
          "value": null,
          "provenance": "not_captured"
        }
      },
      "asset_group": {
        "id": {
          "value": null,
          "provenance": "not_captured"
        }
      },
      "page": {
        "id": {
          "value": "100000000000000505",
          "provenance": "provider"
        },
        "name": {
          "value": "Example Dental",
          "provenance": "provider"
        }
      },
      "utm": null,
      "click_network": {
        "value": null,
        "provenance": "not_captured"
      },
      "ad_referral": null,
      "family_origin": null,
      "audience": {
        "value": null,
        "missing_reason": "unsupported"
      }
    },
    "original_capture_missing_reason": null,
    "latest_submission": null,
    "latest_submission_missing_reason": "not_captured",
    "version": 1,
    "updated_at": "2026-09-28T10:15:02.100Z"
  },
  "response": {
    "id": "lead_r72EfbRNUzuqORFJR0O8HxAwEXd93jGUTYMaMMXKSF0QbLS8CiUKJpEP34LFQG",
    "object": "lead_response",
    "livemode": false,
    "team": "team_r9uYrIW4gSFJJ6hZQ9ip1UIpPaAD1CF7NR",
    "last_inbound_at": "2026-10-01T08:58:00.000Z",
    "last_outbound_at": "2026-10-01T08:59:30.000Z",
    "awaiting_reply": false,
    "last_answered_call_at": "2026-09-28T10:17:00.000Z",
    "last_whatsapp_delivery_status": "read",
    "coverage": {
      "conversations": 2,
      "calls": 1,
      "channels_without_delivery_data": [
        "email"
      ],
      "truncated": false
    },
    "version": 7,
    "updated_at": "2026-10-01T08:59:31.040Z"
  }
}

The LeadAttribution object

Where a lead came from: its original capture and latest submission.

Attributes

  • id string ID prefix lead_…

    Public id of the record.

  • object string

    Always lead_attribution.

  • livemode boolean

    true for real data; false in example data.

  • team string ID prefix team_…

    The team the lead belongs to.

  • original_capture object Nullable

    How the lead first entered the CRM, frozen once; null when it was not captured. "Original" is the first time the contact entered the CRM, not the first ad it answered.

  • original_capture_missing_reason string Nullable

    not_captured when original_capture is null, otherwise null.

    Possible values
    • not_captured
  • latest_submission object Nullable

    The newest ad submission recorded for this lead, including a repeat on an existing contact; null when none is recorded. A submission the ad platform reports deleted (a LinkedIn member deleting their form response) is no longer shown, and once the newest one expires or is withdrawn an older one can show instead.

  • latest_submission_missing_reason string Nullable

    not_captured when latest_submission is null, otherwise null.

    Possible values
    • not_captured
  • version integer Range ≥ 1

    Increases every time one of the record's exported fields changes. Apply a change only when its version is greater than the one you hold.

  • updated_at string Format date-time

    When Totem recorded this version (UTC). It is not the time the business event happened.

LeadAttribution · exampleJSON
{
  "id": "lead_r72EfbRNUzuqORFJR0O8HxAwEXd93jGUTYMaMMXKSF0QbLS8CiUKJpEP34LFQG",
  "object": "lead_attribution",
  "livemode": false,
  "team": "team_r9uYrIW4gSFJJ6hZQ9ip1UIpPaAD1CF7NR",
  "original_capture": {
    "capture": "at_creation",
    "captured_at": "2026-09-28T10:15:00.000Z",
    "source": "meta_lead_ads",
    "source_hint": null,
    "source_channel": null,
    "external_provider": null,
    "received_at": "2026-09-28T10:15:00.000Z",
    "submitted_at": "2026-09-28T10:14:30.000Z",
    "origin": null,
    "campaign": {
      "id": {
        "value": "120210000000000101",
        "provenance": "provider"
      },
      "name": {
        "value": "Spring check-up",
        "provenance": "provider"
      }
    },
    "ad": {
      "id": {
        "value": "120210000000000303",
        "provenance": "provider"
      },
      "name": {
        "value": "Free first visit",
        "provenance": "provider"
      }
    },
    "ad_set": {
      "id": {
        "value": "120210000000000202",
        "provenance": "provider"
      },
      "name": {
        "value": "Families nearby",
        "provenance": "provider"
      }
    },
    "ad_group": {
      "id": {
        "value": null,
        "provenance": "not_captured"
      }
    },
    "form": {
      "id": {
        "value": "900000000000000404",
        "provenance": "provider"
      },
      "name": {
        "value": "Book a check-up",
        "provenance": "provider"
      }
    },
    "creative": {
      "id": {
        "value": null,
        "provenance": "not_captured"
      }
    },
    "asset_group": {
      "id": {
        "value": null,
        "provenance": "not_captured"
      }
    },
    "page": {
      "id": {
        "value": "100000000000000505",
        "provenance": "provider"
      },
      "name": {
        "value": "Example Dental",
        "provenance": "provider"
      }
    },
    "utm": null,
    "click_network": {
      "value": null,
      "provenance": "not_captured"
    },
    "ad_referral": null,
    "family_origin": null,
    "audience": {
      "value": null,
      "missing_reason": "unsupported"
    }
  },
  "original_capture_missing_reason": null,
  "latest_submission": null,
  "latest_submission_missing_reason": "not_captured",
  "version": 1,
  "updated_at": "2026-09-28T10:15:02.100Z"
}

The LeadResponse object

How the team has answered a lead across its conversations and calls: the latest messages each way and whether a reply is due. It uses its lead's id.

Attributes

  • id string ID prefix lead_…

    Public id of the record.

  • object string

    Always lead_response.

  • livemode boolean

    true for real data; false in example data.

  • team string ID prefix team_…

    The team this record belongs to.

  • last_inbound_at string Nullable Format date-time

    The latest message from the customer on any of the lead's conversations (UTC), or null. Not counted: erased messages, imported WhatsApp history and web-chat visitor turns. Instagram shares cannot be told apart and count.

  • last_outbound_at string Nullable Format date-time

    The latest message sent to the customer that did not fail, on any of the lead's conversations and whoever sent it (UTC), or null. Imported WhatsApp history counts.

  • awaiting_reply boolean

    True when last_inbound_at is newer than the latest reply on any of the lead's conversations. A reply is a sent message that did not fail and was recorded as a conversation reply or with no purpose; outreach, transactional messages (such as reminders) and imported history do not count. Most stored messages carry no purpose, so an automated send recorded without one also counts as a reply. False when the customer has never written.

  • last_answered_call_at string Nullable Format date-time

    When the latest of the lead's calls whose outcome is answered_human or answered_ai started (UTC), or null. A connected outbound call on Totem's phone lines reads unknown, so it is not counted.

  • last_whatsapp_delivery_status string Nullable

    delivered, read or failed for the latest message sent to the lead on WhatsApp. Null when that message has no receipt yet (sent is never stored) or the lead has no message sent on WhatsApp.

    Possible values
    • delivered
    • read
    • failed
  • coverage object

    What these facts were computed from.

  • version integer Range ≥ 1

    Increases every time one of the record's exported fields changes. Apply a change only when its version is greater than the one you hold.

  • updated_at string Format date-time

    When Totem recorded this version (UTC). It is not the time the business event happened.

LeadResponse · exampleJSON
{
  "id": "lead_r72EfbRNUzuqORFJR0O8HxAwEXd93jGUTYMaMMXKSF0QbLS8CiUKJpEP34LFQG",
  "object": "lead_response",
  "livemode": false,
  "team": "team_r9uYrIW4gSFJJ6hZQ9ip1UIpPaAD1CF7NR",
  "last_inbound_at": "2026-10-01T08:58:00.000Z",
  "last_outbound_at": "2026-10-01T08:59:30.000Z",
  "awaiting_reply": false,
  "last_answered_call_at": "2026-09-28T10:17:00.000Z",
  "last_whatsapp_delivery_status": "read",
  "coverage": {
    "conversations": 2,
    "calls": 1,
    "channels_without_delivery_data": [
      "email"
    ],
    "truncated": false
  },
  "version": 7,
  "updated_at": "2026-10-01T08:59:31.040Z"
}

The LeadNote object

Lead note body.

Attributes

  • id string ID prefix note_…

    Public id of the record.

  • object string

    Always lead_note.

  • livemode boolean

    true for real data; false in example data.

  • lead string ID prefix lead_…

    The parent lead.

  • body string ≤ 50000 chars

    CRM note text; requires the explicit note-content grant.

  • created_at string Format date-time

    When this note was created.

  • external_id string Nullable ≤ 200 chars

    The caller’s own external id, or null. Canonical feed objects withhold all integration namespaces.

  • version integer Range ≥ 1

    Increases every time one of the record's exported fields changes. Apply a change only when its version is greater than the one you hold.

  • updated_at string Format date-time

    When Totem recorded this version (UTC). It is not the time the business event happened.

LeadNote · exampleJSON
{
  "id": "note_m3S3yY53i0GJwNn0UPsl4jp3BubIW",
  "object": "lead_note",
  "livemode": false,
  "lead": "lead_r72EfbRNUzuqORFJR0O8HxAwEXd93jGUTYMaMMXKSF0QbLS8CiUKJpEP34LFQG",
  "body": "Requested an updated proposal for the appointment.",
  "created_at": "2026-10-01T09:30:00.000Z",
  "external_id": null,
  "version": 1,
  "updated_at": "2026-10-01T09:30:00.000Z"
}

The LeadNoteMetadata object

Lead note metadata without its content; safe for a write-only receipt or replay.

Attributes

  • id string ID prefix note_… ≤ 256 chars

    Opaque stable note id, bound to this team and lead incarnation; never parse it.

  • object string

    Always lead_note.

  • livemode boolean

    True for real data; false only in fictional example data.

  • lead string ID prefix lead_…

    The lead this note belongs to.

  • version integer Range ≥ 1

    The current note version; use the matching strong note ETag for conditional writes.

  • created_at string Format date-time

    When the note was created.

  • updated_at string Format date-time

    When the current version was recorded.

  • external_id string Nullable ≤ 200 chars

    Your integration’s external id for this note, or null; other integrations’ ids are withheld.

LeadNoteMetadata · exampleJSON
{
  "id": "note_m3S3yY53i0GJwNn0UPsl4jp3BubIW",
  "object": "lead_note",
  "livemode": false,
  "lead": "lead_r72EfbRNUzuqORFJR0O8HxAwEXd93jGUTYMaMMXKSF0QbLS8CiUKJpEP34LFQG",
  "created_at": "2026-10-01T09:30:00.000Z",
  "external_id": "crm-note-123",
  "version": 1,
  "updated_at": "2026-10-01T09:30:00.000Z"
}

The LeadCustomValues object

Custom values with a separate opaque ETag in the response header.

Attributes

  • object string

    Always lead_custom_values.

  • lead string ID prefix lead_…

    Owning lead.

  • values Array<object>

    Current exact-name values; requires the separate content-read grant.

LeadCustomValues · exampleJSON
{
  "object": "lead_custom_values",
  "lead": "lead_r72EfbRNUzuqORFJR0O8HxAwEXd93jGUTYMaMMXKSF0QbLS8CiUKJpEP34LFQG",
  "values": [
    {
      "name": "boat_type",
      "label": "Boat type",
      "value": "Sailboat",
      "source": "manual"
    }
  ]
}

The LeadCustomValuesReceipt object

Content-free mutation receipt; the response ETag reflects the current source even on replay.

Attributes

  • object string

    Always lead_custom_values_receipt.

  • lead string ID prefix lead_…

    Owning lead.

  • changed boolean

    Whether this logical request changed stored custom values.

  • set_count integer Range 0–50

    Exact names set by this logical request.

  • removed_count integer Range 0–50

    Existing exact names removed by this logical request.

LeadCustomValuesReceipt · exampleJSON
{
  "object": "lead_custom_values_receipt",
  "lead": "lead_r72EfbRNUzuqORFJR0O8HxAwEXd93jGUTYMaMMXKSF0QbLS8CiUKJpEP34LFQG",
  "changed": true,
  "set_count": 1,
  "removed_count": 0
}

The Activity object

One stage, status or assignee transition of a lead. Activities never change once written.

Attributes of every variant

  • id string ID prefix act_…

    Public id of the record.

  • object string

    Always activity.

  • livemode boolean

    true for real data; false in example data.

  • team string ID prefix team_…

    The team the lead belongs to.

  • lead string Nullable ID prefix lead_…

    The lead that moved. Null only while Totem has not yet assigned the lead its id.

  • occurred_at string Format date-time

    When the change was saved.

  • actor_kind string

    Who made the change: a person, the AI, Totem automation, an API caller, or unknown. Totem knows who made a change only when the same save wrote the lead's status, so a stage or assignee change made on its own reads unknown.

    Possible values
    • human
    • ai
    • system
    • api
    • unknown
  • stage_snapshot object Nullable

    The stage the lead was in after the change (for "clear pipeline data", the stage it left), or null.

  • value_snapshot number Nullable

    The estimated value at that moment, in major units, or null.

  • version integer Range ≥ 1

    Increases every time one of the record's exported fields changes. Apply a change only when its version is greater than the one you hold.

  • updated_at string Format date-time

    When Totem recorded this version (UTC). It is not the time the business event happened.

Variants

Each Activity is exactly one of these 3 variants.

A status transition

When type is one of status_changed archived unarchived revived

  • type string

    status_changed, archived, unarchived, or revived (the contact came back on their own and reopened an archived lead).

    Possible values
    • status_changed
    • archived
    • unarchived
    • revived
  • from string Nullable

    The status before, or null when there was none.

    Possible values
    • new
    • contacted
    • qualified
    • negotiating
    • converted
    • lost
    • archived
    • unreachable
  • to string

    The status after.

    Possible values
    • new
    • contacted
    • qualified
    • negotiating
    • converted
    • lost
    • archived
    • unreachable

A stage move

When type is stage_changed

  • type string

    Always stage_changed.

  • from object Nullable

    The stage and board before, or null when the lead had neither.

  • to object

    The stage and board after.

A change of assigned members

When type is assignees_changed

  • type string

    Always assignees_changed.

  • from Array<string> ID prefix mem_…

    The assigned members before, sorted.

  • to Array<string> ID prefix mem_…

    The assigned members after, sorted.

Activity · exampleJSON
{
  "id": "act_aBgzeetVKDEjpAAkXfEFF53ZGd2ZMmGhUDKgagqLbh6c7R1GqOl0xsFw7pyRhD3SqqYWGMdb371xxj",
  "object": "activity",
  "livemode": false,
  "type": "stage_changed",
  "team": "team_r9uYrIW4gSFJJ6hZQ9ip1UIpPaAD1CF7NR",
  "lead": "lead_r72EfbRNUzuqORFJR0O8HxAwEXd93jGUTYMaMMXKSF0QbLS8CiUKJpEP34LFQG",
  "occurred_at": "2026-09-28T10:20:00.000Z",
  "actor_kind": "ai",
  "stage_snapshot": {
    "stage": "stg_r72EfbRNUzuqORFJR0O8HxAwEXd93jGUTYMaMMXWBYWcKwVTY3CRZlVS3oYvs0",
    "board": "brd_r72EfbRNUzuqORFJR0O8HxAwEXd93jGUTYMaMMX3trzsVUZQuHcMSuDh1aRIst",
    "name": "Contacted"
  },
  "value_snapshot": 1200,
  "from": {
    "stage": "stg_r72EfbRNUzuqORFJR0O8HxAwEXd93jGUTYMaMMXWBYWcKwVTY3CRZlVR3422Yg",
    "board": "brd_r72EfbRNUzuqORFJR0O8HxAwEXd93jGUTYMaMMX3trzsVUZQuHcMSuDh1aRIst"
  },
  "to": {
    "stage": "stg_r72EfbRNUzuqORFJR0O8HxAwEXd93jGUTYMaMMXWBYWcKwVTY3CRZlVS3oYvs0",
    "board": "brd_r72EfbRNUzuqORFJR0O8HxAwEXd93jGUTYMaMMX3trzsVUZQuHcMSuDh1aRIst"
  },
  "version": 1,
  "updated_at": "2026-09-28T10:20:01.500Z"
}

The Board object

A board with its stages in pipeline order.

Attributes

  • id string ID prefix brd_…

    Public id of the record.

  • object string

    Always board.

  • livemode boolean

    true for real data; false in example data.

  • team string ID prefix team_…

    The team this record belongs to.

  • name string Nullable ≥ 1 chars

    The board's name, or null when none is stored.

  • is_default boolean

    True for the team's default board, where new leads land unless routed elsewhere.

  • is_archived boolean

    True when the board is archived (hidden from the board selector). Its leads still export.

  • appointment_booked_stage string Nullable ID prefix stg_…

    The stage of this board a lead moves to when its first appointment is confirmed, or null when none is set or it names no stage of this board.

  • stages Array<object>

    The board's stages, ordered by position, then by id. A stage with no position stored at all is left out, although a lead can still name it.

  • version integer Range ≥ 1

    Increases every time one of the record's exported fields changes. Apply a change only when its version is greater than the one you hold.

  • updated_at string Format date-time

    When Totem recorded this version (UTC). It is not the time the business event happened.

Board · exampleJSON
{
  "id": "brd_r72EfbRNUzuqORFJR0O8HxAwEXd93jGUTYMaMMX3trzsVUZQuHcMSuDh1aRIst",
  "object": "board",
  "livemode": false,
  "team": "team_r9uYrIW4gSFJJ6hZQ9ip1UIpPaAD1CF7NR",
  "name": "New patients",
  "is_default": true,
  "is_archived": false,
  "appointment_booked_stage": "stg_r72EfbRNUzuqORFJR0O8HxAwEXd93jGUTYMaMMXWBYWcKwVTY3CRZlVT1QpfZ5",
  "stages": [
    {
      "object": "stage",
      "id": "stg_r72EfbRNUzuqORFJR0O8HxAwEXd93jGUTYMaMMXWBYWcKwVTY3CRZlVR3422Yg",
      "name": "New",
      "position": 0,
      "is_default": true,
      "is_final": false,
      "is_archive": false,
      "mode": "automated"
    },
    {
      "object": "stage",
      "id": "stg_r72EfbRNUzuqORFJR0O8HxAwEXd93jGUTYMaMMXWBYWcKwVTY3CRZlVS3oYvs0",
      "name": "Contacted",
      "position": 1,
      "is_default": false,
      "is_final": false,
      "is_archive": false,
      "mode": "supervised"
    },
    {
      "object": "stage",
      "id": "stg_r72EfbRNUzuqORFJR0O8HxAwEXd93jGUTYMaMMXWBYWcKwVTY3CRZlVT1QpfZ5",
      "name": "Visit booked",
      "position": 2,
      "is_default": false,
      "is_final": true,
      "is_archive": false,
      "mode": "standard"
    }
  ],
  "version": 4,
  "updated_at": "2026-09-02T16:40:00.000Z"
}

The CrmContext object

Current source-bound CRM metadata and independently requested content. No export capture version or business authoring profile is included.

Attributes

  • object string

    Always crm_context.

  • source_contact object

    Current source contact evidence, independently of whether the conversation is linked to a lead. A tenant without a signed source receives null phone.

  • conversation_id string Nullable ID prefix conv_…

    Current authorized execution conversation, or null for a lead-only tenant context; never an unrelated thread.

  • call_id string Nullable ID prefix call_…

    Current authorized voice call, or null when no call source exists. A browser session never invents a conversation or premature call.

  • lead LeadSource Nullable

    Current authorized source lead, or null when this conversation is still unlinked.

  • team object

    Bounded team runtime facts; no assistant prompt or business profile.

  • notes Array<object> Nullable ≤ 20 items

    Up to twenty current retained notes when explicitly requested and authorized; otherwise null.

  • notes_has_more boolean

    More notes exist beyond this bounded context; use the separately authorized notes endpoint for a full export.

  • custom_values Array<object> Nullable

    Current custom values only when requested with their independent content permission; otherwise null.

  • automation object Nullable

    Current CRM automation metadata, separate from permission and consent.

  • pipeline object Nullable

    Current authorized pipeline facts; opaque ids can be used with the public business operations.

  • runtime object

    Named current operational language, routing and verified legal/privacy facts; no destination members or authoring profile.

  • family_routing object May be absent Nullable

    Current configured organization routing only with the separately issued handoff capability; omitted for older or context-only grants.

  • messages ConversationMessages Nullable

    Explicitly granted exact current conversation messages, or null when not requested/unavailable.

  • calls Array<object> Nullable ≤ 10 items

    Explicitly granted current lead call evidence, or null when not requested/unavailable.

  • payments object Nullable

    Explicitly granted canonical customer payment evidence. Opaque display ids never authorize an action; incomplete never means unpaid.

  • holded_records object May be absent

    Only records explicitly shared with this verified customer. No Holded contact ID, internal case notes or attachments.

  • coverage object

    Explicit coverage for every independently authorized content section.

  • model_context object Nullable

    Optional canonical model-facing projections with the existing sanitizer and exact total budgets; typed context remains separate.

CrmContext · exampleJSON
{
  "object": "crm_context",
  "source_contact": {
    "phone": null
  },
  "conversation_id": null,
  "call_id": null,
  "lead": null,
  "team": {
    "name": "Example Dental",
    "timezone": "Europe/Madrid",
    "default_country": "ES",
    "id": "team_r9uYrIW4gSFJJ6hZQ9ip1UIpPaAD1CF7NR",
    "extra_info": null,
    "business_hours_source": "configured",
    "business_hours": {
      "monday": [
        {
          "start": "09:00",
          "end": "18:00"
        }
      ],
      "tuesday": [
        {
          "start": "09:00",
          "end": "18:00"
        }
      ],
      "wednesday": [
        {
          "start": "09:00",
          "end": "18:00"
        }
      ],
      "thursday": [
        {
          "start": "09:00",
          "end": "18:00"
        }
      ],
      "friday": [
        {
          "start": "09:00",
          "end": "18:00"
        }
      ],
      "saturday": [],
      "sunday": []
    },
    "now_business": "2026-10-01T11:30:00+02:00"
  },
  "notes": null,
  "notes_has_more": false,
  "custom_values": null,
  "automation": null,
  "pipeline": null,
  "runtime": {
    "preferred_language": "en",
    "notification_language_instruction": "Use English.",
    "notification_departments": [],
    "default_department_id": null,
    "notifications_enabled": false,
    "controller_name": null,
    "privacy_policy_url": null
  },
  "messages": null,
  "calls": null,
  "payments": null,
  "coverage": {
    "notes": {
      "status": "not_requested",
      "included": 0,
      "total": null,
      "reason": null
    },
    "custom_values": {
      "status": "not_requested",
      "included": 0,
      "total": null,
      "reason": null
    },
    "messages": {
      "status": "not_requested",
      "included": 0,
      "total": null,
      "reason": null
    },
    "calls": {
      "status": "not_requested",
      "included": 0,
      "total": null,
      "reason": null
    },
    "payments": {
      "status": "not_requested",
      "included": 0,
      "total": null,
      "reason": null
    },
    "recordings": {
      "status": "not_requested",
      "included": 0,
      "total": null,
      "reason": null
    },
    "attachments": {
      "status": "not_requested",
      "included": 0,
      "total": null,
      "reason": null
    }
  },
  "model_context": null
}

The LeadSource object

Current canonical CRM lead projection, available through the explicit operational context permission without inventing a capture version.

Attributes

  • team string ID prefix team_…

    The team the record belongs to.

  • record_kind string

    lead when the record has a pipeline status, otherwise client. A lead whose status this version does not know reads status: null.

    Possible values
    • lead
    • client
  • name string Nullable

    First name or display name, or null.

  • surname string Nullable

    Surname, or null.

  • date_of_birth string Nullable Format date Pattern ^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))$

    Civil date of birth in YYYY-MM-DD, without a time or timezone; null when missing, cleared or invalid.

  • email string Nullable

    Email address as stored, or null.

  • company string Nullable

    Company, or null.

  • website string Nullable

    Contact website as stored, without fetching it, or null.

  • phone string Nullable

    Phone in E.164, only when the stored number validates; otherwise null.

  • phone_status string

    valid (see phone), invalid (a number is stored but does not validate, for example one stored without its country prefix) or missing.

    Possible values
    • valid
    • invalid
    • missing
  • status string Nullable

    Pipeline status; null for a client record, or for a status this version does not know. converted is not "won".

    Possible values
    • new
    • contacted
    • qualified
    • negotiating
    • converted
    • lost
    • archived
    • unreachable
  • status_set_by string Nullable

    Who set the current status: a person, the AI, Totem automation, an API caller, or unknown (no recorded transition lands on it). Null when status is null.

    Possible values
    • human
    • ai
    • system
    • api
    • unknown
  • archive_reason string Nullable

    Why the record was archived, as a closed code; stored free text is other. Null when none is stored.

    Possible values
    • opt_out
    • no_consent
    • not_interested
    • not_qualified
    • no_contact
    • merged
    • family_transfer
    • other
  • archived_from_status string Nullable

    The status the lead had before its current archive; null while it is not archived or when unknown.

    Possible values
    • new
    • contacted
    • qualified
    • negotiating
    • converted
    • lost
    • archived
    • unreachable
  • contact_permissions object

    Contact permissions. Apply them before any outreach from your own systems.

  • merged_into string Nullable ID prefix lead_…

    The lead this record was merged into, or null (also when that lead no longer exists).

  • transferred_to object Nullable

    Where a transfer to another team of your organization sent this lead, or null. The team may be one your key does not read.

  • revived_at string Nullable Format date-time

    When the contact last came back on their own and revived an archived lead, or null.

  • pipeline_cleared boolean

    True when the lead was converted with "clear pipeline data": board, stage, priority, assignees, estimated value and the source fields other than source_channel are null because they were cleared.

  • converted_at string Nullable Format date-time

    When the lead was converted, while its status is converted; otherwise null.

  • value_at_conversion number Nullable

    The estimated value when it was converted, in major units. Survives "clear pipeline data".

  • priority string Nullable

    Priority, or null.

    Possible values
    • low
    • medium
    • high
    • urgent
  • tags Array<string>

    Labels as stored. lead and booking are system labels.

  • board string Nullable ID prefix brd_…

    The board, resolved through the stage when it has one; or null.

  • stage string Nullable ID prefix stg_…

    The stage, or null.

  • assignees Array<string> Nullable ID prefix mem_…

    Assigned members, sorted. Null when the record has no pipeline data.

  • estimated_value number Nullable

    Estimated value in major units as stored (decimals allowed), or null.

  • estimated_value_currency null Nullable

    Always null: Totem stores no currency with the value.

  • source string Nullable

    The stored lead source; api also covers leads created by Totem itself (for example from a conversation or a call), see source_detail. Null when none is stored.

    Possible values
    • meta_lead_ads
    • manual
    • website_form
    • booking_page
    • csv_import
    • api
  • source_channel string Nullable

    The channel the record started on (for example whatsapp, phone, widget), or null. Team members can edit it.

  • source_detail string Nullable

    conversation, call, external:<provider>, gated_ad:<source>, family_handoff, api_intake or unknown; null when source needs no detail.

  • source_provenance string Nullable

    server_written when Totem set the source from what the ad platform reported; otherwise member_editable (team members can change it). Null with source.

    Possible values
    • server_written
    • member_editable
  • created_at string Format date-time

    When the record was created.

  • id string ID prefix lead_…

    Opaque current lead id, scoped to the authorized team and incarnation.

  • etag string Pattern ^"lrs1_[a-f0-9]{64}"$

    Strong ETag of the exact retained lead source shown here; never an export capture version.

  • updated_at string Format date-time

    Actual source update time of this retained snapshot.

  • object string

    Always lead_source; this is not a captured Lead version.

LeadSource · exampleJSON
{
  "team": "team_r9uYrIW4gSFJJ6hZQ9ip1UIpPaAD1CF7NR",
  "record_kind": "lead",
  "name": "Alex",
  "surname": "Rivera",
  "date_of_birth": "1990-04-23",
  "email": "alex.rivera@example.com",
  "company": "Example Dental",
  "website": null,
  "phone": "+12025550123",
  "phone_status": "valid",
  "status": "contacted",
  "status_set_by": "ai",
  "archive_reason": null,
  "archived_from_status": null,
  "contact_permissions": {
    "do_not_contact": false,
    "email_opt_out": false,
    "email_opt_out_at": null,
    "whatsapp_consent": null,
    "provenance": {
      "do_not_contact": null,
      "email_opt_out": null,
      "whatsapp_consent": null
    }
  },
  "merged_into": null,
  "transferred_to": null,
  "revived_at": null,
  "pipeline_cleared": false,
  "converted_at": null,
  "value_at_conversion": null,
  "priority": "high",
  "tags": [
    "spring-check-up"
  ],
  "board": "brd_r72EfbRNUzuqORFJR0O8HxAwEXd93jGUTYMaMMX3trzsVUZQuHcMSuDh1aRIst",
  "stage": "stg_r72EfbRNUzuqORFJR0O8HxAwEXd93jGUTYMaMMXWBYWcKwVTY3CRZlVS3oYvs0",
  "assignees": [
    "mem_h548E7UiYhutHhucVrQCzkM0eaea0"
  ],
  "estimated_value": 1200,
  "estimated_value_currency": null,
  "source": "meta_lead_ads",
  "source_channel": null,
  "source_detail": null,
  "source_provenance": "member_editable",
  "created_at": "2026-09-28T10:15:00.000Z",
  "id": "lead_r72EfbRNUzuqORFJR0O8HxAwEXd93jGUTYMaMMXKSF0QbLS8CiUKJpEP34LFQG",
  "etag": "\"lrs1_aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa\"",
  "updated_at": "2026-10-01T09:30:00.000Z",
  "object": "lead_source"
}

The LeadSourceReceipt object

Write receipt metadata only: no contact details or CRM content.

Attributes

  • id string ID prefix lead_…

    Opaque current lead id, scoped to the authorized team and incarnation.

  • etag string Pattern ^"lrs1_[a-f0-9]{64}"$

    Strong ETag of the exact retained lead source shown here; never an export capture version.

  • updated_at string Format date-time

    Actual source update time of this retained snapshot.

  • object string

    Always lead_source_receipt.

LeadSourceReceipt · exampleJSON
{
  "id": "lead_r72EfbRNUzuqORFJR0O8HxAwEXd93jGUTYMaMMXKSF0QbLS8CiUKJpEP34LFQG",
  "etag": "\"lrs1_aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa\"",
  "updated_at": "2026-10-01T09:30:00.000Z",
  "object": "lead_source_receipt"
}

The LeadSourceMutation object

Source-backed CRM mutation metadata. It never invents an inventory version or grants read access through a write.

Attributes

  • object string

    Always lead_source_mutation.

  • created boolean

    True only when this operation created the retained lead.

  • changed boolean

    Whether the source values changed; an inert repeat is false.

  • registered_lead_linked boolean May be absent

    For voice registration, whether the genuinely created contact was linked to this execution. A different stated contact stays held and grants no subsequent source access.

  • lead LeadSourceReceipt Nullable

    Current authorized source receipt, or null when an unverified duplicate must remain unlinked.

LeadSourceMutation · exampleJSON
{
  "object": "lead_source_mutation",
  "created": false,
  "changed": true,
  "lead": {
    "id": "lead_r72EfbRNUzuqORFJR0O8HxAwEXd93jGUTYMaMMXKSF0QbLS8CiUKJpEP34LFQG",
    "etag": "\"lrs1_aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa\"",
    "updated_at": "2026-10-01T09:30:00.000Z",
    "object": "lead_source_receipt"
  }
}

The LeadNoteSource object

Current retained note content under its independent read grant, without an inventory version.

Attributes

  • lead string ID prefix lead_…

    Current authorized parent lead.

  • body string ≤ 50000 chars

    CRM note text; requires the explicit note-content grant.

  • created_at string Format date-time

    When this note was created.

  • external_id string Nullable ≤ 200 chars

    The caller’s own external id, or null. Canonical feed objects withhold all integration namespaces.

  • id string ID prefix note_…

    Opaque id of this exact note incarnation.

  • object string

    Always lead_note_source.

  • etag string Pattern ^"lns1_[a-f0-9]{64}"$

    Strong validator bound to the current note and parent lead incarnations and source values.

  • updated_at string Format date-time

    Actual source update time of this note.

LeadNoteSource · exampleJSON
{
  "lead": "lead_r72EfbRNUzuqORFJR0O8HxAwEXd93jGUTYMaMMXKSF0QbLS8CiUKJpEP34LFQG",
  "body": "Requested the service guide.",
  "created_at": "2026-10-01T09:30:00.000Z",
  "external_id": null,
  "id": "note_m3S3yY53i0GJwNn0UPsl4jp3BubIW",
  "object": "lead_note_source",
  "etag": "\"lns1_aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa\"",
  "updated_at": "2026-10-01T09:30:00.000Z"
}

The LeadNoteSourceReceipt object

Metadata-only source write receipt; no note text or other notes.

Attributes

  • id string ID prefix note_…

    Opaque id of this exact note incarnation.

  • lead string ID prefix lead_…

    Current authorized parent lead.

  • object string

    Always lead_note_source_receipt.

  • etag string Pattern ^"lns1_[a-f0-9]{64}"$

    Strong validator bound to the current note and parent lead incarnations and source values.

  • updated_at string Format date-time

    Actual current source update time.

LeadNoteSourceReceipt · exampleJSON
{
  "id": "note_m3S3yY53i0GJwNn0UPsl4jp3BubIW",
  "lead": "lead_r72EfbRNUzuqORFJR0O8HxAwEXd93jGUTYMaMMXKSF0QbLS8CiUKJpEP34LFQG",
  "object": "lead_note_source_receipt",
  "etag": "\"lns1_aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa\"",
  "updated_at": "2026-10-01T09:30:00.000Z"
}

The LeadNoteSourceDeletion object

Content-free proof that this operation deleted the reviewed note incarnation.

Attributes

  • id string ID prefix note_…

    Opaque id of this exact note incarnation.

  • lead string ID prefix lead_…

    Current authorized parent lead.

  • object string

    Always lead_note_source_deletion; it names the deleted incarnation only.

LeadNoteSourceDeletion · exampleJSON
{
  "id": "note_m3S3yY53i0GJwNn0UPsl4jp3BubIW",
  "lead": "lead_r72EfbRNUzuqORFJR0O8HxAwEXd93jGUTYMaMMXKSF0QbLS8CiUKJpEP34LFQG",
  "object": "lead_note_source_deletion"
}

The LeadNoteSourceMutation object

Current source note mutation metadata; safe for write-only integrations and replay.

Attributes

  • object string

    Always lead_note_source_mutation.

  • created boolean

    Whether this logical operation created the note.

  • deleted boolean

    Whether this operation deleted its reviewed note incarnation.

  • Live source metadata or the deleted note identity, never content.

LeadNoteSourceMutation · exampleJSON
{
  "object": "lead_note_source_mutation",
  "created": false,
  "deleted": false,
  "note": {
    "id": "note_m3S3yY53i0GJwNn0UPsl4jp3BubIW",
    "lead": "lead_r72EfbRNUzuqORFJR0O8HxAwEXd93jGUTYMaMMXKSF0QbLS8CiUKJpEP34LFQG",
    "object": "lead_note_source_receipt",
    "etag": "\"lns1_aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa\"",
    "updated_at": "2026-10-01T09:30:00.000Z"
  }
}

The ScheduledContactReceipt object

Metadata of a persisted callback promise, without customer contact details or provider selectors.

Attributes

  • object string

    Always scheduled_contact_receipt.

  • contact_at string Format date-time

    The time committed to the existing delayed-contact dispatcher.

  • channel string

    Committed contact channel. This receipt does not claim provider delivery.

    Possible values
    • call
    • whatsapp
  • created boolean

    Whether this operation genuinely created the contact.

ScheduledContactReceipt · exampleJSON
{
  "object": "scheduled_contact_receipt",
  "lead": {
    "id": "lead_r72EfbRNUzuqORFJR0O8HxAwEXd93jGUTYMaMMXKSF0QbLS8CiUKJpEP34LFQG",
    "etag": "\"lrs1_aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa\"",
    "updated_at": "2026-10-01T09:30:00.000Z",
    "object": "lead_source_receipt"
  },
  "contact_at": "2026-10-02T09:30:00.000Z",
  "channel": "call",
  "created": false
}

The FamilyHandoffReceipt object

Content-free organization handoff result; destination contacts, source content and provider selectors remain private.

Attributes

  • object string

    Always family_handoff_receipt.

  • status string

    Canonical accepted disposition, or identity ambiguity awaiting human review.

    Possible values
    • accepted
    • needs_review
  • office string

    Configured receiving office slug; no internal destination team id.

  • moved_source boolean

    Whether the canonical source lead was transferred, preserving pending-work fences.

  • notification_queued boolean

    True only when the canonical notification and push outbox were committed. This does not claim delivery.

FamilyHandoffReceipt · exampleJSON
{
  "object": "family_handoff_receipt",
  "status": "accepted",
  "office": "example",
  "moved_source": false,
  "notification_queued": true
}

The ReferralReceipt object

Content-free receipt with no destination existence or identity disclosure.

Attributes

  • object string

    Always referral_receipt.

  • status string

    Submission received. Unverified duplicates are acknowledged neutrally without changing or identifying an existing contact. This does not claim approval, outreach or provider delivery.

ReferralReceipt · exampleJSON
{
  "object": "referral_receipt",
  "status": "received"
}

The QuoteOutcomeReceipt object

Content-free quote outcome receipt; no customer, provider, stage or private effect selectors.

Attributes

  • object string

    Always quote_outcome_receipt.

  • status string

    Canonical commercial disposition was recorded. This does not claim independent verification of the external quote or delivery.

  • delivery_evidence string

    External delivery evidence was attested by the caller.

    Value
    • caller_attested
QuoteOutcomeReceipt · exampleJSON
{
  "object": "quote_outcome_receipt",
  "status": "recorded",
  "delivery_evidence": "caller_attested"
}

The Call object

A call: its direction, timing and a normalized outcome. No recording or transcript.

Attributes

  • id string ID prefix call_…

    Public id of the record.

  • object string

    Always call.

  • livemode boolean

    true for real data; false in example data.

  • team string ID prefix team_…

    The team this record belongs to.

  • lead string Nullable ID prefix lead_…

    The lead this call is linked to, or null when it is unlinked or the lead no longer exists. Identity (name, phone) travels on the lead only.

  • direction string Nullable

    inbound or outbound; null when not stored.

    Possible values
    • inbound
    • outbound
  • started_at string Nullable Format date-time

    When the call started (UTC), or when it was recorded if the provider gave no start time.

  • duration_seconds integer Nullable Range ≥ 0

    Whole seconds of the call (rounded down); null while the call is still live, or when not stored.

  • outcome string

    How the call ended: answered_human, answered_ai, voicemail, no_answer, busy, failed, or unknown (still live, or no evidence of who answered). Read it with outcome_basis.

    Possible values
    • answered_human
    • answered_ai
    • voicemail
    • no_answer
    • busy
    • failed
    • unknown
  • outcome_basis string

    The evidence behind outcome: inbound_verdict (Totem's classification of an inbound call on its phone lines), ai_analysis (Totem's classification of the recorded status, end reason and duration of an assistant call), duration_floor (a call on a connected Zadarma PBX, where at least 10 seconds counts as answered), carrier_answer_only (only the carrier's answer signal, which never counts as answered, so a connected call reads unknown: every outbound call on Totem's phone lines, made by the AI or by a person, and an inbound one Totem has not classified), browser_session (a web voice session with the assistant), or none (no evidence, as for a call that is still live).

    Possible values
    • inbound_verdict
    • ai_analysis
    • duration_floor
    • carrier_answer_only
    • browser_session
    • none
  • version integer Range ≥ 1

    Increases every time one of the record's exported fields changes. Apply a change only when its version is greater than the one you hold.

  • updated_at string Format date-time

    When Totem recorded this version (UTC). It is not the time the business event happened.

Call · exampleJSON
{
  "id": "call_m2kUbFcayHlZ5Lgs9xZNmDS3c3Jvk",
  "object": "call",
  "livemode": false,
  "team": "team_r9uYrIW4gSFJJ6hZQ9ip1UIpPaAD1CF7NR",
  "lead": "lead_r72EfbRNUzuqORFJR0O8HxAwEXd93jGUTYMaMMXKSF0QbLS8CiUKJpEP34LFQG",
  "direction": "inbound",
  "started_at": "2026-09-28T10:17:00.000Z",
  "duration_seconds": 184,
  "outcome": "answered_ai",
  "outcome_basis": "inbound_verdict",
  "version": 2,
  "updated_at": "2026-09-28T10:21:04.010Z"
}

The CallBindingOptions object

Current eligible calling options. Reading does not dial, reserve budget or change configuration.

Attributes

  • object string

    Always call_binding_options.

  • data Array<object> ≤ 100 items

    Bounded current published selections. Select one explicitly.

  • complete boolean

    Whether this bounded response includes every current usable selection.

CallBindingOptions · exampleJSON
{
  "object": "call_binding_options",
  "data": [
    {
      "object": "call_binding",
      "reference": "tcall1.cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc",
      "assistant_name": "Example assistant",
      "line_label": "Example office",
      "line_number": "+12025550123",
      "channel": "phone"
    }
  ],
  "complete": true
}

The CallStartReceipt object

Minimal truthful call-start acceptance receipt.

Attributes

  • object string

    Always call_start_receipt.

  • status string

    The provider accepted call initiation. This is not evidence that the person answered or the call completed.

  • call_id string Nullable ID prefix call_…

    Opaque canonical call id when its retained record exists; otherwise null. Never a raw provider id.

CallStartReceipt · exampleJSON
{
  "object": "call_start_receipt",
  "status": "accepted",
  "call_id": null
}

The CallTranscript object

Explicitly authorized call speech content.

Attributes

  • object string

    Always call_transcript.

  • call_id string ID prefix call_…

    Current retained call.

  • text string ≤ 200000 chars

    Speech-only transcript in its original order. Tool arguments and results are excluded.

  • complete boolean

    False when the current transcript exceeds the response limit. It does not indicate that an ongoing call has ended.

CallTranscript · exampleJSON
{
  "object": "call_transcript",
  "call_id": "call_m2kUbFcayHlZ5Lgs9xZNmDS3c3Jvk",
  "text": "Please send the service guide.",
  "complete": true
}

The CallRecording object

An existing canonical European recording, never an arbitrary provider URL.

Attributes

  • object string

    Always call_recording.

  • call_id string ID prefix call_…

    Current retained call.

  • url string Format uri

    Intentional authorized recording disclosure: a bounded URL for the existing owned European application artifact.

  • expires_at string Format date-time

    Expiry of this URL. Later access requires a fresh authorized request.

  • content_type string Nullable 1–255 chars

    Stored artifact media type when available.

  • size integer Nullable Range ≥ 0

    Stored artifact size in bytes when available.

CallRecording · exampleJSON
{
  "object": "call_recording",
  "call_id": "call_m2kUbFcayHlZ5Lgs9xZNmDS3c3Jvk",
  "url": "https://storage.googleapis.com/totem-402908-eu/teams/example/calls/example/recording.wav?X-Goog-Signature=fictitious",
  "expires_at": "2026-10-01T09:30:00.000Z",
  "content_type": "audio/wav",
  "size": 100
}

The AnalysisReceipt object

Content-free stored callback receipt. Acceptance never claims every deferred analysis task has completed.

Attributes

  • object string

    Always analysis_receipt.

  • resource_kind string

    Resource whose current analysis was processed.

    Possible values
    • call
    • meeting
  • summary_updated boolean

    Whether this logical callback committed its eligible summary.

  • custom_values_updated boolean

    Whether this callback committed any eligible call extraction into its current retained lead; always false for meetings.

  • finite_status string

    Status of requested canonical finite fields. Deferred or unavailable is never a completed paid classification.

    Possible values
    • not_requested
    • applied
    • deferred
    • unavailable
AnalysisReceipt · exampleJSON
{
  "object": "analysis_receipt",
  "resource_kind": "call",
  "summary_updated": true,
  "custom_values_updated": false,
  "finite_status": "deferred"
}

The Conversation object

A conversation on one channel: its status, assignee and the times of the latest messages, never their content.

Attributes

  • id string ID prefix conv_…

    Public id of the record.

  • object string

    Always conversation.

  • livemode boolean

    true for real data; false in example data.

  • team string ID prefix team_…

    The team this record belongs to.

  • lead string Nullable ID prefix lead_…

    The lead this conversation is linked to, or null when it is unlinked or the lead no longer exists. Identity (name, phone, handle) travels on the lead only.

  • channel_type string Nullable

    The channel: whatsapp, email, chatbot (the web chat), facebook, instagram, sms or tiktok; null for a value this version does not know. A lead can have several conversations on the same channel and business account, one for each contact address (phone number, email address or handle) it has used, so key your copy on id.

    Possible values
    • sms
    • whatsapp
    • facebook
    • instagram
    • tiktok
    • chatbot
    • email
  • status string Nullable

    active or archived in the team's inbox; null for a value this version does not know.

    Possible values
    • active
    • archived
  • assignee string Nullable ID prefix mem_…

    The team member assigned to the conversation (see /members), or null.

  • reply_mode string

    human while a person has taken the conversation over, including a WhatsApp chat answered from the WhatsApp Business app; ai otherwise. ai means no takeover is active, not that an assistant is set up or answering on this channel. A timed takeover returns to ai when it expires, and the record's version changes then.

    Possible values
    • ai
    • human
  • created_at string Nullable Format date-time

    When the conversation was created (UTC).

  • last_inbound_at string Nullable Format date-time

    The latest customer message (UTC). Not counted: erased messages, imported WhatsApp history and web-chat visitor turns, so a chatbot conversation reads null. Instagram shares cannot be told apart and count.

  • last_outbound_at string Nullable Format date-time

    The latest message sent to the customer that did not fail (UTC), whoever sent it. Imported WhatsApp history counts.

  • version integer Range ≥ 1

    Increases every time one of the record's exported fields changes. Apply a change only when its version is greater than the one you hold.

  • updated_at string Format date-time

    When Totem recorded this version (UTC). It is not the time the business event happened.

Conversation · exampleJSON
{
  "id": "conv_m3GhGjRHmFbww1g10oqOp7j3gWqPJ",
  "object": "conversation",
  "livemode": false,
  "team": "team_r9uYrIW4gSFJJ6hZQ9ip1UIpPaAD1CF7NR",
  "lead": "lead_r72EfbRNUzuqORFJR0O8HxAwEXd93jGUTYMaMMXKSF0QbLS8CiUKJpEP34LFQG",
  "channel_type": "whatsapp",
  "status": "active",
  "assignee": "mem_h548E7UiYhutHhucVrQCzkM0eaea0",
  "reply_mode": "ai",
  "created_at": "2026-09-28T10:16:00.000Z",
  "last_inbound_at": "2026-10-01T08:58:00.000Z",
  "last_outbound_at": "2026-10-01T08:59:30.000Z",
  "version": 12,
  "updated_at": "2026-10-01T08:59:31.040Z"
}

The ConversationMessages object

Bounded current message bodies without sender destinations, raw identifiers or media locations. Truncated means older retained rows may exist.

Attributes

  • object string

    Identifies a content-authorized conversation message page.

    Value
    • conversation_messages
  • messages Array<object> ≤ 50 items

    Latest retained messages visible under the current content grant, with at most fifty entries.

  • truncated boolean

    True when older retained messages may exist beyond this bounded page.

ConversationMessages · exampleJSON
{
  "object": "conversation_messages",
  "messages": [],
  "truncated": false
}

The MessageChannels object

Configured sender references without provider identifiers or credentials.

Attributes

  • object string

    Identifies a configured message sender inventory.

    Value
    • message_channels
  • channels Array<object> ≤ 100 items

    Current configured senders, limited to one hundred entries. References are scoped to this integration and team.

MessageChannels · exampleJSON
{
  "object": "message_channels",
  "channels": [
    {
      "reference": "mch1_aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
      "channel_type": "chatbot",
      "name": "Example chat"
    }
  ]
}

The MessageReceipt object

Current-source message result without body, destination or provider identifiers.

Attributes

  • object string

    Identifies a retained message delivery result.

    Value
    • message_receipt
  • status string

    Sent requires actual provider acceptance; prepared identifies a retained web chat response awaiting its delivery surface.

    Possible values
    • sent
    • prepared
  • conversation_id string ID prefix conv_…

    Current conversation in the selected team. Tenant integrations must supply its identifier; hosted processing may derive its exact signed source.

MessageReceipt · exampleJSON
{
  "object": "message_receipt",
  "status": "prepared",
  "conversation_id": "conv_m3GhGjRHmFbww1g10oqOp7j3gWqPJ"
}

The FirstReplyReceipt object

Source-proven canonical first-reply receipt with bounded context and no provider identifiers.

Attributes

  • object string

    Always first_reply_receipt.

  • first_reply object Nullable

    Current source-proven context, or null when no content may be disclosed.

  • skip_ai_reply boolean

    Whether the canonical campaign or human ownership suppresses the normal assistant reply.

  • prepared_reference string Nullable 40–16384 chars Pattern ^tcnt1\.[A-Za-z0-9_-]+$

    Opaque prepared webchat content reference, or null. Resolve it with the same current content permissions.

FirstReplyReceipt · exampleJSON
{
  "object": "first_reply_receipt",
  "first_reply": null,
  "skip_ai_reply": false,
  "prepared_reference": null
}

The RequestedInfoReceipt object

Immutable queue admission acknowledgement, without content, destination or provider identifiers.

Attributes

  • object string

    Always requested_info_receipt.

  • status string

    Whether this admission created the queued request or found an existing request in progress. This is an admission snapshot.

    Possible values
    • queued
    • already_queued
  • channel string

    Configured response channel chosen by current staff policy.

    Possible values
    • whatsapp
    • email
  • delivery_confirmed boolean

    This queue acknowledgement does not attest delivery, including when read again after dispatch.

    Value
    • false
  • includes_requested_detail boolean

    Whether the configured response includes the requested information field.

  • eta_minutes number

    The canonical queue estimate at admission, in minutes; not a delivery guarantee.

    Value
    • 5
RequestedInfoReceipt · exampleJSON
{
  "object": "requested_info_receipt",
  "status": "queued",
  "channel": "email",
  "delivery_confirmed": false,
  "includes_requested_detail": true,
  "eta_minutes": 5
}

The Booking object

A booking and its kind: an appointment for a bookable service, an event from the connected calendar, or a booking imported from another system.

Attributes

  • id string ID prefix bkg_…

    Public id of the record.

  • object string

    Always booking.

  • livemode boolean

    true for real data; false in example data.

  • team string ID prefix team_…

    The team this record belongs to.

  • lead string Nullable ID prefix lead_…

    The lead this booking belongs to, or null for a booking without a lead or when the lead no longer exists. Names and contact details appear only on the lead.

  • kind string

    service_booking (booked for a bookable service, by the AI, a customer or a person), calendar_event (an event from the connected calendar) or external_import (synced from an external booking system or read from a portal email). A booking from an origin this version does not know is reported as calendar_event.

    Possible values
    • service_booking
    • calendar_event
    • external_import
  • service string Nullable ID prefix svc_…

    The booked service (see /booking_services) on a service_booking; null otherwise.

  • status string Nullable

    scheduled, rescheduled, cancelled, postponed, attended, no_show or team_no_show (attendance is recorded only by people); null for a value this version does not know. rescheduled means the booking was moved in place and its times are the new ones; a booking the AI replaced with a new one reads cancelled, with rescheduled_to set.

    Possible values
    • scheduled
    • rescheduled
    • cancelled
    • postponed
    • attended
    • no_show
    • team_no_show
  • starts_at string Nullable Format date-time

    When the booking starts (UTC).

  • ends_at string Nullable Format date-time

    When the booking ends (UTC).

  • meeting_type string Nullable

    online, in_person or phone; null when not stored.

    Possible values
    • online
    • in_person
    • phone
  • source string Nullable

    Who booked it: ai, customer, operator or an authorized integration; null when not recorded.

    Possible values
    • ai
    • customer
    • operator
    • integration
  • rescheduled_from string Nullable ID prefix bkg_…

    The booking this one replaced in a reschedule, or null. For a few seconds the replaced booking can still read scheduled; bookings rescheduled before Totem started recording this link may not have it.

  • rescheduled_to string Nullable ID prefix bkg_…

    The booking that replaced this one in a reschedule, or null. When it is set, this booking reads cancelled.

  • created_at string Nullable Format date-time

    When the booking was recorded in Totem (UTC).

  • version integer Range ≥ 1

    Increases every time one of the record's exported fields changes. Apply a change only when its version is greater than the one you hold.

  • updated_at string Format date-time

    When Totem recorded this version (UTC). It is not the time the business event happened.

Booking · exampleJSON
{
  "id": "bkg_r72EfbRNUzuqORFJR0O8HxAwEXd93jGUTYMaMMX3ttMKHRR9ADk3N7Cr3NSuY0",
  "object": "booking",
  "livemode": false,
  "team": "team_r9uYrIW4gSFJJ6hZQ9ip1UIpPaAD1CF7NR",
  "lead": "lead_r72EfbRNUzuqORFJR0O8HxAwEXd93jGUTYMaMMXKSF0QbLS8CiUKJpEP34LFQG",
  "kind": "service_booking",
  "service": "svc_h42kgwwJGPzsm2Zoy1A1RBv1KIrX5",
  "status": "scheduled",
  "starts_at": "2026-10-06T15:00:00.000Z",
  "ends_at": "2026-10-06T15:30:00.000Z",
  "meeting_type": "in_person",
  "source": "ai",
  "rescheduled_from": null,
  "rescheduled_to": null,
  "created_at": "2026-10-01T09:01:00.000Z",
  "version": 1,
  "updated_at": "2026-10-01T09:01:02.000Z"
}

The BookingService object

A service customers can book, with its meeting type.

Attributes

  • id string ID prefix svc_…

    Public id of the record.

  • object string

    Always booking_service.

  • livemode boolean

    true for real data; false in example data.

  • team string ID prefix team_…

    The team this record belongs to.

  • name string Nullable ≥ 1 chars

    The service's name, or null when none is stored.

  • meeting_type string

    How the service happens: online (the default when none is stored), in_person or phone.

    Possible values
    • online
    • in_person
    • phone
BookingService · exampleJSON
{
  "id": "svc_h42kgwwJGPzsm2Zoy1A1RBv1KIrX5",
  "object": "booking_service",
  "livemode": false,
  "team": "team_r9uYrIW4gSFJJ6hZQ9ip1UIpPaAD1CF7NR",
  "name": "First visit",
  "meeting_type": "in_person"
}

The CalendarServiceOptionsResult object

Source-backed service discovery for tenant integrations and actual hosted assistants.

Attributes

  • object string

    Always booking_service_options.

  • data Array<object> ≤ 50 items

    Current permitted services in this page.

  • timezone string 1–128 chars

    Team business timezone.

  • complete boolean

    Whether the current search has no further page.

  • next_cursor string Nullable ≤ 16384 chars

    Opaque next-page cursor, or null.

CalendarServiceOptionsResult · exampleJSON
{
  "object": "booking_service_options",
  "data": [],
  "timezone": "Europe/Madrid",
  "complete": true,
  "next_cursor": null
}

The BookingAvailability object

Bounded public choices and offers without provider or raw resource identifiers.

Attributes

  • object string

    Always booking_availability.

  • service_id string ID prefix svc_…

    Selected service.

  • timezone string 1–100 chars

    Current business timezone.

  • expires_at string Format date-time

    An instant in UTC.

  • options Array<object> ≤ 50 items

    Current permitted service options. Select one when several are returned.

  • slots Array<object> ≤ 20 items

    Bounded available slots with opaque offers; reading them does not reserve capacity.

BookingAvailability · exampleJSON
{
  "object": "booking_availability",
  "service_id": "svc_h42kgwwJGPzsm2Zoy1A1RBv1KIrX5",
  "timezone": "Europe/Madrid",
  "expires_at": "2026-10-01T09:30:00.000Z",
  "options": [],
  "slots": []
}

The BookingManagement object

Fresh management projection and action ETag from the same source snapshot; not a capture version.

Attributes

  • team string ID prefix team_…

    The team this record belongs to.

  • lead string Nullable ID prefix lead_…

    The lead this booking belongs to, or null for a booking without a lead or when the lead no longer exists. Names and contact details appear only on the lead.

  • kind string

    service_booking (booked for a bookable service, by the AI, a customer or a person), calendar_event (an event from the connected calendar) or external_import (synced from an external booking system or read from a portal email). A booking from an origin this version does not know is reported as calendar_event.

    Possible values
    • service_booking
    • calendar_event
    • external_import
  • service string Nullable ID prefix svc_…

    The booked service (see /booking_services) on a service_booking; null otherwise.

  • status string Nullable

    scheduled, rescheduled, cancelled, postponed, attended, no_show or team_no_show (attendance is recorded only by people); null for a value this version does not know. rescheduled means the booking was moved in place and its times are the new ones; a booking the AI replaced with a new one reads cancelled, with rescheduled_to set.

    Possible values
    • scheduled
    • rescheduled
    • cancelled
    • postponed
    • attended
    • no_show
    • team_no_show
  • starts_at string Nullable Format date-time

    When the booking starts (UTC).

  • ends_at string Nullable Format date-time

    When the booking ends (UTC).

  • meeting_type string Nullable

    online, in_person or phone; null when not stored.

    Possible values
    • online
    • in_person
    • phone
  • source string Nullable

    Who booked it: ai, customer, operator or an authorized integration; null when not recorded.

    Possible values
    • ai
    • customer
    • operator
    • integration
  • rescheduled_from string Nullable ID prefix bkg_…

    The booking this one replaced in a reschedule, or null. For a few seconds the replaced booking can still read scheduled; bookings rescheduled before Totem started recording this link may not have it.

  • rescheduled_to string Nullable ID prefix bkg_…

    The booking that replaced this one in a reschedule, or null. When it is set, this booking reads cancelled.

  • created_at string Nullable Format date-time

    When the booking was recorded in Totem (UTC).

  • object string

    Always booking_management.

  • id string ID prefix bkg_…

    Current booking.

  • etag string Pattern ^"bka_[a-f0-9]{64}"$

    Strong action validator from this exact current source; use it in If-Match for cancellation or rescheduling.

BookingManagement · exampleJSON
{
  "team": "team_r9uYrIW4gSFJJ6hZQ9ip1UIpPaAD1CF7NR",
  "lead": "lead_r72EfbRNUzuqORFJR0O8HxAwEXd93jGUTYMaMMXKSF0QbLS8CiUKJpEP34LFQG",
  "kind": "service_booking",
  "service": "svc_h42kgwwJGPzsm2Zoy1A1RBv1KIrX5",
  "status": "scheduled",
  "starts_at": "2026-10-06T15:00:00.000Z",
  "ends_at": "2026-10-06T15:30:00.000Z",
  "meeting_type": "in_person",
  "source": "ai",
  "rescheduled_from": null,
  "rescheduled_to": null,
  "created_at": "2026-10-01T09:01:00.000Z",
  "object": "booking_management",
  "id": "bkg_r72EfbRNUzuqORFJR0O8HxAwEXd93jGUTYMaMMX3ttMKHRR9ADk3N7Cr3NSuY0",
  "etag": "\"bka_aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa\""
}

The BookingManagementList object

Current authorized lead bookings, with explicit completeness.

Attributes

  • object string

    Always booking_management_list.

  • data Array<BookingManagement> ≤ 20 items

    At most twenty current manageable bookings for the authorized lead.

  • complete boolean

    False when the bounded query may omit additional owned bookings.

BookingManagementList · exampleJSON
{
  "object": "booking_management_list",
  "data": [
    {
      "team": "team_r9uYrIW4gSFJJ6hZQ9ip1UIpPaAD1CF7NR",
      "lead": "lead_r72EfbRNUzuqORFJR0O8HxAwEXd93jGUTYMaMMXKSF0QbLS8CiUKJpEP34LFQG",
      "kind": "service_booking",
      "service": "svc_h42kgwwJGPzsm2Zoy1A1RBv1KIrX5",
      "status": "scheduled",
      "starts_at": "2026-10-06T15:00:00.000Z",
      "ends_at": "2026-10-06T15:30:00.000Z",
      "meeting_type": "in_person",
      "source": "ai",
      "rescheduled_from": null,
      "rescheduled_to": null,
      "created_at": "2026-10-01T09:01:00.000Z",
      "object": "booking_management",
      "id": "bkg_r72EfbRNUzuqORFJR0O8HxAwEXd93jGUTYMaMMX3ttMKHRR9ADk3N7Cr3NSuY0",
      "etag": "\"bka_aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa\""
    }
  ],
  "complete": true
}

The BookingReceipt object

Minimal current-source booking outcome.

Attributes

  • object string

    Always booking_receipt.

  • id string ID prefix bkg_…

    Booking id.

  • status string

    Verified current booking outcome; unchanged means no new booking mutation.

    Possible values
    • scheduled
    • cancelled
    • rescheduled
    • unchanged
  • previous_id string Nullable ID prefix bkg_…

    Original booking when a reschedule replaced it, otherwise null.

BookingReceipt · exampleJSON
{
  "object": "booking_receipt",
  "id": "bkg_r72EfbRNUzuqORFJR0O8HxAwEXd93jGUTYMaMMX3ttMKHRR9ADk3N7Cr3NSuY0",
  "status": "scheduled",
  "previous_id": null
}

The BookingPayment object

Owned current payment metadata, never a raw Stripe record.

Attributes

  • object string

    Always booking_payment.

  • reference string 40–16384 chars Pattern ^tcal1\.[A-Za-z0-9_-]+$

    Server-issued opaque calendar reference; never parse or modify it.

  • status string

    Current owned payment lifecycle; review needs reconciliation and consumed means applied to a booking.

    Possible values
    • pending
    • processing
    • paid
    • failed
    • refunded
    • review
    • consumed
  • amount_minor integer Range ≥ 0

    Current payment amount in minor currency units.

  • currency string Pattern ^[A-Z]{3}$

    Uppercase three-letter currency code.

  • checkout_url string Nullable Format uri

    Current active authenticated-merchant checkout URL; null when unavailable.

  • slot_held boolean

    Whether capacity is currently held for this payment.

  • hold_expires_at string Nullable Format date-time

    Current hold expiry in UTC, or null without an active hold.

  • booking_id string Nullable ID prefix bkg_…

    Current confirmed booking id when resolvable, otherwise null.

BookingPayment · exampleJSON
{
  "object": "booking_payment",
  "reference": "tcal1.bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb",
  "status": "pending",
  "amount_minor": 2500,
  "currency": "EUR",
  "checkout_url": null,
  "slot_held": false,
  "hold_expires_at": null,
  "booking_id": null
}

The BookingPaymentList object

At most five current payment requests for the authorized lead.

Attributes

  • object string

    Always booking_payment_list.

  • payments Array<BookingPayment> ≤ 5 items

    Current owned payment requests, at most five.

  • complete boolean

    False when the bounded query may omit additional current requests.

BookingPaymentList · exampleJSON
{
  "object": "booking_payment_list",
  "payments": [
    {
      "object": "booking_payment",
      "reference": "tcal1.bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb",
      "status": "pending",
      "amount_minor": 2500,
      "currency": "EUR",
      "checkout_url": null,
      "slot_held": false,
      "hold_expires_at": null,
      "booking_id": null
    }
  ],
  "complete": true
}

The BookingPaymentReceipt object

A payment request or link delivery is not a confirmed booking.

Attributes

  • object string

    Always booking_payment_receipt.

  • reference string 40–16384 chars Pattern ^tcal1\.[A-Za-z0-9_-]+$

    Server-issued opaque calendar reference; never parse or modify it.

  • outcome string

    Current payment requirement, reconciliation state or accepted link send.

    Possible values
    • payment_required
    • payment_processing
    • payment_review
    • link_sent
  • booking_confirmed boolean

    Always false: a payment request or sent link does not confirm a booking.

BookingPaymentReceipt · exampleJSON
{
  "object": "booking_payment_receipt",
  "reference": "tcal1.bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb",
  "outcome": "payment_required",
  "booking_confirmed": false
}

The Notification object

A business notification, including its summary and linked lead, call or conversation. Personal notes and technical alerts are excluded.

Attributes

  • id string ID prefix ntf_…

    Public id of the record.

  • object string

    Always notification.

  • livemode boolean

    true for real data; false in example data.

  • team string ID prefix team_…

    The team this record belongs to.

  • lead string Nullable ID prefix lead_…

    The associated lead, or null when none is linked or its public id is not captured yet.

  • call string Nullable ID prefix call_…

    The associated call, or null.

  • conversation string Nullable ID prefix conv_…

    The associated conversation, or null.

  • summary string Nullable ≤ 10000 chars

    The stored business notification text, trimmed and limited to 10,000 characters; null when blank. It can contain personal data and a source summary already copied into the notice. The API does not independently read or export message content, transcripts, call summaries, lead notes or technical errors.

  • status string Nullable

    new, read or archived; null for an unknown stored status. Reading the API never marks a notice read.

    Possible values
    • new
    • read
    • archived
  • source string

    The business source: call, chat, reminder, task or manual (also used for an absent source). Unknown and technical sources are excluded.

    Possible values
    • call
    • chat
    • reminder
    • task
    • manual
  • handoff_reason string Nullable

    The recorded handoff reason, or null. No reason is inferred from the summary.

    Possible values
    • missed_team_appointment
  • created_at string Nullable Format date-time

    When the notification was created in Totem (UTC), or null.

  • version integer Range ≥ 1

    Increases every time one of the record's exported fields changes. Apply a change only when its version is greater than the one you hold.

  • updated_at string Format date-time

    When Totem recorded this version (UTC). It is not the time the business event happened.

Notification · exampleJSON
{
  "id": "ntf_m3mtwDFyaDSKmhf9rg7Ps201S8Jc4",
  "object": "notification",
  "livemode": false,
  "team": "team_r9uYrIW4gSFJJ6hZQ9ip1UIpPaAD1CF7NR",
  "lead": "lead_r72EfbRNUzuqORFJR0O8HxAwEXd93jGUTYMaMMXKSF0QbLS8CiUKJpEP34LFQG",
  "call": null,
  "conversation": "conv_m3GhGjRHmFbww1g10oqOp7j3gWqPJ",
  "summary": "Alex requests a call from a person about the appointment.",
  "status": "new",
  "source": "chat",
  "handoff_reason": null,
  "created_at": "2026-10-01T08:58:00.000Z",
  "version": 1,
  "updated_at": "2026-10-01T08:58:30.000Z"
}

The NotificationReceipt object

Minimal notification receipt without its content, recipients or internal source references.

Attributes

  • object string

    Always notification_receipt.

  • id string ID prefix ntf_…

    Opaque notification id bound to its team and incarnation.

  • handoff object May be absent

    Present only for an explicitly authorized incident report; it never asserts verified attendance or delivery.

  • status string

    Notification status recorded by the operation.

    Possible values
    • new
    • archived
NotificationReceipt · exampleJSON
{
  "object": "notification_receipt",
  "id": "ntf_m3mtwDFyaDSKmhf9rg7Ps201S8Jc4",
  "status": "new"
}

The TaskReceipt object

Minimal task receipt without task content or internal ids.

Attributes

  • object string

    Always task_receipt.

  • id string ID prefix task_…

    Opaque task id bound to its team and incarnation; never parse it.

  • status string

    Task state recorded by the completed operation.

    Possible values
    • open
    • done
TaskReceipt · exampleJSON
{
  "object": "task_receipt",
  "id": "task_m3wNC3n7WfzycfQJlLJiPi53sB5Dr",
  "status": "open"
}

The DecisionRequest object

A decision request this integration created, without lead contact data, responder phone numbers or answer links.

Attributes

  • object string

    Always decision_request.

  • id string ID prefix drq_…

    Opaque decision request id bound to its team and incarnation; never parse it.

  • type_id string Nullable

    The request type, or null without one.

  • type_name string

    The label responders saw.

  • preset string

    approval or assignment.

    Possible values
    • approval
    • assignment
  • title string

    What had to be decided.

  • reference string Nullable

    Your reference, or null.

  • state string

    open while people are being asked; resolved once it ended.

    Possible values
    • open
    • resolved
  • resolution string Nullable

    How it ended: approved, rejected, accepted, unanswered (everyone declined or stayed silent), expired or cancelled; null while open.

    Possible values
    • approved
    • rejected
    • accepted
    • unanswered
    • expired
    • cancelled
  • created_at string Format date-time

    When the request was created, in UTC.

  • expires_at string Format date-time

    When the request ends as expired if nobody decided, in UTC.

  • resolved_at string Nullable Format date-time

    When it ended, in UTC; null while open.

  • assignee string Nullable ID prefix mem_…

    Assignment only: the member who accepted the job (or whom the type's policy picked); otherwise null.

  • decided_by string Nullable ID prefix mem_…

    Who ended it: the deciding member, policy (the type decided alone), system (deadlines, nobody left to ask) or integration (cancelled through the API); null while open.

    Possible values
    • policy
    • system
    • integration
  • comment string Nullable

    The deciding answer's comment, or null.

  • via string Nullable

    Where the deciding answer came from: the app, the signed response link, an admin answering for the team, or the alert call; null when no person decided.

    Possible values
    • app
    • link
    • admin
    • call
  • final_fields object Nullable

    Approved or accepted only: every field key with its final value, including the responder's corrections; otherwise null.

  • final_message object Nullable

    Approved or accepted only, with a message: the email as approved; otherwise null.

  • effects object

    What Totem did after the request ended.

  • metadata object

    The metadata this integration sent, unchanged.

DecisionRequest · exampleJSON
{
  "object": "decision_request",
  "id": "drq_m423Xy70UYKA7qToV8ptXW80qS9cm",
  "type_id": "quote",
  "type_name": "Quote",
  "preset": "approval",
  "title": "Approve the lawn quote for 120 m²",
  "reference": "Q-1042",
  "state": "resolved",
  "resolution": "approved",
  "created_at": "2026-10-01T09:30:00.000Z",
  "expires_at": "2026-10-08T09:30:00.000Z",
  "resolved_at": "2026-10-01T10:05:00.000Z",
  "assignee": null,
  "decided_by": "mem_h548E7UiYhutHhucVrQCzkM0eaea0",
  "comment": "Rounded the price down.",
  "via": "app",
  "final_fields": {
    "m2": "120",
    "total": "2350"
  },
  "final_message": {
    "subject": "Your lawn quote",
    "body": "Hello, here is your quote for 120 m²."
  },
  "effects": {
    "lead_note": "done",
    "email": "done",
    "email_review_reason": null
  },
  "metadata": {
    "quote_id": "Q-1042"
  }
}

The DecisionRequestReceipt object

Minimal decision request receipt, as the operation recorded it. A type that decides by policy is already resolved here.

Attributes

  • object string

    Always decision_request_receipt.

  • id string ID prefix drq_…

    Opaque decision request id bound to its team and incarnation; never parse it.

  • state string

    open while people are being asked; resolved once it ended.

    Possible values
    • open
    • resolved
  • resolution string Nullable

    How it ended: approved, rejected, accepted, unanswered (everyone declined or stayed silent), expired or cancelled; null while open.

    Possible values
    • approved
    • rejected
    • accepted
    • unanswered
    • expired
    • cancelled
DecisionRequestReceipt · exampleJSON
{
  "object": "decision_request_receipt",
  "id": "drq_m423Xy70UYKA7qToV8ptXW80qS9cm",
  "state": "open",
  "resolution": null
}

The KnowledgeSearch object

Current retained knowledge passages without query echo, provider ids or source URLs.

Attributes

  • object string

    Always knowledge_search.

  • status string

    Indexing with no retained match means the index is still being prepared.

    Possible values
    • ready
    • indexing
  • passages Array<object> ≤ 8 items

    Matching passages only; an empty array is a successful search.

KnowledgeSearch · exampleJSON
{
  "object": "knowledge_search",
  "status": "ready",
  "passages": [
    {
      "text": "The first visit includes an initial assessment and a written estimate.",
      "title": "Service guide",
      "section": "First visit",
      "page": 2,
      "score": 0.85
    }
  ]
}

The AssistantOptions object

Metadata-only published assistant discovery; no prompts, tool configuration or provider selectors.

Attributes

  • object string

    Always assistant_options.

  • data Array<object> ≤ 50 items

    Bounded current published selections. Draft and disabled assistants are omitted.

  • complete boolean

    Whether this bounded discovery inspected every current assistant definition.

AssistantOptions · exampleJSON
{
  "object": "assistant_options",
  "data": [
    {
      "reference": "tast1.dddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddd",
      "name": "Example assistant",
      "version": 1
    }
  ],
  "complete": true
}

The AssistantRunReceipt object

Content-free completed-run metadata. It never exports the reply, prompt, private source or provider identifiers.

Attributes

  • object string

    Always assistant_run_receipt.

  • status string

    The original canonical turn completed with an actual retained assistant reply, not merely queue admission.

  • conversation_id string ID prefix conv_…

    Opaque current conversation. Read reply bodies through conversations.messages with its separate current content grant.

AssistantRunReceipt · exampleJSON
{
  "object": "assistant_run_receipt",
  "status": "completed",
  "conversation_id": "conv_m3GhGjRHmFbww1g10oqOp7j3gWqPJ"
}

The LibraryEntry object

Attributes

  • object string

    Always library_entry.

  • reference string 40–16384 chars Pattern ^tcnt1\.[A-Za-z0-9_-]+$

    Current server-issued opaque content reference; never parse or modify it.

  • name string ≤ 2000 chars

    Current entry display name.

  • description string ≤ 20000 chars

    Current authored entry description.

  • type string

    A text message, media entry or ordered sequence.

    Possible values
    • message
    • media
    • sequence
  • revision integer Range ≥ 0

    Current authored revision; sending requires the revision you reviewed.

  • part_count integer Range ≥ 0

    Number of sendable parts in this current entry.

  • file_count integer Range ≥ 0

    Number of files in this current entry.

  • preview string ≤ 1200 chars

    Bounded authorized content preview.

  • language string Nullable ≤ 100 chars

    Configured entry language, or null.

  • parts Array<object> May be absent ≤ 25 items

    Ordered authorized parts, included by the detail read.

LibraryEntry · exampleJSON
{
  "object": "library_entry",
  "reference": "tcnt1.aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
  "name": "Example service guide",
  "description": "Fictitious public example",
  "type": "message",
  "revision": 1,
  "part_count": 1,
  "file_count": 0,
  "preview": "The first visit includes an initial assessment.",
  "language": "en",
  "parts": [
    {
      "kind": "message",
      "text": "The first visit includes an initial assessment.",
      "file_name": null,
      "media_type": null
    }
  ]
}

The LibraryEntryList object

Attributes

  • object string

    Always library_entry_list.

  • data Array<LibraryEntry> ≤ 50 items

    Current permitted entries on this page.

  • next_cursor string Nullable 40–16384 chars Pattern ^tcnt1\.[A-Za-z0-9_-]+$

    Opaque next-page cursor, or null after the last page.

  • coverage string

    Whether more discovery pages remain or this result is complete.

    Possible values
    • page
    • complete
  • total integer Nullable Range ≥ 0

    Total entries when established by the bounded discovery, otherwise null.

  • matched_in_page integer Range ≥ 0

    Number of entries matched within this returned page.

LibraryEntryList · exampleJSON
{
  "object": "library_entry_list",
  "data": [
    {
      "object": "library_entry",
      "reference": "tcnt1.aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
      "name": "Example service guide",
      "description": "Fictitious public example",
      "type": "message",
      "revision": 1,
      "part_count": 1,
      "file_count": 0,
      "preview": "The first visit includes an initial assessment.",
      "language": "en",
      "parts": [
        {
          "kind": "message",
          "text": "The first visit includes an initial assessment.",
          "file_name": null,
          "media_type": null
        }
      ]
    }
  ],
  "next_cursor": null,
  "coverage": "complete",
  "total": 1,
  "matched_in_page": 1
}

The LibraryDeliveryReceipt object

Attributes

  • object string

    Always library_delivery_receipt.

  • status string

    Current durable delivery state. Reconcile partial or uncertain delivery before repeating it.

    Possible values
    • sent
    • partial
    • uncertain
    • failed
    • held
    • in_progress
    • prepared
  • sent_parts integer Range ≥ 0

    Parts with retained provider acceptance; prepared web chat parts are separate.

  • total_parts integer Range ≥ 0

    Total parts of this reviewed delivery.

  • prepared boolean

    True only for a persisted web chat response prepared for the caller to render.

  • prepared_reference string Nullable 40–16384 chars Pattern ^tcnt1\.[A-Za-z0-9_-]+$

    Current source-bound prepared response reference, or null for other delivery states.

  • reason string

    Closed delivery disposition without private provider errors.

    Possible values
    • none
    • already_sent
    • resource_changed
    • conversation_changed
    • session_closed
    • delivery_refused
LibraryDeliveryReceipt · exampleJSON
{
  "object": "library_delivery_receipt",
  "status": "prepared",
  "sent_parts": 0,
  "total_parts": 1,
  "prepared": true,
  "prepared_reference": "tcnt1.aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
  "reason": "none"
}

The LibraryPreparedResponse object

Attributes

  • object string

    Always library_prepared_response.

  • version number

    Prepared visitor response format version, always one.

    Value
    • 1
  • messages Array<object> ≤ 25 items

    Ordered persisted visitor messages; preserve this order when rendering.

LibraryPreparedResponse · exampleJSON
{
  "object": "library_prepared_response",
  "version": 1,
  "messages": [
    {
      "id": "prepared_example",
      "role": "assistant",
      "kind": "text",
      "content": "The first visit includes an initial assessment.",
      "timestamp": "2026-10-01T09:30:00.000Z"
    }
  ]
}

The Attachment object

Attributes

  • object string

    Always attachment.

  • url string Format uri ≤ 8192 chars

    Intentionally disclosed canonical URL of the exact owned EU application-bucket file.

  • mime_type string ≤ 200 chars

    Canonical file MIME type.

  • file_name string Nullable ≤ 2000 chars

    Canonical file name when known, otherwise null.

  • file_size integer Nullable Range ≥ 0

    Known file size in bytes, otherwise null.

Attachment · exampleJSON
{
  "object": "attachment",
  "url": "https://storage.googleapis.com/totem-402908-eu/teams/example/media/example/guide.pdf",
  "mime_type": "application/pdf",
  "file_name": "guide.pdf",
  "file_size": 100
}

The CatalogSearch object

Attributes

  • object string

    Always catalog_result_list.

  • complete boolean

    Whether this bounded result includes every matching published variant.

  • data Array<object> ≤ 100 items

    Authorized matching published variants, up to one hundred.

CatalogSearch · exampleJSON
{
  "object": "catalog_result_list",
  "complete": true,
  "data": []
}

The CatalogSendReceipt object

Attributes

  • object string

    Always catalog_send_receipt.

  • sent_as string

    The accepted single-product or product-list provider format.

    Possible values
    • catalog_product
    • catalog_product_list
  • variant_count integer Range 1–30

    Number of reviewed variants in the accepted selection.

CatalogSendReceipt · exampleJSON
{
  "object": "catalog_send_receipt",
  "sent_as": "catalog_product",
  "variant_count": 1
}

The Operation object

Durable operation status, available only to its current authorized integration and team.

Attributes

  • object string

    Always operation.

  • id string ID prefix op_…

    Opaque durable operation id.

  • status string

    Durable operation state; outcome_unknown must be reconciled before repeating the effect.

    Possible values
    • queued
    • running
    • succeeded
    • failed
    • cancelled
    • outcome_unknown
  • endpoint string

    The original endpoint executed by this operation.

    Possible values
    • tasks.create
    • tasks.complete
    • notifications.create
    • decision_requests.create
    • decision_requests.cancel
    • bookings.create
  • created_at string Format date-time

    When this operation was accepted, in UTC.

  • updated_at string Format date-time

    When its current state was recorded, in UTC.

  • Minimal public resource receipt after success, otherwise null.

  • error object Nullable

    Safe failure information, or null.

Operation · exampleJSON
{
  "object": "operation",
  "id": "op_m3yGe1tkVy6hn3m9LH9m7e640wg0O",
  "status": "queued",
  "endpoint": "tasks.create",
  "created_at": "2026-10-01T09:30:00.000Z",
  "updated_at": "2026-10-01T09:30:00.000Z",
  "result": null,
  "error": null
}

The FeedItem object

One change: the record's current state, or its removal.

Attributes of every variant

  • kind string

    The kind of the record, such as lead or call.

    Possible values
    • lead
    • lead_note
    • lead_attribution
    • lead_response
    • activity
    • call
  • version integer Range ≥ 1

    The record's version. Apply the item only when it is greater than the version you hold.

Variants

Each FeedItem is exactly one of these 2 variants.

With object

  • id string ID prefix lead_… note_… act_… call_… conv_… bkg_… brd_… ntf_…

    Public id of the record; the facets lead_attribution and lead_response use their lead's id.

  • object one of 10 objects

    The record as it is now.

    Matches kind:

With removed

  • id string ID prefix lead_… note_… act_… call_… conv_… bkg_… brd_… ntf_…

    Public id of the removed record.

  • removed object

    Present only on a removal.

FeedItem · exampleJSON
{
  "kind": "lead",
  "id": "lead_r72EfbRNUzuqORFJR0O8HxAwEXd93jGUTYMaMMXKSF0QbLS8CiUKJpEP34LFQG",
  "version": 3,
  "object": {
    "id": "lead_r72EfbRNUzuqORFJR0O8HxAwEXd93jGUTYMaMMXKSF0QbLS8CiUKJpEP34LFQG",
    "object": "lead",
    "livemode": false,
    "team": "team_r9uYrIW4gSFJJ6hZQ9ip1UIpPaAD1CF7NR",
    "record_kind": "lead",
    "name": "Alex",
    "surname": "Rivera",
    "date_of_birth": "1990-04-23",
    "email": "alex.rivera@example.com",
    "company": "Example Dental",
    "website": null,
    "phone": "+12025550123",
    "phone_status": "valid",
    "status": "contacted",
    "status_set_by": "ai",
    "archive_reason": null,
    "archived_from_status": null,
    "contact_permissions": {
      "do_not_contact": false,
      "email_opt_out": false,
      "email_opt_out_at": null,
      "whatsapp_consent": null,
      "provenance": {
        "do_not_contact": null,
        "email_opt_out": null,
        "whatsapp_consent": null
      }
    },
    "merged_into": null,
    "transferred_to": null,
    "revived_at": null,
    "pipeline_cleared": false,
    "converted_at": null,
    "value_at_conversion": null,
    "priority": "high",
    "tags": [
      "spring-check-up"
    ],
    "board": "brd_r72EfbRNUzuqORFJR0O8HxAwEXd93jGUTYMaMMX3trzsVUZQuHcMSuDh1aRIst",
    "stage": "stg_r72EfbRNUzuqORFJR0O8HxAwEXd93jGUTYMaMMXWBYWcKwVTY3CRZlVS3oYvs0",
    "assignees": [
      "mem_h548E7UiYhutHhucVrQCzkM0eaea0"
    ],
    "estimated_value": 1200,
    "estimated_value_currency": null,
    "source": "meta_lead_ads",
    "source_channel": null,
    "source_detail": null,
    "source_provenance": "member_editable",
    "created_at": "2026-09-28T10:15:00.000Z",
    "version": 3,
    "updated_at": "2026-09-28T10:20:01.250Z"
  }
}

The Event object

Attributes

  • object string

    Always event.

  • id string Pattern ^evt_(?:[a-f0-9]{48}|[a-f0-9]{64})$

    Stable opaque transition identity; deduplicate deliveries by this value.

  • name string

    Captured lifecycle transition, distinct from acceptance of an asynchronous request.

    Possible values
    • operation.completed
    • call.completed
    • call.analysis_completed
    • booking.created
    • booking.rescheduled
    • booking.cancelled
    • assistant_run.completed
    • decision_request.resolved
  • resource_type string

    Kind of retained resource referenced by this event.

    Possible values
    • operation
    • call
    • booking
    • decision_request
  • resource_id string ID prefix op_… call_… bkg_… drq_…

    Current opaque ID of the exact retained resource incarnation.

  • status string

    Captured metadata status; outcome_unknown must be reconciled before repeating an effect. For decision_request.resolved it is the resolution: approved, rejected, accepted, unanswered, expired or cancelled.

    Possible values
    • succeeded
    • failed
    • cancelled
    • outcome_unknown
    • completed
    • ready
  • occurred_at string Format date-time

    Source transition time in UTC.

Event · exampleJSON
{
  "object": "event",
  "id": "evt_aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
  "name": "operation.completed",
  "resource_type": "operation",
  "resource_id": "op_m3yGe1tkVy6hn3m9LH9m7e640wg0O",
  "status": "succeeded",
  "occurred_at": "2026-10-01T09:30:00.000Z"
}

The EventList object

Attributes

  • object string

    Always event_list.

  • data Array<Event> ≤ 100 items

    Authorized retained transitions in capture order; withheld entries still advance the cursor.

  • has_more boolean

    Continue immediately with next_cursor while true, including when data is empty.

  • next_cursor string 1–512 chars

    Opaque cursor bound to this integration and selected team; save it after processing the page.

EventList · exampleJSON
{
  "object": "event_list",
  "data": [
    {
      "object": "event",
      "id": "evt_aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
      "name": "operation.completed",
      "resource_type": "operation",
      "resource_id": "op_m3yGe1tkVy6hn3m9LH9m7e640wg0O",
      "status": "succeeded",
      "occurred_at": "2026-10-01T09:30:00.000Z"
    }
  ],
  "has_more": false,
  "next_cursor": "fictitious-opaque-event-cursor"
}

API version 1.0.0