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,attributionandresponse, inside it. - A list. Lists return
object: "list", the objects indata,has_more, andnext_cursor, which isnullon the last page. Lists and pagination explains it. - A changes-feed page. The same envelope, but
dataholds feed items (theFeedItemobject below) andnext_cursoris always a string, even on an empty page. Keep a copy in sync explains it. - An error. An
application/problem+jsonbody, described in Errors. - The health check.
GET /v1/healthanswers{"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
objectandremoved; an error carriesparamonly when it names one, and mutation wrappers can have documented optional fields. A field with no value isnull: never missing, and never an empty string. - Nullable marks a field that can be
null. Data coverage says what anullcan 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 integration that owns the key, with the teams the key reads.
Attributes
objectstringAlways
integration.idstring ID prefixprn_…Public id of the integration.
principal_kindstring May be absentPresent only for a hosted service identity. Its empty team list grants no team access; each operation still requires its signed execution context.
Valueautomation_service
livemodebooleantruefor a real key;falsein example data.namestringThe name an administrator gave the integration.
keyobjectThe key used for this request.
last4string 4 charsThe last four characters of the key used for this request.
teamsArray<string> ID prefixteam_…The teams this key reads today. Their details are in
GET /v1/teams.scopesArray<string>The key’s explicitly granted scopes; old read-only keys never gain writes or note content implicitly.
Possible valuesteams:readcrm:readcalls:readmessages:readcalendar:readcrm:writecrm:notes:readtasks:writenotifications:writenotifications:incidents:writecalendar:availability:readcalendar:writecalendar:payments:readcalendar:payment_links:sendmessages:sendcrm:context:readevents:readcrm:scheduled_contacts:writecrm:handoff:writecalls:writereferrals:writequotes:writeassistants:rundecisions:writedecisions:readcrm:custom_values:readcrm:custom_values:writeknowledge:readmessages:content:readcalls:transcripts:readcalls:recordings:readattachments:readlibrary:readcatalog:readpayments:readcalls:analysis:writecalendar:analysis:write
{
"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"
]
}A team this key reads, with its time zone and default country.
Attributes
idstring ID prefixteam_…Public id of the record.
objectstringAlways
team.livemodebooleantruefor real data;falsein example data.namestring Nullable ≥ 1 charsThe team's name as it appears in Totem, or null when none is stored.
timezonestring ≥ 1 charsThe 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_countrystring 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.phoneis validated without a default country, so a number stored without its country prefix readsphone_status: invalid.
{
"id": "team_r9uYrIW4gSFJJ6hZQ9ip1UIpPaAD1CF7NR",
"object": "team",
"livemode": false,
"name": "Example Dental",
"timezone": "America/New_York",
"default_country": "US"
}A team member, by display name only: Totem exports no email, phone or role.
Attributes
idstring ID prefixmem_…Public id of the record.
objectstringAlways
member.livemodebooleantruefor real data;falsein example data.teamstring ID prefixteam_…The team this record belongs to.
display_namestring Nullable ≥ 1 charsThe member's display name, or first and last name, or null when none is stored. Totem exports no email, phone or role.
{
"id": "mem_h548E7UiYhutHhucVrQCzkM0eaea0",
"object": "member",
"livemode": false,
"team": "team_r9uYrIW4gSFJJ6hZQ9ip1UIpPaAD1CF7NR",
"display_name": "Sam Lee"
}A lead or client record: lead fields only.
Attributes
idstring ID prefixlead_…Public id of the record.
objectstringAlways
lead.livemodebooleantruefor real data;falsein example data.teamstring ID prefixteam_…The team the record belongs to.
record_kindstringleadwhen the record has a pipeline status, otherwiseclient. A lead whose status this version does not know readsstatus: null.Possible valuesleadclient
namestring NullableFirst name or display name, or null.
surnamestring NullableSurname, or null.
date_of_birthstring Nullable FormatdatePattern^(?:(?:\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.
emailstring NullableEmail address as stored, or null.
companystring NullableCompany, or null.
websitestring NullableContact website as stored, without fetching it, or null.
phonestring NullablePhone in E.164, only when the stored number validates; otherwise null.
phone_statusstringvalid(seephone),invalid(a number is stored but does not validate, for example one stored without its country prefix) ormissing.Possible valuesvalidinvalidmissing
statusstring NullablePipeline status; null for a client record, or for a status this version does not know.
convertedis not "won".Possible valuesnewcontactedqualifiednegotiatingconvertedlostarchivedunreachable
status_set_bystring NullableWho set the current status: a person, the AI, Totem automation, an API caller, or unknown (no recorded transition lands on it). Null when
statusis null.Possible valueshumanaisystemapiunknown
archive_reasonstring NullableWhy the record was archived, as a closed code; stored free text is
other. Null when none is stored.Possible valuesopt_outno_consentnot_interestednot_qualifiedno_contactmergedfamily_transferother
archived_from_statusstring NullableThe status the lead had before its current archive; null while it is not archived or when unknown.
Possible valuesnewcontactedqualifiednegotiatingconvertedlostarchivedunreachable
contact_permissionsobjectContact permissions. Apply them before any outreach from your own systems.
do_not_contactbooleanTrue when the person asked never to be contacted (the
opt_outarchive reason). Stop every channel.email_opt_outbooleanTrue when the person unsubscribed from marketing and follow-up email.
email_opt_out_atstring Nullable Formatdate-timeWhen the email opt-out was recorded, or null.
whatsapp_consentboolean NullableWhatsApp consent: false when refused, true when recorded, null when unknown.
provenanceobjectThe source of each permission.
do_not_contactstring NullableWhere
do_not_contactcomes from, or null when it is false.Possible valuesarchive_reason
email_opt_outstring NullableWho recorded the email opt-out: the unsubscribe link, a person in Totem, or unknown. Null when there is none.
Possible valuesunsubscribe_linkmanualunknown
whatsapp_consentstring Nullablearchive_reasonwhen a refusal is recorded as the archive reason;storedfor the value kept on the record, which team members can edit. Null when unknown.Possible valuesstoredarchive_reason
merged_intostring Nullable ID prefixlead_…The lead this record was merged into, or null (also when that lead no longer exists).
transferred_toobject NullableWhere a transfer to another team of your organization sent this lead, or null. The team may be one your key does not read.
teamstring ID prefixteam_…The destination team.
leadstring Nullable ID prefixlead_…The destination lead, or null when its id cannot be named across teams: an assistant handoff created it, or the transfer landed on an existing lead-ads lead (Meta, Google Ads or LinkedIn) or another lead with a fixed id.
revived_atstring Nullable Formatdate-timeWhen the contact last came back on their own and revived an archived lead, or null.
pipeline_clearedbooleanTrue when the lead was converted with "clear pipeline data": board, stage, priority, assignees, estimated value and the source fields other than
source_channelare null because they were cleared.converted_atstring Nullable Formatdate-timeWhen the lead was converted, while its status is
converted; otherwise null.value_at_conversionnumber NullableThe estimated value when it was converted, in major units. Survives "clear pipeline data".
prioritystring NullablePriority, or null.
Possible valueslowmediumhighurgent
tagsArray<string>Labels as stored.
leadandbookingare system labels.boardstring Nullable ID prefixbrd_…The board, resolved through the stage when it has one; or null.
stagestring Nullable ID prefixstg_…The stage, or null.
assigneesArray<string> Nullable ID prefixmem_…Assigned members, sorted. Null when the record has no pipeline data.
estimated_valuenumber NullableEstimated value in major units as stored (decimals allowed), or null.
estimated_value_currencynull NullableAlways null: Totem stores no currency with the value.
sourcestring NullableThe stored lead source;
apialso covers leads created by Totem itself (for example from a conversation or a call), seesource_detail. Null when none is stored.Possible valuesmeta_lead_adsmanualwebsite_formbooking_pagecsv_importapichatbotgoogle_adslinkedinother
source_channelstring NullableThe channel the record started on (for example
whatsapp,phone,widget), or null. Team members can edit it.source_detailstring Nullableconversation,call,external:<provider>,gated_ad:<source>,family_handoff,api_intakeorunknown; null whensourceneeds no detail.source_provenancestring Nullableserver_writtenwhen Totem set the source from what the ad platform reported; otherwisemember_editable(team members can change it). Null withsource.Possible valuesserver_writtenmember_editable
created_atstring Formatdate-timeWhen the record was created.
versioninteger Range ≥ 1Increases 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_atstring Formatdate-timeWhen Totem recorded this version (UTC). It is not the time the business event happened.
{
"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"
}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
idstring ID prefixlead_…Public id of the record.
objectstringAlways
lead.livemodebooleantruefor real data;falsein example data.teamstring ID prefixteam_…The team the record belongs to.
record_kindstringleadwhen the record has a pipeline status, otherwiseclient. A lead whose status this version does not know readsstatus: null.Possible valuesleadclient
namestring NullableFirst name or display name, or null.
surnamestring NullableSurname, or null.
date_of_birthstring Nullable FormatdatePattern^(?:(?:\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.
emailstring NullableEmail address as stored, or null.
companystring NullableCompany, or null.
websitestring NullableContact website as stored, without fetching it, or null.
phonestring NullablePhone in E.164, only when the stored number validates; otherwise null.
phone_statusstringvalid(seephone),invalid(a number is stored but does not validate, for example one stored without its country prefix) ormissing.Possible valuesvalidinvalidmissing
statusstring NullablePipeline status; null for a client record, or for a status this version does not know.
convertedis not "won".Possible valuesnewcontactedqualifiednegotiatingconvertedlostarchivedunreachable
status_set_bystring NullableWho set the current status: a person, the AI, Totem automation, an API caller, or unknown (no recorded transition lands on it). Null when
statusis null.Possible valueshumanaisystemapiunknown
archive_reasonstring NullableWhy the record was archived, as a closed code; stored free text is
other. Null when none is stored.Possible valuesopt_outno_consentnot_interestednot_qualifiedno_contactmergedfamily_transferother
archived_from_statusstring NullableThe status the lead had before its current archive; null while it is not archived or when unknown.
Possible valuesnewcontactedqualifiednegotiatingconvertedlostarchivedunreachable
contact_permissionsobjectContact permissions. Apply them before any outreach from your own systems.
do_not_contactbooleanTrue when the person asked never to be contacted (the
opt_outarchive reason). Stop every channel.email_opt_outbooleanTrue when the person unsubscribed from marketing and follow-up email.
email_opt_out_atstring Nullable Formatdate-timeWhen the email opt-out was recorded, or null.
whatsapp_consentboolean NullableWhatsApp consent: false when refused, true when recorded, null when unknown.
provenanceobjectThe source of each permission.
do_not_contactstring NullableWhere
do_not_contactcomes from, or null when it is false.Possible valuesarchive_reason
email_opt_outstring NullableWho recorded the email opt-out: the unsubscribe link, a person in Totem, or unknown. Null when there is none.
Possible valuesunsubscribe_linkmanualunknown
whatsapp_consentstring Nullablearchive_reasonwhen a refusal is recorded as the archive reason;storedfor the value kept on the record, which team members can edit. Null when unknown.Possible valuesstoredarchive_reason
merged_intostring Nullable ID prefixlead_…The lead this record was merged into, or null (also when that lead no longer exists).
transferred_toobject NullableWhere a transfer to another team of your organization sent this lead, or null. The team may be one your key does not read.
teamstring ID prefixteam_…The destination team.
leadstring Nullable ID prefixlead_…The destination lead, or null when its id cannot be named across teams: an assistant handoff created it, or the transfer landed on an existing lead-ads lead (Meta, Google Ads or LinkedIn) or another lead with a fixed id.
revived_atstring Nullable Formatdate-timeWhen the contact last came back on their own and revived an archived lead, or null.
pipeline_clearedbooleanTrue when the lead was converted with "clear pipeline data": board, stage, priority, assignees, estimated value and the source fields other than
source_channelare null because they were cleared.converted_atstring Nullable Formatdate-timeWhen the lead was converted, while its status is
converted; otherwise null.value_at_conversionnumber NullableThe estimated value when it was converted, in major units. Survives "clear pipeline data".
prioritystring NullablePriority, or null.
Possible valueslowmediumhighurgent
tagsArray<string>Labels as stored.
leadandbookingare system labels.boardstring Nullable ID prefixbrd_…The board, resolved through the stage when it has one; or null.
stagestring Nullable ID prefixstg_…The stage, or null.
assigneesArray<string> Nullable ID prefixmem_…Assigned members, sorted. Null when the record has no pipeline data.
estimated_valuenumber NullableEstimated value in major units as stored (decimals allowed), or null.
estimated_value_currencynull NullableAlways null: Totem stores no currency with the value.
sourcestring NullableThe stored lead source;
apialso covers leads created by Totem itself (for example from a conversation or a call), seesource_detail. Null when none is stored.Possible valuesmeta_lead_adsmanualwebsite_formbooking_pagecsv_importapichatbotgoogle_adslinkedinother
source_channelstring NullableThe channel the record started on (for example
whatsapp,phone,widget), or null. Team members can edit it.source_detailstring Nullableconversation,call,external:<provider>,gated_ad:<source>,family_handoff,api_intakeorunknown; null whensourceneeds no detail.source_provenancestring Nullableserver_writtenwhen Totem set the source from what the ad platform reported; otherwisemember_editable(team members can change it). Null withsource.Possible valuesserver_writtenmember_editable
created_atstring Formatdate-timeWhen the record was created.
versioninteger Range ≥ 1Increases 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_atstring Formatdate-timeWhen Totem recorded this version (UTC). It is not the time the business event happened.
The lead's attribution facet, or null while Totem is still preparing it.
The lead's response facet, or null while Totem is still preparing it.
{
"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"
}
}Where a lead came from: its original capture and latest submission.
Attributes
idstring ID prefixlead_…Public id of the record.
objectstringAlways
lead_attribution.livemodebooleantruefor real data;falsein example data.teamstring ID prefixteam_…The team the lead belongs to.
original_captureobject NullableHow 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.
capturestringat_creation: frozen from the lead as it was first saved.at_activation: copied once from the lead as it was when the API was activated, for a lead with no capture record (created before Totem started recording attribution, or whose creation was not recorded).Possible valuesat_creationat_activation
captured_atstring Formatdate-timeWhen the record was written.
sourcestring NullableThe lead source at capture, from the same set as the lead's
source;apialso covers leads created by Totem itself (for example from a conversation or a call, seeorigin). Null when none was stored.Possible valuesmeta_lead_adsmanualwebsite_formbooking_pagecsv_importapichatbotgoogle_adslinkedinother
source_hintstring NullableThe real source of a gated ad lead stored as
api, or null.source_channelstring NullableThe channel at capture, or null.
external_providerstring NullableThe portal or booking platform of a forwarded or synced lead, or null.
received_atstring Nullable Formatdate-timeWhen the lead was received, as first written, or null.
submitted_atstring Nullable Formatdate-timeWhen the ad platform says the form was submitted, or null.
originobject NullableThe conversation or call that created the lead (never its id), or null (also for an origin of another kind).
kindstringconversationorcall.Possible valuesconversationcall
channelstring NullableIts channel, or null.
campaignobjectThe campaign.
idobjectIts id.
valuestring NullableThe value, or null when it was not captured.
provenancestringprovider(reported by the ad platform),team_alias(typed by staff),stored_metadata(editable lead data),stored_metadata_at_activation(copied once when the API was activated, for a lead created before capture), ornot_capturedexactly whenvalueis null.Possible valuesproviderteam_aliasstored_metadatastored_metadata_at_activationnot_captured
nameobjectIts name.
valuestring NullableThe value, or null when it was not captured.
provenancestringprovider(reported by the ad platform),team_alias(typed by staff),stored_metadata(editable lead data),stored_metadata_at_activation(copied once when the API was activated, for a lead created before capture), ornot_capturedexactly whenvalueis null.Possible valuesproviderteam_aliasstored_metadatastored_metadata_at_activationnot_captured
adobjectThe ad.
idobjectIts id.
valuestring NullableThe value, or null when it was not captured.
provenancestringprovider(reported by the ad platform),team_alias(typed by staff),stored_metadata(editable lead data),stored_metadata_at_activation(copied once when the API was activated, for a lead created before capture), ornot_capturedexactly whenvalueis null.Possible valuesproviderteam_aliasstored_metadatastored_metadata_at_activationnot_captured
nameobjectIts name.
valuestring NullableThe value, or null when it was not captured.
provenancestringprovider(reported by the ad platform),team_alias(typed by staff),stored_metadata(editable lead data),stored_metadata_at_activation(copied once when the API was activated, for a lead created before capture), ornot_capturedexactly whenvalueis null.Possible valuesproviderteam_aliasstored_metadatastored_metadata_at_activationnot_captured
ad_setobjectThe Meta ad set.
idobjectIts id.
valuestring NullableThe value, or null when it was not captured.
provenancestringprovider(reported by the ad platform),team_alias(typed by staff),stored_metadata(editable lead data),stored_metadata_at_activation(copied once when the API was activated, for a lead created before capture), ornot_capturedexactly whenvalueis null.Possible valuesproviderteam_aliasstored_metadatastored_metadata_at_activationnot_captured
nameobjectIts name.
valuestring NullableThe value, or null when it was not captured.
provenancestringprovider(reported by the ad platform),team_alias(typed by staff),stored_metadata(editable lead data),stored_metadata_at_activation(copied once when the API was activated, for a lead created before capture), ornot_capturedexactly whenvalueis null.Possible valuesproviderteam_aliasstored_metadatastored_metadata_at_activationnot_captured
ad_groupobjectThe Google Ads ad group.
idobjectIts id.
valuestring NullableThe value, or null when it was not captured.
provenancestringprovider(reported by the ad platform),team_alias(typed by staff),stored_metadata(editable lead data),stored_metadata_at_activation(copied once when the API was activated, for a lead created before capture), ornot_capturedexactly whenvalueis null.Possible valuesproviderteam_aliasstored_metadatastored_metadata_at_activationnot_captured
formobjectThe lead form.
idobjectIts id.
valuestring NullableThe value, or null when it was not captured.
provenancestringprovider(reported by the ad platform),team_alias(typed by staff),stored_metadata(editable lead data),stored_metadata_at_activation(copied once when the API was activated, for a lead created before capture), ornot_capturedexactly whenvalueis null.Possible valuesproviderteam_aliasstored_metadatastored_metadata_at_activationnot_captured
nameobjectIts name.
valuestring NullableThe value, or null when it was not captured.
provenancestringprovider(reported by the ad platform),team_alias(typed by staff),stored_metadata(editable lead data),stored_metadata_at_activation(copied once when the API was activated, for a lead created before capture), ornot_capturedexactly whenvalueis null.Possible valuesproviderteam_aliasstored_metadatastored_metadata_at_activationnot_captured
creativeobjectThe creative.
idobjectIts id.
valuestring NullableThe value, or null when it was not captured.
provenancestringprovider(reported by the ad platform),team_alias(typed by staff),stored_metadata(editable lead data),stored_metadata_at_activation(copied once when the API was activated, for a lead created before capture), ornot_capturedexactly whenvalueis null.Possible valuesproviderteam_aliasstored_metadatastored_metadata_at_activationnot_captured
asset_groupobjectThe Google Ads asset group.
idobjectIts id.
valuestring NullableThe value, or null when it was not captured.
provenancestringprovider(reported by the ad platform),team_alias(typed by staff),stored_metadata(editable lead data),stored_metadata_at_activation(copied once when the API was activated, for a lead created before capture), ornot_capturedexactly whenvalueis null.Possible valuesproviderteam_aliasstored_metadatastored_metadata_at_activationnot_captured
pageobjectThe Facebook page.
idobjectIts id.
valuestring NullableThe value, or null when it was not captured.
provenancestringprovider(reported by the ad platform),team_alias(typed by staff),stored_metadata(editable lead data),stored_metadata_at_activation(copied once when the API was activated, for a lead created before capture), ornot_capturedexactly whenvalueis null.Possible valuesproviderteam_aliasstored_metadatastored_metadata_at_activationnot_captured
nameobjectIts name.
valuestring NullableThe value, or null when it was not captured.
provenancestringprovider(reported by the ad platform),team_alias(typed by staff),stored_metadata(editable lead data),stored_metadata_at_activation(copied once when the API was activated, for a lead created before capture), ornot_capturedexactly whenvalueis null.Possible valuesproviderteam_aliasstored_metadatastored_metadata_at_activationnot_captured
utmobject NullableThe five standard UTM keys, or null when none was captured.
sourceobjectutm_source.valuestring NullableThe value, or null when it was not captured.
provenancestringprovider(reported by the ad platform),team_alias(typed by staff),stored_metadata(editable lead data),stored_metadata_at_activation(copied once when the API was activated, for a lead created before capture), ornot_capturedexactly whenvalueis null.Possible valuesproviderteam_aliasstored_metadatastored_metadata_at_activationnot_captured
mediumobjectutm_medium.valuestring NullableThe value, or null when it was not captured.
provenancestringprovider(reported by the ad platform),team_alias(typed by staff),stored_metadata(editable lead data),stored_metadata_at_activation(copied once when the API was activated, for a lead created before capture), ornot_capturedexactly whenvalueis null.Possible valuesproviderteam_aliasstored_metadatastored_metadata_at_activationnot_captured
campaignobjectutm_campaign.valuestring NullableThe value, or null when it was not captured.
provenancestringprovider(reported by the ad platform),team_alias(typed by staff),stored_metadata(editable lead data),stored_metadata_at_activation(copied once when the API was activated, for a lead created before capture), ornot_capturedexactly whenvalueis null.Possible valuesproviderteam_aliasstored_metadatastored_metadata_at_activationnot_captured
termobjectutm_term.valuestring NullableThe value, or null when it was not captured.
provenancestringprovider(reported by the ad platform),team_alias(typed by staff),stored_metadata(editable lead data),stored_metadata_at_activation(copied once when the API was activated, for a lead created before capture), ornot_capturedexactly whenvalueis null.Possible valuesproviderteam_aliasstored_metadatastored_metadata_at_activationnot_captured
contentobjectutm_content.valuestring NullableThe value, or null when it was not captured.
provenancestringprovider(reported by the ad platform),team_alias(typed by staff),stored_metadata(editable lead data),stored_metadata_at_activation(copied once when the API was activated, for a lead created before capture), ornot_capturedexactly whenvalueis null.Possible valuesproviderteam_aliasstored_metadatastored_metadata_at_activationnot_captured
click_networkobjectThe network of the first click id (
googleormeta). The click id itself is never kept.valuestring NullableThe value, or null when it was not captured.
provenancestringprovider(reported by the ad platform),team_alias(typed by staff),stored_metadata(editable lead data),stored_metadata_at_activation(copied once when the API was activated, for a lead created before capture), ornot_capturedexactly whenvalueis null.Possible valuesproviderteam_aliasstored_metadatastored_metadata_at_activationnot_captured
ad_referralobject NullableThe first Meta ad referral of the conversation that created the lead, or null.
channelstringThe channel.
Possible valueswhatsappfacebookinstagram
source_typestringWhat opened the conversation.
Possible valuesadpostlinkother
ad_idstring NullableThe ad or post id, or null.
referred_atstring Formatdate-timeMeta's time for the referral.
provenancestringAlways
provider: only the signed Meta webhooks write it.
family_originobject NullableThe transfer from another team of your organization that created the lead, or null.
teamstring ID prefixteam_…The team of your organization the lead came from.
leadstring Nullable ID prefixlead_…Its lead there, or null when that id cannot be named across teams: an assistant handed off a caller without one, or the lead there is a lead-ads lead (Meta, Google Ads or LinkedIn) or another lead with a fixed id.
automatedtells an assistant's handoff from a move made by a person.automatedbooleanTrue for an assistant's handoff.
audienceobjectNot available in this version.
valuenull NullableAlways null.
missing_reasonstringTotem does not record audiences; an ad set is not one.
Valueunsupported
original_capture_missing_reasonstring Nullablenot_capturedwhenoriginal_captureis null, otherwise null.Possible valuesnot_captured
latest_submissionobject NullableThe 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.
providerstringThe ad platform.
Possible valuesmetagoogle_adslinkedin
submitted_atstring Nullable Formatdate-timeWhen the platform says it was submitted, or null.
campaignobjectThe campaign.
idobjectIts id.
valuestring NullableThe value, or null when it was not captured.
provenancestringprovider(reported by the ad platform),team_alias(typed by staff),stored_metadata(editable lead data),stored_metadata_at_activation(copied once when the API was activated, for a lead created before capture), ornot_capturedexactly whenvalueis null.Possible valuesproviderteam_aliasstored_metadatastored_metadata_at_activationnot_captured
nameobjectIts name.
valuestring NullableThe value, or null when it was not captured.
provenancestringprovider(reported by the ad platform),team_alias(typed by staff),stored_metadata(editable lead data),stored_metadata_at_activation(copied once when the API was activated, for a lead created before capture), ornot_capturedexactly whenvalueis null.Possible valuesproviderteam_aliasstored_metadatastored_metadata_at_activationnot_captured
adobjectThe ad.
idobjectIts id.
valuestring NullableThe value, or null when it was not captured.
provenancestringprovider(reported by the ad platform),team_alias(typed by staff),stored_metadata(editable lead data),stored_metadata_at_activation(copied once when the API was activated, for a lead created before capture), ornot_capturedexactly whenvalueis null.Possible valuesproviderteam_aliasstored_metadatastored_metadata_at_activationnot_captured
nameobjectIts name.
valuestring NullableThe value, or null when it was not captured.
provenancestringprovider(reported by the ad platform),team_alias(typed by staff),stored_metadata(editable lead data),stored_metadata_at_activation(copied once when the API was activated, for a lead created before capture), ornot_capturedexactly whenvalueis null.Possible valuesproviderteam_aliasstored_metadatastored_metadata_at_activationnot_captured
ad_setobjectThe Meta ad set.
idobjectIts id.
valuestring NullableThe value, or null when it was not captured.
provenancestringprovider(reported by the ad platform),team_alias(typed by staff),stored_metadata(editable lead data),stored_metadata_at_activation(copied once when the API was activated, for a lead created before capture), ornot_capturedexactly whenvalueis null.Possible valuesproviderteam_aliasstored_metadatastored_metadata_at_activationnot_captured
nameobjectIts name.
valuestring NullableThe value, or null when it was not captured.
provenancestringprovider(reported by the ad platform),team_alias(typed by staff),stored_metadata(editable lead data),stored_metadata_at_activation(copied once when the API was activated, for a lead created before capture), ornot_capturedexactly whenvalueis null.Possible valuesproviderteam_aliasstored_metadatastored_metadata_at_activationnot_captured
ad_groupobjectThe Google Ads ad group.
idobjectIts id.
valuestring NullableThe value, or null when it was not captured.
provenancestringprovider(reported by the ad platform),team_alias(typed by staff),stored_metadata(editable lead data),stored_metadata_at_activation(copied once when the API was activated, for a lead created before capture), ornot_capturedexactly whenvalueis null.Possible valuesproviderteam_aliasstored_metadatastored_metadata_at_activationnot_captured
formobjectThe lead form.
idobjectIts id.
valuestring NullableThe value, or null when it was not captured.
provenancestringprovider(reported by the ad platform),team_alias(typed by staff),stored_metadata(editable lead data),stored_metadata_at_activation(copied once when the API was activated, for a lead created before capture), ornot_capturedexactly whenvalueis null.Possible valuesproviderteam_aliasstored_metadatastored_metadata_at_activationnot_captured
nameobjectIts name.
valuestring NullableThe value, or null when it was not captured.
provenancestringprovider(reported by the ad platform),team_alias(typed by staff),stored_metadata(editable lead data),stored_metadata_at_activation(copied once when the API was activated, for a lead created before capture), ornot_capturedexactly whenvalueis null.Possible valuesproviderteam_aliasstored_metadatastored_metadata_at_activationnot_captured
creativeobjectThe creative.
idobjectIts id.
valuestring NullableThe value, or null when it was not captured.
provenancestringprovider(reported by the ad platform),team_alias(typed by staff),stored_metadata(editable lead data),stored_metadata_at_activation(copied once when the API was activated, for a lead created before capture), ornot_capturedexactly whenvalueis null.Possible valuesproviderteam_aliasstored_metadatastored_metadata_at_activationnot_captured
asset_groupobjectThe Google Ads asset group.
idobjectIts id.
valuestring NullableThe value, or null when it was not captured.
provenancestringprovider(reported by the ad platform),team_alias(typed by staff),stored_metadata(editable lead data),stored_metadata_at_activation(copied once when the API was activated, for a lead created before capture), ornot_capturedexactly whenvalueis null.Possible valuesproviderteam_aliasstored_metadatastored_metadata_at_activationnot_captured
utmobject NullableIts UTM keys, or null.
sourceobjectutm_source.valuestring NullableThe value, or null when it was not captured.
provenancestringprovider(reported by the ad platform),team_alias(typed by staff),stored_metadata(editable lead data),stored_metadata_at_activation(copied once when the API was activated, for a lead created before capture), ornot_capturedexactly whenvalueis null.Possible valuesproviderteam_aliasstored_metadatastored_metadata_at_activationnot_captured
mediumobjectutm_medium.valuestring NullableThe value, or null when it was not captured.
provenancestringprovider(reported by the ad platform),team_alias(typed by staff),stored_metadata(editable lead data),stored_metadata_at_activation(copied once when the API was activated, for a lead created before capture), ornot_capturedexactly whenvalueis null.Possible valuesproviderteam_aliasstored_metadatastored_metadata_at_activationnot_captured
campaignobjectutm_campaign.valuestring NullableThe value, or null when it was not captured.
provenancestringprovider(reported by the ad platform),team_alias(typed by staff),stored_metadata(editable lead data),stored_metadata_at_activation(copied once when the API was activated, for a lead created before capture), ornot_capturedexactly whenvalueis null.Possible valuesproviderteam_aliasstored_metadatastored_metadata_at_activationnot_captured
termobjectutm_term.valuestring NullableThe value, or null when it was not captured.
provenancestringprovider(reported by the ad platform),team_alias(typed by staff),stored_metadata(editable lead data),stored_metadata_at_activation(copied once when the API was activated, for a lead created before capture), ornot_capturedexactly whenvalueis null.Possible valuesproviderteam_aliasstored_metadatastored_metadata_at_activationnot_captured
contentobjectutm_content.valuestring NullableThe value, or null when it was not captured.
provenancestringprovider(reported by the ad platform),team_alias(typed by staff),stored_metadata(editable lead data),stored_metadata_at_activation(copied once when the API was activated, for a lead created before capture), ornot_capturedexactly whenvalueis null.Possible valuesproviderteam_aliasstored_metadatastored_metadata_at_activationnot_captured
expires_atstring Nullable Formatdate-timeWhen this submission stops being readable (Google Ads and LinkedIn keep it 90 days); null for Meta.
latest_submission_missing_reasonstring Nullablenot_capturedwhenlatest_submissionis null, otherwise null.Possible valuesnot_captured
versioninteger Range ≥ 1Increases 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_atstring Formatdate-timeWhen Totem recorded this version (UTC). It is not the time the business event happened.
{
"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"
}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
idstring ID prefixlead_…Public id of the record.
objectstringAlways
lead_response.livemodebooleantruefor real data;falsein example data.teamstring ID prefixteam_…The team this record belongs to.
last_inbound_atstring Nullable Formatdate-timeThe 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_atstring Nullable Formatdate-timeThe 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_replybooleanTrue when
last_inbound_atis 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_atstring Nullable Formatdate-timeWhen the latest of the lead's calls whose
outcomeisanswered_humanoranswered_aistarted (UTC), or null. A connected outbound call on Totem's phone lines readsunknown, so it is not counted.last_whatsapp_delivery_statusstring Nullabledelivered,readorfailedfor the latest message sent to the lead on WhatsApp. Null when that message has no receipt yet (sentis never stored) or the lead has no message sent on WhatsApp.Possible valuesdeliveredreadfailed
coverageobjectWhat these facts were computed from.
conversationsinteger Range 0–20The lead's conversations these facts were computed from, newest first; at most 20.
callsinteger Range 0–50The lead's calls
last_answered_call_atwas computed from, newest first; at most 50.channels_without_delivery_dataArray<string>The channels of those conversations that store no delivery receipts (every channel but WhatsApp), sorted.
Possible valuessmsfacebookinstagramtiktokchatbotemail
truncatedbooleanTrue when a read limit was reached (20 conversations, 200 messages or 50 calls): older activity was not read, so a time can be null or older than the truth, and
awaiting_replycan miss an older reply.
versioninteger Range ≥ 1Increases 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_atstring Formatdate-timeWhen Totem recorded this version (UTC). It is not the time the business event happened.
{
"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"
}Lead note body.
Attributes
idstring ID prefixnote_…Public id of the record.
objectstringAlways
lead_note.livemodebooleantruefor real data;falsein example data.leadstring ID prefixlead_…The parent lead.
bodystring ≤ 50000 charsCRM note text; requires the explicit note-content grant.
created_atstring Formatdate-timeWhen this note was created.
external_idstring Nullable ≤ 200 charsThe caller’s own external id, or null. Canonical feed objects withhold all integration namespaces.
versioninteger Range ≥ 1Increases 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_atstring Formatdate-timeWhen Totem recorded this version (UTC). It is not the time the business event happened.
{
"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"
}Lead note metadata without its content; safe for a write-only receipt or replay.
Attributes
idstring ID prefixnote_…≤ 256 charsOpaque stable note id, bound to this team and lead incarnation; never parse it.
objectstringAlways lead_note.
livemodebooleanTrue for real data; false only in fictional example data.
leadstring ID prefixlead_…The lead this note belongs to.
versioninteger Range ≥ 1The current note version; use the matching strong note ETag for conditional writes.
created_atstring Formatdate-timeWhen the note was created.
updated_atstring Formatdate-timeWhen the current version was recorded.
external_idstring Nullable ≤ 200 charsYour integration’s external id for this note, or null; other integrations’ ids are withheld.
{
"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"
}Custom values with a separate opaque ETag in the response header.
Attributes
objectstringAlways lead_custom_values.
leadstring ID prefixlead_…Owning lead.
valuesArray<object>Current exact-name values; requires the separate content-read grant.
namestring 1–100 charsExact stable field name; names are never inferred from labels.
labelstring ≤ 200 charsHuman-readable label.
valuestring ≤ 2000 charsExact string value; an empty string is a stored value, not deletion.
sourcestring May be absentStored provenance, when known.
Possible valuesformcall_extractionmanualcsv
{
"object": "lead_custom_values",
"lead": "lead_r72EfbRNUzuqORFJR0O8HxAwEXd93jGUTYMaMMXKSF0QbLS8CiUKJpEP34LFQG",
"values": [
{
"name": "boat_type",
"label": "Boat type",
"value": "Sailboat",
"source": "manual"
}
]
}Content-free mutation receipt; the response ETag reflects the current source even on replay.
Attributes
objectstringAlways lead_custom_values_receipt.
leadstring ID prefixlead_…Owning lead.
changedbooleanWhether this logical request changed stored custom values.
set_countinteger Range 0–50Exact names set by this logical request.
removed_countinteger Range 0–50Existing exact names removed by this logical request.
{
"object": "lead_custom_values_receipt",
"lead": "lead_r72EfbRNUzuqORFJR0O8HxAwEXd93jGUTYMaMMXKSF0QbLS8CiUKJpEP34LFQG",
"changed": true,
"set_count": 1,
"removed_count": 0
}One stage, status or assignee transition of a lead. Activities never change once written.
Attributes of every variant
idstring ID prefixact_…Public id of the record.
objectstringAlways
activity.livemodebooleantruefor real data;falsein example data.teamstring ID prefixteam_…The team the lead belongs to.
leadstring Nullable ID prefixlead_…The lead that moved. Null only while Totem has not yet assigned the lead its id.
occurred_atstring Formatdate-timeWhen the change was saved.
actor_kindstringWho 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 valueshumanaisystemapiunknown
stage_snapshotobject NullableThe stage the lead was in after the change (for "clear pipeline data", the stage it left), or null.
stagestring Nullable ID prefixstg_…The stage.
boardstring Nullable ID prefixbrd_…Its board, or null for a legacy stage without one.
namestring NullableThe stage name when the change was recorded, or null when the stage was already deleted.
value_snapshotnumber NullableThe estimated value at that moment, in major units, or null.
versioninteger Range ≥ 1Increases 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_atstring Formatdate-timeWhen 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
typestringstatus_changed,archived,unarchived, orrevived(the contact came back on their own and reopened an archived lead).Possible valuesstatus_changedarchivedunarchivedrevived
fromstring NullableThe status before, or null when there was none.
Possible valuesnewcontactedqualifiednegotiatingconvertedlostarchivedunreachable
tostringThe status after.
Possible valuesnewcontactedqualifiednegotiatingconvertedlostarchivedunreachable
A stage move
When type is stage_changed
typestringAlways
stage_changed.fromobject NullableThe stage and board before, or null when the lead had neither.
stagestring Nullable ID prefixstg_…The stage.
boardstring Nullable ID prefixbrd_…The board, or null for a legacy stage without one.
toobjectThe stage and board after.
stagestring Nullable ID prefixstg_…The stage.
boardstring Nullable ID prefixbrd_…The board, or null for a legacy stage without one.
A change of assigned members
When type is assignees_changed
typestringAlways
assignees_changed.fromArray<string> ID prefixmem_…The assigned members before, sorted.
toArray<string> ID prefixmem_…The assigned members after, sorted.
{
"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"
}A board with its stages in pipeline order.
Attributes
idstring ID prefixbrd_…Public id of the record.
objectstringAlways
board.livemodebooleantruefor real data;falsein example data.teamstring ID prefixteam_…The team this record belongs to.
namestring Nullable ≥ 1 charsThe board's name, or null when none is stored.
is_defaultbooleanTrue for the team's default board, where new leads land unless routed elsewhere.
is_archivedbooleanTrue when the board is archived (hidden from the board selector). Its leads still export.
appointment_booked_stagestring Nullable ID prefixstg_…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.
stagesArray<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.
objectstringAlways
stage.idstring ID prefixstg_…Public id of the stage; a lead's
stagenames it.namestring Nullable ≥ 1 charsThe stage's name, or null when none is stored.
positionnumber NullableThe stage's position on its board, left to right; null when the stored position is not a number. Stages are listed in this order.
is_defaultbooleanTrue for the stage new leads of this board enter.
is_finalbooleanTrue for a final stage: moving a lead here marks it converted.
is_archivebooleanTrue for an archive stage, whose leads are hidden from the main board view.
modestring NullableWho moves leads:
standard(people only),supervised(AI may move leads in, people move them out) orautomated(AI runs outreach and moves leads in and out); null for a value this version does not know.Possible valuesstandardsupervisedautomated
versioninteger Range ≥ 1Increases 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_atstring Formatdate-timeWhen Totem recorded this version (UTC). It is not the time the business event happened.
{
"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"
}Current source-bound CRM metadata and independently requested content. No export capture version or business authoring profile is included.
Attributes
objectstringAlways crm_context.
source_contactobjectCurrent source contact evidence, independently of whether the conversation is linked to a lead. A tenant without a signed source receives null phone.
phonestring Nullable ≤ 32 charsCurrent canonical transport phone from the authorized retained source, or null when hidden, cleared or unavailable; never an old sender fallback.
conversation_idstring Nullable ID prefixconv_…Current authorized execution conversation, or null for a lead-only tenant context; never an unrelated thread.
call_idstring Nullable ID prefixcall_…Current authorized voice call, or null when no call source exists. A browser session never invents a conversation or premature call.
Current authorized source lead, or null when this conversation is still unlinked.
teamobjectBounded team runtime facts; no assistant prompt or business profile.
namestring Nullable ≥ 1 charsThe team's name as it appears in Totem, or null when none is stored.
timezonestring ≥ 1 charsThe 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_countrystring 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.phoneis validated without a default country, so a number stored without its country prefix readsphone_status: invalid.idstring ID prefixteam_…Authorized team.
extra_infostring Nullable ≤ 2000 charsThe team’s short runtime extra information, never its authoring business profile.
business_hours_sourcestringWhether the week is configured or uses the normal Monday–Friday 09:00–18:00 fallback.
Possible valuesconfigureddefault
business_hoursobjectCurrent canonical opening week in the team’s time zone.
mondayArray<object>Monday opening intervals; an empty list means closed.
startstringOpening time on the business wall clock (HH:mm).
endstringClosing time on the business wall clock (HH:mm; 24:00 means midnight).
tuesdayArray<object>Tuesday opening intervals; an empty list means closed.
startstringOpening time on the business wall clock (HH:mm).
endstringClosing time on the business wall clock (HH:mm; 24:00 means midnight).
wednesdayArray<object>Wednesday opening intervals; an empty list means closed.
startstringOpening time on the business wall clock (HH:mm).
endstringClosing time on the business wall clock (HH:mm; 24:00 means midnight).
thursdayArray<object>Thursday opening intervals; an empty list means closed.
startstringOpening time on the business wall clock (HH:mm).
endstringClosing time on the business wall clock (HH:mm; 24:00 means midnight).
fridayArray<object>Friday opening intervals; an empty list means closed.
startstringOpening time on the business wall clock (HH:mm).
endstringClosing time on the business wall clock (HH:mm; 24:00 means midnight).
saturdayArray<object>Saturday opening intervals; an empty list means closed.
startstringOpening time on the business wall clock (HH:mm).
endstringClosing time on the business wall clock (HH:mm; 24:00 means midnight).
sundayArray<object>Sunday opening intervals; an empty list means closed.
startstringOpening time on the business wall clock (HH:mm).
endstringClosing time on the business wall clock (HH:mm; 24:00 means midnight).
now_businessstringSnapshot time rendered on the business clock with its actual UTC offset.
notesArray<object> Nullable ≤ 20 itemsUp to twenty current retained notes when explicitly requested and authorized; otherwise null.
leadstring ID prefixlead_…The parent lead.
bodystring ≤ 50000 charsCRM note text; requires the explicit note-content grant.
created_atstring Formatdate-timeWhen this note was created.
external_idstring Nullable ≤ 200 charsThe caller’s own external id, or null. Canonical feed objects withhold all integration namespaces.
notes_has_morebooleanMore notes exist beyond this bounded context; use the separately authorized notes endpoint for a full export.
custom_valuesArray<object> NullableCurrent custom values only when requested with their independent content permission; otherwise null.
namestring 1–100 charsExact stable field name; names are never inferred from labels.
labelstring ≤ 200 charsHuman-readable label.
valuestring ≤ 2000 charsExact string value; an empty string is a stored value, not deletion.
sourcestring May be absentStored provenance, when known.
Possible valuesformcall_extractionmanualcsv
automationobject NullableCurrent CRM automation metadata, separate from permission and consent.
flagsobjectCurrent effective automation flags, including durable holds.
archivedbooleanCurrent recorded operational flag.
pausedbooleanCurrent recorded operational flag.
needs_human_attentionbooleanCurrent recorded operational flag.
holdobject NullableCanonical hold reason and time; private appointment ids are withheld.
reasonstringCanonical durable hold reason.
sincenumberRecorded hold start in epoch milliseconds.
stateobjectCurrent source state only; it never authorizes or schedules outreach.
roundnumber NullableCurrent recorded number, or null when unknown.
currentStepnumber NullableCurrent recorded number, or null when unknown.
stepEnteredAtnumber NullableCurrent recorded number, or null when unknown.
roundExhaustedAtnumber NullableCurrent recorded number, or null when unknown.
completedAtnumber NullableCurrent recorded number, or null when unknown.
completionReasonstring NullableCurrent stored text, or null when unavailable.
scheduledContactAtnumber NullableCurrent recorded number, or null when unknown.
scheduledContactTypestring NullableCurrent stored text, or null when unavailable.
scheduledContactNotestring NullableCurrent stored text, or null when unavailable.
coolOffUntilnumber NullableCurrent recorded number, or null when unknown.
contactCountnumber NullableCurrent recorded number, or null when unknown.
hasBeenReachedbooleanCurrent recorded operational flag.
contact_limitsobjectExisting effective canonical safety limits; unknown malformed stored values remain null.
maxContactsPerLeadPerDaynumber NullableCurrent recorded number, or null when unknown.
maxTotalContactsPerLeadnumber NullableCurrent recorded number, or null when unknown.
coolOffPeriodDaysnumber NullableCurrent recorded number, or null when unknown.
maxReactivationRoundsnumber NullableCurrent recorded number, or null when unknown.
maxCallAttemptsPerStepnumber May be absent NullableCurrent recorded number, or null when unknown.
pipelineobject NullableCurrent authorized pipeline facts; opaque ids can be used with the public business operations.
stageobject NullableCurrent stage, including archived history.
idstring ID prefixstg_…Current opaque stage id.
namestring NullableCurrent stored text, or null when unavailable.
modestring NullableCurrent stored text, or null when unavailable.
positionnumber NullableCurrent recorded number, or null when unknown.
is_defaultbooleanCurrent recorded operational flag.
is_finalbooleanCurrent recorded operational flag.
is_archivebooleanCurrent recorded operational flag.
contextstring NullableCurrent stored text, or null when unavailable.
boardobject NullableCurrent board metadata with canonical stage selection.
idstring ID prefixbrd_…Current opaque board.
namestring NullableCurrent stored text, or null when unavailable.
typestring NullableCurrent stored text, or null when unavailable.
is_archivedbooleanCurrent recorded operational flag.
goalstring NullableCurrent stored text, or null when unavailable.
extra_infostring NullableCurrent stored text, or null when unavailable.
stagesArray<object> ≤ 40 itemsCurrent non-archive destination stages.
idstring ID prefixstg_…Current opaque stage id.
namestring NullableCurrent stored text, or null when unavailable.
modestring NullableCurrent stored text, or null when unavailable.
positionnumber NullableCurrent recorded number, or null when unknown.
is_defaultbooleanCurrent recorded operational flag.
is_finalbooleanCurrent recorded operational flag.
is_archivebooleanCurrent recorded operational flag.
contextstring NullableCurrent stored text, or null when unavailable.
routingobject NullableOnly the destinations currently allowed by the product’s one-time conversation routing policy.
instructionstringCanonical one-time routing instruction.
currentBoardNamestring NullableCurrent stored text, or null when unavailable.
boardsArray<object> ≤ 12 itemsCurrent permitted alternative boards.
idstring ID prefixbrd_…Allowed opaque board destination.
namestring NullableCurrent stored text, or null when unavailable.
descriptionstring NullableCurrent stored text, or null when unavailable.
goalstring NullableCurrent stored text, or null when unavailable.
stagesArray<object> ≤ 15 itemsSelectable destinations from the canonical routing policy.
idstring ID prefixstg_…Allowed opaque routing destination.
namestring NullableCurrent stored text, or null when unavailable.
entrybooleanCurrent recorded operational flag.
membersArray<object> ≤ 1000 itemsCurrent active own-team roster, without email addresses or raw user ids.
idstring ID prefixmem_…Opaque active team member.
display_namestring NullableCurrent stored text, or null when unavailable.
cadenceobject NullableActual safe effective timing and section metadata, or null without a current board.
sectionsArray<object> ≤ 4 itemsThe four actual effective runtime sections.
namestringCanonical runtime sequence.
Possible valuesmainreactivationfollowUpstageEntry
sourcestringActual inherited configuration source.
Possible valuesstageboardmain_fallbacknone
step_countnumber NullableCurrent recorded number, or null when unknown.
stepsArray<object> ≤ 20 itemsBounded timing/channel description; no template, account or provider ids.
indexinteger Range ≥ 0Zero-based effective sequence position.
channelstringBusiness channel only; provider and sender selectors are withheld.
Possible valuescallwhatsappemailunknown
delay_minutesnumber NullableCurrent recorded number, or null when unknown.
has_morebooleanCurrent recorded operational flag.
conversation_stale_hoursnumber NullableCurrent recorded number, or null when unknown.
stage_entry_delay_minutesnumber NullableCurrent recorded number, or null when unknown.
bypass_business_hoursbooleanCurrent recorded operational flag.
runtimeobjectNamed current operational language, routing and verified legal/privacy facts; no destination members or authoring profile.
preferred_languagestringCanonical operational team language.
notification_language_instructionstringExisting instruction for internal team notification language.
notification_departmentsArray<object>Current usable routing directory, without recipient identities.
idstringSaved natural department routing key, not a credential or member id.
namestringCurrent department name.
descriptionstringAuthored department responsibility description.
default_department_idstring NullableSaved default department key, or null.
notifications_enabledbooleanWhether the current business routing configuration is enabled.
controller_namestring NullableVerified current legal controller name, including canonical organization inheritance.
privacy_policy_urlstring NullableCurrent effective privacy disclosure URL, or null when none is published.
family_routingobject May be absent NullableCurrent configured organization routing only with the separately issued handoff capability; omitted for older or context-only grants.
instructionstring NullableCurrent stored text, or null when unavailable.
officesArray<object> ≤ 50 itemsBounded current configured organization directory, disclosed only with the independently issued handoff capability.
officestringExact current configured office slug.
namestring NullableCurrent stored text, or null when unavailable.
coveragestring NullableCurrent stored text, or null when unavailable.
preferred_languagestring NullableCurrent stored text, or null when unavailable.
boardsArray<object> ≤ 100 itemsCurrent configured eligible destination boards; no raw board or team ids.
idstring ID prefixbrd_…Opaque eligible configured board, usable only with the organization handoff action.
namestring NullableCurrent stored text, or null when unavailable.
is_defaultbooleanCurrent recorded operational flag.
Explicitly granted exact current conversation messages, or null when not requested/unavailable.
callsArray<object> Nullable ≤ 10 itemsExplicitly granted current lead call evidence, or null when not requested/unavailable.
idstring ID prefixcall_…Opaque current call incarnation.
directionstring NullableRecorded call direction.
Possible valuesinboundoutbound
started_atstring Nullable Formatdate-timeCurrent call start time, or null when unknown.
outcomestringCanonical transport outcome; distinct from the model snapshot’s business contact-log outcome.
Possible valuesanswered_humananswered_aivoicemailno_answerbusyfailedunknown
summarystring Nullable ≤ 2000 charsExplicitly granted bounded stored call summary.
sentimentstring Nullable ≤ 120 charsExplicitly granted stored call sentiment, when present.
transcriptstring Nullable ≤ 16000 charsExplicitly granted stored transcript text, when present.
transcript_truncatedbooleanWhether the stored transcript exceeds this bounded view.
paymentsobject NullableExplicitly granted canonical customer payment evidence. Opaque display ids never authorize an action; incomplete never means unpaid.
completebooleanWhether the canonical merchant reader proved complete history.
checkedAtnumber NullableCurrent recorded number, or null when unknown.
itemsArray<object> ≤ 5 itemsAt most five canonical current customer payment evidence items.
idstring Pattern^payment_[a-f0-9]{64}$Opaque display-only evidence digest; never a selector or capability.
statusstringCanonical financial evidence status.
Possible valuespaidpendingprocessingfailedexpiredcancelledrefundedpartially_refundedreview
amountMinorinteger Range ≥ 0Expected amount in minor currency units.
amountReceivedMinorinteger Range ≥ 0Actually received amount in minor currency units.
refundedAmountMinorinteger Nullable Range ≥ 0Known refunded amount in minor units, or null when unknown.
currencystring Pattern^[a-z]{3}$Lowercase three-letter currency code.
createdAtnumber NullableCurrent recorded number, or null when unknown.
descriptionstring NullableCurrent stored text, or null when unavailable.
referencestring NullableOpaque booking-payment reference when present; no provider id.
livemodebooleanTrue only for real merchant evidence; test data is never live proof.
verificationstringWhether this evidence was checked against Stripe or is stored-only.
Possible valuesstripestored
checkedAtnumber NullableCurrent recorded number, or null when unknown.
appointmentStatusstring NullableCurrent stored text, or null when unavailable.
amountHumanstring May be absentCanonical human-readable amount, when supplied.
createdAtHumanstring May be absentCanonical human-readable date, when supplied.
holded_recordsobject May be absentOnly records explicitly shared with this verified customer. No Holded contact ID, internal case notes or attachments.
statusstringOutcome of the customer consultation.
Possible valuesverification_requirednot_verifiedunavailableok
estimatesobject NullableThe verified customer’s approved quotes, when available.
itemsArray<object> ≤ 5 itemsUp to five recent approved quotes.
referencestring 1–100 charsQuote number visible to the customer.
statusstringCurrent quote status.
Possible valuespendingacceptedpartialcancelledrejectedoverdue
datestring Nullable Pattern^\d{4}-\d{2}-\d{2}$Issue date when available.
validUntilstring Nullable Pattern^\d{4}-\d{2}-\d{2}$Expiry date when available.
totalstring Nullable ≤ 24 charsTotal as a decimal string when available.
currencystring Nullable 3 charsCurrency code when available.
completebooleanWhether the quote list is complete.
casesArray<object> Nullable ≤ 5 itemsCases shared with the verified customer, when available.
kindstringType of case shared by the team.
Possible valuesprojectopportunity
referencestring Nullable 1–100 charsCase reference when available.
titlestring Nullable 1–100 charsCase name when available.
statusstring NullableKnown case status, or null if not available for this record.
Possible valuesarchivedopenwonlost
casesCompletebooleanWhether every shared case could be read.
coverageobjectExplicit coverage for every independently authorized content section.
notesobjectCoverage of this exact requested section; unavailable is never an empty history.
statusstringWhether this requested section is complete, bounded or unavailable.
Possible valuesnot_requestedcompletepartialunavailable
includedinteger Range ≥ 0Number of authorized items actually included.
totalinteger Nullable Range ≥ 0Known complete total, or null when the read cannot prove it.
reasonstring NullableClosed operational coverage explanation, or null.
custom_valuesobjectCoverage of this exact requested section; unavailable is never an empty history.
statusstringWhether this requested section is complete, bounded or unavailable.
Possible valuesnot_requestedcompletepartialunavailable
includedinteger Range ≥ 0Number of authorized items actually included.
totalinteger Nullable Range ≥ 0Known complete total, or null when the read cannot prove it.
reasonstring NullableClosed operational coverage explanation, or null.
messagesobjectCoverage of this exact requested section; unavailable is never an empty history.
statusstringWhether this requested section is complete, bounded or unavailable.
Possible valuesnot_requestedcompletepartialunavailable
includedinteger Range ≥ 0Number of authorized items actually included.
totalinteger Nullable Range ≥ 0Known complete total, or null when the read cannot prove it.
reasonstring NullableClosed operational coverage explanation, or null.
callsobjectCoverage of this exact requested section; unavailable is never an empty history.
statusstringWhether this requested section is complete, bounded or unavailable.
Possible valuesnot_requestedcompletepartialunavailable
includedinteger Range ≥ 0Number of authorized items actually included.
totalinteger Nullable Range ≥ 0Known complete total, or null when the read cannot prove it.
reasonstring NullableClosed operational coverage explanation, or null.
paymentsobjectCoverage of this exact requested section; unavailable is never an empty history.
statusstringWhether this requested section is complete, bounded or unavailable.
Possible valuesnot_requestedcompletepartialunavailable
includedinteger Range ≥ 0Number of authorized items actually included.
totalinteger Nullable Range ≥ 0Known complete total, or null when the read cannot prove it.
reasonstring NullableClosed operational coverage explanation, or null.
recordingsobjectCoverage of this exact requested section; unavailable is never an empty history.
statusstringWhether this requested section is complete, bounded or unavailable.
Possible valuesnot_requestedcompletepartialunavailable
includedinteger Range ≥ 0Number of authorized items actually included.
totalinteger Nullable Range ≥ 0Known complete total, or null when the read cannot prove it.
reasonstring NullableClosed operational coverage explanation, or null.
attachmentsobjectCoverage of this exact requested section; unavailable is never an empty history.
statusstringWhether this requested section is complete, bounded or unavailable.
Possible valuesnot_requestedcompletepartialunavailable
includedinteger Range ≥ 0Number of authorized items actually included.
totalinteger Nullable Range ≥ 0Known complete total, or null when the read cannot prove it.
reasonstring NullableClosed operational coverage explanation, or null.
model_contextobject NullableOptional canonical model-facing projections with the existing sanitizer and exact total budgets; typed context remains separate.
context_jsonstring ≤ 20000 charsJSON serialized only after the canonical model projector and total content budget.
lead_automation_jsonstring Nullable ≤ 8000 charsCanonical lean automation JSON, or null without a current lead.
{
"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
}Current canonical CRM lead projection, available through the explicit operational context permission without inventing a capture version.
Attributes
teamstring ID prefixteam_…The team the record belongs to.
record_kindstringleadwhen the record has a pipeline status, otherwiseclient. A lead whose status this version does not know readsstatus: null.Possible valuesleadclient
namestring NullableFirst name or display name, or null.
surnamestring NullableSurname, or null.
date_of_birthstring Nullable FormatdatePattern^(?:(?:\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.
emailstring NullableEmail address as stored, or null.
companystring NullableCompany, or null.
websitestring NullableContact website as stored, without fetching it, or null.
phonestring NullablePhone in E.164, only when the stored number validates; otherwise null.
phone_statusstringvalid(seephone),invalid(a number is stored but does not validate, for example one stored without its country prefix) ormissing.Possible valuesvalidinvalidmissing
statusstring NullablePipeline status; null for a client record, or for a status this version does not know.
convertedis not "won".Possible valuesnewcontactedqualifiednegotiatingconvertedlostarchivedunreachable
status_set_bystring NullableWho set the current status: a person, the AI, Totem automation, an API caller, or unknown (no recorded transition lands on it). Null when
statusis null.Possible valueshumanaisystemapiunknown
archive_reasonstring NullableWhy the record was archived, as a closed code; stored free text is
other. Null when none is stored.Possible valuesopt_outno_consentnot_interestednot_qualifiedno_contactmergedfamily_transferother
archived_from_statusstring NullableThe status the lead had before its current archive; null while it is not archived or when unknown.
Possible valuesnewcontactedqualifiednegotiatingconvertedlostarchivedunreachable
contact_permissionsobjectContact permissions. Apply them before any outreach from your own systems.
do_not_contactbooleanTrue when the person asked never to be contacted (the
opt_outarchive reason). Stop every channel.email_opt_outbooleanTrue when the person unsubscribed from marketing and follow-up email.
email_opt_out_atstring Nullable Formatdate-timeWhen the email opt-out was recorded, or null.
whatsapp_consentboolean NullableWhatsApp consent: false when refused, true when recorded, null when unknown.
provenanceobjectThe source of each permission.
do_not_contactstring NullableWhere
do_not_contactcomes from, or null when it is false.Possible valuesarchive_reason
email_opt_outstring NullableWho recorded the email opt-out: the unsubscribe link, a person in Totem, or unknown. Null when there is none.
Possible valuesunsubscribe_linkmanualunknown
whatsapp_consentstring Nullablearchive_reasonwhen a refusal is recorded as the archive reason;storedfor the value kept on the record, which team members can edit. Null when unknown.Possible valuesstoredarchive_reason
merged_intostring Nullable ID prefixlead_…The lead this record was merged into, or null (also when that lead no longer exists).
transferred_toobject NullableWhere a transfer to another team of your organization sent this lead, or null. The team may be one your key does not read.
teamstring ID prefixteam_…The destination team.
leadstring Nullable ID prefixlead_…The destination lead, or null when its id cannot be named across teams: an assistant handoff created it, or the transfer landed on an existing lead-ads lead (Meta, Google Ads or LinkedIn) or another lead with a fixed id.
revived_atstring Nullable Formatdate-timeWhen the contact last came back on their own and revived an archived lead, or null.
pipeline_clearedbooleanTrue when the lead was converted with "clear pipeline data": board, stage, priority, assignees, estimated value and the source fields other than
source_channelare null because they were cleared.converted_atstring Nullable Formatdate-timeWhen the lead was converted, while its status is
converted; otherwise null.value_at_conversionnumber NullableThe estimated value when it was converted, in major units. Survives "clear pipeline data".
prioritystring NullablePriority, or null.
Possible valueslowmediumhighurgent
tagsArray<string>Labels as stored.
leadandbookingare system labels.boardstring Nullable ID prefixbrd_…The board, resolved through the stage when it has one; or null.
stagestring Nullable ID prefixstg_…The stage, or null.
assigneesArray<string> Nullable ID prefixmem_…Assigned members, sorted. Null when the record has no pipeline data.
estimated_valuenumber NullableEstimated value in major units as stored (decimals allowed), or null.
estimated_value_currencynull NullableAlways null: Totem stores no currency with the value.
sourcestring NullableThe stored lead source;
apialso covers leads created by Totem itself (for example from a conversation or a call), seesource_detail. Null when none is stored.Possible valuesmeta_lead_adsmanualwebsite_formbooking_pagecsv_importapichatbotgoogle_adslinkedinother
source_channelstring NullableThe channel the record started on (for example
whatsapp,phone,widget), or null. Team members can edit it.source_detailstring Nullableconversation,call,external:<provider>,gated_ad:<source>,family_handoff,api_intakeorunknown; null whensourceneeds no detail.source_provenancestring Nullableserver_writtenwhen Totem set the source from what the ad platform reported; otherwisemember_editable(team members can change it). Null withsource.Possible valuesserver_writtenmember_editable
created_atstring Formatdate-timeWhen the record was created.
idstring ID prefixlead_…Opaque current lead id, scoped to the authorized team and incarnation.
etagstring Pattern^"lrs1_[a-f0-9]{64}"$Strong ETag of the exact retained lead source shown here; never an export capture version.
updated_atstring Formatdate-timeActual source update time of this retained snapshot.
objectstringAlways lead_source; this is not a captured Lead version.
{
"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"
}Write receipt metadata only: no contact details or CRM content.
Attributes
idstring ID prefixlead_…Opaque current lead id, scoped to the authorized team and incarnation.
etagstring Pattern^"lrs1_[a-f0-9]{64}"$Strong ETag of the exact retained lead source shown here; never an export capture version.
updated_atstring Formatdate-timeActual source update time of this retained snapshot.
objectstringAlways lead_source_receipt.
{
"id": "lead_r72EfbRNUzuqORFJR0O8HxAwEXd93jGUTYMaMMXKSF0QbLS8CiUKJpEP34LFQG",
"etag": "\"lrs1_aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa\"",
"updated_at": "2026-10-01T09:30:00.000Z",
"object": "lead_source_receipt"
}Source-backed CRM mutation metadata. It never invents an inventory version or grants read access through a write.
Attributes
objectstringAlways lead_source_mutation.
createdbooleanTrue only when this operation created the retained lead.
changedbooleanWhether the source values changed; an inert repeat is false.
registered_lead_linkedboolean May be absentFor voice registration, whether the genuinely created contact was linked to this execution. A different stated contact stays held and grants no subsequent source access.
Current authorized source receipt, or null when an unverified duplicate must remain unlinked.
{
"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"
}
}Current retained note content under its independent read grant, without an inventory version.
Attributes
leadstring ID prefixlead_…Current authorized parent lead.
bodystring ≤ 50000 charsCRM note text; requires the explicit note-content grant.
created_atstring Formatdate-timeWhen this note was created.
external_idstring Nullable ≤ 200 charsThe caller’s own external id, or null. Canonical feed objects withhold all integration namespaces.
idstring ID prefixnote_…Opaque id of this exact note incarnation.
objectstringAlways lead_note_source.
etagstring Pattern^"lns1_[a-f0-9]{64}"$Strong validator bound to the current note and parent lead incarnations and source values.
updated_atstring Formatdate-timeActual source update time of this note.
{
"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"
}Metadata-only source write receipt; no note text or other notes.
Attributes
idstring ID prefixnote_…Opaque id of this exact note incarnation.
leadstring ID prefixlead_…Current authorized parent lead.
objectstringAlways lead_note_source_receipt.
etagstring Pattern^"lns1_[a-f0-9]{64}"$Strong validator bound to the current note and parent lead incarnations and source values.
updated_atstring Formatdate-timeActual current source update time.
{
"id": "note_m3S3yY53i0GJwNn0UPsl4jp3BubIW",
"lead": "lead_r72EfbRNUzuqORFJR0O8HxAwEXd93jGUTYMaMMXKSF0QbLS8CiUKJpEP34LFQG",
"object": "lead_note_source_receipt",
"etag": "\"lns1_aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa\"",
"updated_at": "2026-10-01T09:30:00.000Z"
}Content-free proof that this operation deleted the reviewed note incarnation.
Attributes
idstring ID prefixnote_…Opaque id of this exact note incarnation.
leadstring ID prefixlead_…Current authorized parent lead.
objectstringAlways lead_note_source_deletion; it names the deleted incarnation only.
{
"id": "note_m3S3yY53i0GJwNn0UPsl4jp3BubIW",
"lead": "lead_r72EfbRNUzuqORFJR0O8HxAwEXd93jGUTYMaMMXKSF0QbLS8CiUKJpEP34LFQG",
"object": "lead_note_source_deletion"
}Current source note mutation metadata; safe for write-only integrations and replay.
Attributes
objectstringAlways lead_note_source_mutation.
createdbooleanWhether this logical operation created the note.
deletedbooleanWhether this operation deleted its reviewed note incarnation.
Live source metadata or the deleted note identity, never content.
{
"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"
}
}Metadata of a persisted callback promise, without customer contact details or provider selectors.
Attributes
objectstringAlways scheduled_contact_receipt.
leadLeadSourceReceiptcontact_atstring Formatdate-timeThe time committed to the existing delayed-contact dispatcher.
channelstringCommitted contact channel. This receipt does not claim provider delivery.
Possible valuescallwhatsapp
createdbooleanWhether this operation genuinely created the contact.
{
"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
}Content-free organization handoff result; destination contacts, source content and provider selectors remain private.
Attributes
objectstringAlways family_handoff_receipt.
statusstringCanonical accepted disposition, or identity ambiguity awaiting human review.
Possible valuesacceptedneeds_review
officestringConfigured receiving office slug; no internal destination team id.
moved_sourcebooleanWhether the canonical source lead was transferred, preserving pending-work fences.
notification_queuedbooleanTrue only when the canonical notification and push outbox were committed. This does not claim delivery.
{
"object": "family_handoff_receipt",
"status": "accepted",
"office": "example",
"moved_source": false,
"notification_queued": true
}Content-free receipt with no destination existence or identity disclosure.
Attributes
objectstringAlways referral_receipt.
statusstringSubmission received. Unverified duplicates are acknowledged neutrally without changing or identifying an existing contact. This does not claim approval, outreach or provider delivery.
{
"object": "referral_receipt",
"status": "received"
}Content-free quote outcome receipt; no customer, provider, stage or private effect selectors.
Attributes
objectstringAlways quote_outcome_receipt.
statusstringCanonical commercial disposition was recorded. This does not claim independent verification of the external quote or delivery.
delivery_evidencestringExternal delivery evidence was attested by the caller.
Valuecaller_attested
{
"object": "quote_outcome_receipt",
"status": "recorded",
"delivery_evidence": "caller_attested"
}A call: its direction, timing and a normalized outcome. No recording or transcript.
Attributes
idstring ID prefixcall_…Public id of the record.
objectstringAlways
call.livemodebooleantruefor real data;falsein example data.teamstring ID prefixteam_…The team this record belongs to.
leadstring Nullable ID prefixlead_…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.
directionstring Nullableinboundoroutbound; null when not stored.Possible valuesinboundoutbound
started_atstring Nullable Formatdate-timeWhen the call started (UTC), or when it was recorded if the provider gave no start time.
duration_secondsinteger Nullable Range ≥ 0Whole seconds of the call (rounded down); null while the call is still live, or when not stored.
outcomestringHow the call ended:
answered_human,answered_ai,voicemail,no_answer,busy,failed, orunknown(still live, or no evidence of who answered). Read it withoutcome_basis.Possible valuesanswered_humananswered_aivoicemailno_answerbusyfailedunknown
outcome_basisstringThe 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 readsunknown: 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), ornone(no evidence, as for a call that is still live).Possible valuesinbound_verdictai_analysisduration_floorcarrier_answer_onlybrowser_sessionnone
versioninteger Range ≥ 1Increases 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_atstring Formatdate-timeWhen Totem recorded this version (UTC). It is not the time the business event happened.
{
"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"
}Current eligible calling options. Reading does not dial, reserve budget or change configuration.
Attributes
objectstringAlways call_binding_options.
dataArray<object> ≤ 100 itemsBounded current published selections. Select one explicitly.
objectstringAlways call_binding.
referencestring 40–16384 chars Pattern^tcall1\.[A-Za-z0-9_-]+$Opaque current calling binding emitted by the server. Never parse, edit or substitute its contents.
assistant_namestring 1–300 charsPublished assistant display name.
line_labelstring 1–300 charsCurrent outgoing line label.
line_numberstring 1–64 charsThe team’s own displayed outgoing number.
channelstringCalling channel selected by this binding.
Possible valuesphonewhatsapp
completebooleanWhether this bounded response includes every current usable selection.
{
"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
}Minimal truthful call-start acceptance receipt.
Attributes
objectstringAlways call_start_receipt.
statusstringThe provider accepted call initiation. This is not evidence that the person answered or the call completed.
call_idstring Nullable ID prefixcall_…Opaque canonical call id when its retained record exists; otherwise null. Never a raw provider id.
{
"object": "call_start_receipt",
"status": "accepted",
"call_id": null
}Explicitly authorized call speech content.
Attributes
objectstringAlways call_transcript.
call_idstring ID prefixcall_…Current retained call.
textstring ≤ 200000 charsSpeech-only transcript in its original order. Tool arguments and results are excluded.
completebooleanFalse when the current transcript exceeds the response limit. It does not indicate that an ongoing call has ended.
{
"object": "call_transcript",
"call_id": "call_m2kUbFcayHlZ5Lgs9xZNmDS3c3Jvk",
"text": "Please send the service guide.",
"complete": true
}An existing canonical European recording, never an arbitrary provider URL.
Attributes
objectstringAlways call_recording.
call_idstring ID prefixcall_…Current retained call.
urlstring FormaturiIntentional authorized recording disclosure: a bounded URL for the existing owned European application artifact.
expires_atstring Formatdate-timeExpiry of this URL. Later access requires a fresh authorized request.
content_typestring Nullable 1–255 charsStored artifact media type when available.
sizeinteger Nullable Range ≥ 0Stored artifact size in bytes when available.
{
"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
}Content-free stored callback receipt. Acceptance never claims every deferred analysis task has completed.
Attributes
objectstringAlways analysis_receipt.
resource_kindstringResource whose current analysis was processed.
Possible valuescallmeeting
summary_updatedbooleanWhether this logical callback committed its eligible summary.
custom_values_updatedbooleanWhether this callback committed any eligible call extraction into its current retained lead; always false for meetings.
finite_statusstringStatus of requested canonical finite fields. Deferred or unavailable is never a completed paid classification.
Possible valuesnot_requestedapplieddeferredunavailable
{
"object": "analysis_receipt",
"resource_kind": "call",
"summary_updated": true,
"custom_values_updated": false,
"finite_status": "deferred"
}A conversation on one channel: its status, assignee and the times of the latest messages, never their content.
Attributes
idstring ID prefixconv_…Public id of the record.
objectstringAlways
conversation.livemodebooleantruefor real data;falsein example data.teamstring ID prefixteam_…The team this record belongs to.
leadstring Nullable ID prefixlead_…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_typestring NullableThe channel:
whatsapp,email,chatbot(the web chat),facebook,instagram,smsortiktok; 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 onid.Possible valuessmswhatsappfacebookinstagramtiktokchatbotemail
statusstring Nullableactiveorarchivedin the team's inbox; null for a value this version does not know.Possible valuesactivearchived
assigneestring Nullable ID prefixmem_…The team member assigned to the conversation (see
/members), or null.reply_modestringhumanwhile a person has taken the conversation over, including a WhatsApp chat answered from the WhatsApp Business app;aiotherwise.aimeans no takeover is active, not that an assistant is set up or answering on this channel. A timed takeover returns toaiwhen it expires, and the record's version changes then.Possible valuesaihuman
created_atstring Nullable Formatdate-timeWhen the conversation was created (UTC).
last_inbound_atstring Nullable Formatdate-timeThe latest customer message (UTC). Not counted: erased messages, imported WhatsApp history and web-chat visitor turns, so a
chatbotconversation reads null. Instagram shares cannot be told apart and count.last_outbound_atstring Nullable Formatdate-timeThe latest message sent to the customer that did not fail (UTC), whoever sent it. Imported WhatsApp history counts.
versioninteger Range ≥ 1Increases 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_atstring Formatdate-timeWhen Totem recorded this version (UTC). It is not the time the business event happened.
{
"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"
}Bounded current message bodies without sender destinations, raw identifiers or media locations. Truncated means older retained rows may exist.
Attributes
objectstringIdentifies a content-authorized conversation message page.
Valueconversation_messages
messagesArray<object> ≤ 50 itemsLatest retained messages visible under the current content grant, with at most fifty entries.
referencestring Pattern^mmb1_[a-f0-9]{64}$Opaque reference bound to this retained message and conversation incarnation.
directionstringWhether the message was received from or sent to the contact.
Possible valuesinboundoutbound
atstring Formatdate-timeStored message timestamp in UTC.
content_typestringRetained message content type; attachments are indicated without exposing their locations.
Possible valuestextimageaudiovideofileunknown
textstring ≤ 8000 charsAuthorized retained message text, limited to eight thousand characters.
text_truncatedbooleanTrue when the retained text exceeds the returned text limit.
has_attachmentbooleanWhether the retained message has an attachment; this does not grant attachment access.
delivery_statusstring NullableObserved delivery status, or null when no such provider evidence is retained.
Possible valuesdeliveredreadfailed
importedbooleanTrue for a message retained through history import.
truncatedbooleanTrue when older retained messages may exist beyond this bounded page.
{
"object": "conversation_messages",
"messages": [],
"truncated": false
}Configured sender references without provider identifiers or credentials.
Attributes
objectstringIdentifies a configured message sender inventory.
Valuemessage_channels
channelsArray<object> ≤ 100 itemsCurrent configured senders, limited to one hundred entries. References are scoped to this integration and team.
referencestring Pattern^mch1_[a-f0-9]{64}$Opaque reference to one current configured sender returned by messages.channels. A changed connection invalidates it.
channel_typestringMessaging channel served by this configured sender.
Possible valueswhatsappfacebookinstagramtiktokemailsmschatbot
namestring 1–300 charsConfigured sender display name.
{
"object": "message_channels",
"channels": [
{
"reference": "mch1_aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
"channel_type": "chatbot",
"name": "Example chat"
}
]
}Current-source message result without body, destination or provider identifiers.
Attributes
objectstringIdentifies a retained message delivery result.
Valuemessage_receipt
statusstringSent requires actual provider acceptance; prepared identifies a retained web chat response awaiting its delivery surface.
Possible valuessentprepared
conversation_idstring ID prefixconv_…Current conversation in the selected team. Tenant integrations must supply its identifier; hosted processing may derive its exact signed source.
{
"object": "message_receipt",
"status": "prepared",
"conversation_id": "conv_m3GhGjRHmFbww1g10oqOp7j3gWqPJ"
}Source-proven canonical first-reply receipt with bounded context and no provider identifiers.
Attributes
objectstringAlways first_reply_receipt.
first_replyobject NullableCurrent source-proven context, or null when no content may be disclosed.
capabilitystringAlways first_reply_v1.
statusstring 1–40 charsActual campaign delivery, preparation or suppression status.
reasonstring May be absent ≤ 100 charsCanonical bounded explanation when available.
languagestring May be absent ≤ 10 charsLanguage selected by the canonical first-reply policy.
sent_contentArray<string> ≤ 20 itemsAuthorized bounded text from the canonical campaign receipt.
prepared_contentArray<string> May be absent ≤ 20 itemsAuthorized bounded text prepared for the visitor when present.
last_delivered_questionstring May be absent ≤ 1000 charsLast delivered question when the canonical campaign recorded one.
skip_ai_replybooleanWhether the canonical campaign or human ownership suppresses the normal assistant reply.
prepared_referencestring 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.
{
"object": "first_reply_receipt",
"first_reply": null,
"skip_ai_reply": false,
"prepared_reference": null
}Immutable queue admission acknowledgement, without content, destination or provider identifiers.
Attributes
objectstringAlways requested_info_receipt.
statusstringWhether this admission created the queued request or found an existing request in progress. This is an admission snapshot.
Possible valuesqueuedalready_queued
channelstringConfigured response channel chosen by current staff policy.
Possible valueswhatsappemail
delivery_confirmedbooleanThis queue acknowledgement does not attest delivery, including when read again after dispatch.
Valuefalse
includes_requested_detailbooleanWhether the configured response includes the requested information field.
eta_minutesnumberThe canonical queue estimate at admission, in minutes; not a delivery guarantee.
Value5
{
"object": "requested_info_receipt",
"status": "queued",
"channel": "email",
"delivery_confirmed": false,
"includes_requested_detail": true,
"eta_minutes": 5
}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
idstring ID prefixbkg_…Public id of the record.
objectstringAlways
booking.livemodebooleantruefor real data;falsein example data.teamstring ID prefixteam_…The team this record belongs to.
leadstring Nullable ID prefixlead_…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.
kindstringservice_booking(booked for a bookable service, by the AI, a customer or a person),calendar_event(an event from the connected calendar) orexternal_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 ascalendar_event.Possible valuesservice_bookingcalendar_eventexternal_import
servicestring Nullable ID prefixsvc_…The booked service (see
/booking_services) on aservice_booking; null otherwise.statusstring Nullablescheduled,rescheduled,cancelled,postponed,attended,no_showorteam_no_show(attendance is recorded only by people); null for a value this version does not know.rescheduledmeans the booking was moved in place and its times are the new ones; a booking the AI replaced with a new one readscancelled, withrescheduled_toset.Possible valuesscheduledrescheduledcancelledpostponedattendedno_showteam_no_show
starts_atstring Nullable Formatdate-timeWhen the booking starts (UTC).
ends_atstring Nullable Formatdate-timeWhen the booking ends (UTC).
meeting_typestring Nullableonline,in_personorphone; null when not stored.Possible valuesonlinein_personphone
sourcestring NullableWho booked it:
ai,customer,operatoror an authorizedintegration; null when not recorded.Possible valuesaicustomeroperatorintegration
rescheduled_fromstring Nullable ID prefixbkg_…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_tostring Nullable ID prefixbkg_…The booking that replaced this one in a reschedule, or null. When it is set, this booking reads
cancelled.created_atstring Nullable Formatdate-timeWhen the booking was recorded in Totem (UTC).
versioninteger Range ≥ 1Increases 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_atstring Formatdate-timeWhen Totem recorded this version (UTC). It is not the time the business event happened.
{
"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"
}A service customers can book, with its meeting type.
Attributes
idstring ID prefixsvc_…Public id of the record.
objectstringAlways
booking_service.livemodebooleantruefor real data;falsein example data.teamstring ID prefixteam_…The team this record belongs to.
namestring Nullable ≥ 1 charsThe service's name, or null when none is stored.
meeting_typestringHow the service happens:
online(the default when none is stored),in_personorphone.Possible valuesonlinein_personphone
{
"id": "svc_h42kgwwJGPzsm2Zoy1A1RBv1KIrX5",
"object": "booking_service",
"livemode": false,
"team": "team_r9uYrIW4gSFJJ6hZQ9ip1UIpPaAD1CF7NR",
"name": "First visit",
"meeting_type": "in_person"
}Source-backed service discovery for tenant integrations and actual hosted assistants.
Attributes
objectstringAlways booking_service_options.
dataArray<object> ≤ 50 itemsCurrent permitted services in this page.
service_slugstring May be absent ≤ 64 charsConfigured service ID shown in Booking settings.
service_idstringActual current service ID, shared with availability.
namestring ≤ 500 charsConfigured service name.
when_to_usestring ≤ 8000 charsTeam-authored service guidance.
meeting_typestringHow the service happens.
Possible valuesonlinein_personphone
duration_minutesintegerDefault service duration in minutes.
min_notice_minutesinteger Range ≥ 0Configured minimum notice in minutes.
horizon_daysintegerConfigured booking horizon in days.
optionsArray<object> ≤ 50 itemsCurrent permitted option labels and public terms.
labelstring ≤ 500 charsActual configured option label.
duration_minutesintegerConfigured option duration in minutes.
when_to_usestring ≤ 8000 charsTeam-authored choice guidance.
paymentobjectPublic terms only, without merchant/provider identifiers or payment URLs.
modestringCurrent public payment policy state.
Possible valuesnonelinkrequiredunavailable
amount_minorinteger NullableFixed amount in minor units, or null for a variable or unavailable amount.
currencystring Nullable ≤ 3 charsCurrency of the fixed amount, or null.
basisstring NullableBasis of a fixed amount, or null.
Possible valuesper_bookingper_personper_resource_unit
booking_pagesArray<object> ≤ 50 itemsActual enabled pages for this service.
titlestring ≤ 500 charsPublished booking-page label.
urlstring Nullable Formaturi≤ 2048 charsCanonical published Totem booking-page URL, or null when unavailable.
timezonestring 1–128 charsTeam business timezone.
completebooleanWhether the current search has no further page.
next_cursorstring Nullable ≤ 16384 charsOpaque next-page cursor, or null.
{
"object": "booking_service_options",
"data": [],
"timezone": "Europe/Madrid",
"complete": true,
"next_cursor": null
}Bounded public choices and offers without provider or raw resource identifiers.
Attributes
objectstringAlways booking_availability.
service_idstring ID prefixsvc_…Selected service.
timezonestring 1–100 charsCurrent business timezone.
expires_atstring Formatdate-timeAn instant in UTC.
optionsArray<object> ≤ 50 itemsCurrent permitted service options. Select one when several are returned.
idstring 40–16384 chars Pattern^tcal1\.[A-Za-z0-9_-]+$Server-issued opaque calendar reference; never parse or modify it.
labelstring 1–300 charsOption label.
duration_minutesinteger Range ≤ 1440Current option duration.
slotsArray<object> ≤ 20 itemsBounded available slots with opaque offers; reading them does not reserve capacity.
offerstring 40–16384 chars Pattern^tcal1\.[A-Za-z0-9_-]+$Server-issued opaque calendar reference; never parse or modify it.
starts_atstring Formatdate-timeAn instant in UTC.
ends_atstring Formatdate-timeAn instant in UTC.
starts_at_businessstring 1–64 charsStart with the business timezone offset.
ends_at_businessstring 1–64 charsEnd with the business timezone offset.
remaining_seatsinteger Nullable Range ≥ 0Remaining seats when applicable.
remaining_unitsinteger Nullable Range ≥ 0Remaining resource units when applicable.
{
"object": "booking_availability",
"service_id": "svc_h42kgwwJGPzsm2Zoy1A1RBv1KIrX5",
"timezone": "Europe/Madrid",
"expires_at": "2026-10-01T09:30:00.000Z",
"options": [],
"slots": []
}Fresh management projection and action ETag from the same source snapshot; not a capture version.
Attributes
teamstring ID prefixteam_…The team this record belongs to.
leadstring Nullable ID prefixlead_…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.
kindstringservice_booking(booked for a bookable service, by the AI, a customer or a person),calendar_event(an event from the connected calendar) orexternal_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 ascalendar_event.Possible valuesservice_bookingcalendar_eventexternal_import
servicestring Nullable ID prefixsvc_…The booked service (see
/booking_services) on aservice_booking; null otherwise.statusstring Nullablescheduled,rescheduled,cancelled,postponed,attended,no_showorteam_no_show(attendance is recorded only by people); null for a value this version does not know.rescheduledmeans the booking was moved in place and its times are the new ones; a booking the AI replaced with a new one readscancelled, withrescheduled_toset.Possible valuesscheduledrescheduledcancelledpostponedattendedno_showteam_no_show
starts_atstring Nullable Formatdate-timeWhen the booking starts (UTC).
ends_atstring Nullable Formatdate-timeWhen the booking ends (UTC).
meeting_typestring Nullableonline,in_personorphone; null when not stored.Possible valuesonlinein_personphone
sourcestring NullableWho booked it:
ai,customer,operatoror an authorizedintegration; null when not recorded.Possible valuesaicustomeroperatorintegration
rescheduled_fromstring Nullable ID prefixbkg_…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_tostring Nullable ID prefixbkg_…The booking that replaced this one in a reschedule, or null. When it is set, this booking reads
cancelled.created_atstring Nullable Formatdate-timeWhen the booking was recorded in Totem (UTC).
objectstringAlways booking_management.
idstring ID prefixbkg_…Current booking.
etagstring Pattern^"bka_[a-f0-9]{64}"$Strong action validator from this exact current source; use it in If-Match for cancellation or rescheduling.
{
"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\""
}Current authorized lead bookings, with explicit completeness.
Attributes
objectstringAlways booking_management_list.
At most twenty current manageable bookings for the authorized lead.
completebooleanFalse when the bounded query may omit additional owned bookings.
{
"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
}Minimal current-source booking outcome.
Attributes
objectstringAlways booking_receipt.
idstring ID prefixbkg_…Booking id.
statusstringVerified current booking outcome; unchanged means no new booking mutation.
Possible valuesscheduledcancelledrescheduledunchanged
previous_idstring Nullable ID prefixbkg_…Original booking when a reschedule replaced it, otherwise null.
{
"object": "booking_receipt",
"id": "bkg_r72EfbRNUzuqORFJR0O8HxAwEXd93jGUTYMaMMX3ttMKHRR9ADk3N7Cr3NSuY0",
"status": "scheduled",
"previous_id": null
}Owned current payment metadata, never a raw Stripe record.
Attributes
objectstringAlways booking_payment.
referencestring 40–16384 chars Pattern^tcal1\.[A-Za-z0-9_-]+$Server-issued opaque calendar reference; never parse or modify it.
statusstringCurrent owned payment lifecycle; review needs reconciliation and consumed means applied to a booking.
Possible valuespendingprocessingpaidfailedrefundedreviewconsumed
amount_minorinteger Range ≥ 0Current payment amount in minor currency units.
currencystring Pattern^[A-Z]{3}$Uppercase three-letter currency code.
checkout_urlstring Nullable FormaturiCurrent active authenticated-merchant checkout URL; null when unavailable.
slot_heldbooleanWhether capacity is currently held for this payment.
hold_expires_atstring Nullable Formatdate-timeCurrent hold expiry in UTC, or null without an active hold.
booking_idstring Nullable ID prefixbkg_…Current confirmed booking id when resolvable, otherwise null.
{
"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
}At most five current payment requests for the authorized lead.
Attributes
objectstringAlways booking_payment_list.
Current owned payment requests, at most five.
completebooleanFalse when the bounded query may omit additional current requests.
{
"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
}A payment request or link delivery is not a confirmed booking.
Attributes
objectstringAlways booking_payment_receipt.
referencestring 40–16384 chars Pattern^tcal1\.[A-Za-z0-9_-]+$Server-issued opaque calendar reference; never parse or modify it.
outcomestringCurrent payment requirement, reconciliation state or accepted link send.
Possible valuespayment_requiredpayment_processingpayment_reviewlink_sent
booking_confirmedbooleanAlways false: a payment request or sent link does not confirm a booking.
{
"object": "booking_payment_receipt",
"reference": "tcal1.bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb",
"outcome": "payment_required",
"booking_confirmed": false
}A business notification, including its summary and linked lead, call or conversation. Personal notes and technical alerts are excluded.
Attributes
idstring ID prefixntf_…Public id of the record.
objectstringAlways
notification.livemodebooleantruefor real data;falsein example data.teamstring ID prefixteam_…The team this record belongs to.
leadstring Nullable ID prefixlead_…The associated lead, or null when none is linked or its public id is not captured yet.
callstring Nullable ID prefixcall_…The associated call, or null.
conversationstring Nullable ID prefixconv_…The associated conversation, or null.
summarystring Nullable ≤ 10000 charsThe 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.
statusstring Nullablenew,readorarchived; null for an unknown stored status. Reading the API never marks a notice read.Possible valuesnewreadarchived
sourcestringThe business source: call, chat, reminder, task or manual (also used for an absent source). Unknown and technical sources are excluded.
Possible valuescallchatremindertaskmanual
handoff_reasonstring NullableThe recorded handoff reason, or null. No reason is inferred from the summary.
Possible valuesmissed_team_appointment
created_atstring Nullable Formatdate-timeWhen the notification was created in Totem (UTC), or null.
versioninteger Range ≥ 1Increases 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_atstring Formatdate-timeWhen Totem recorded this version (UTC). It is not the time the business event happened.
{
"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"
}Minimal notification receipt without its content, recipients or internal source references.
Attributes
objectstringAlways notification_receipt.
idstring ID prefixntf_…Opaque notification id bound to its team and incarnation.
handoffobject May be absentPresent only for an explicitly authorized incident report; it never asserts verified attendance or delivery.
reasonstringThe explicit customer-reported incident reason.
Valuemissed_team_appointment
incidentstringCurrent canonical state: pending human attention, already resolved by a human, or only an alert because no source-bound lead exists.
Possible valuespending_humanresolvedlead_missing
statusstringNotification status recorded by the operation.
Possible valuesnewarchived
{
"object": "notification_receipt",
"id": "ntf_m3mtwDFyaDSKmhf9rg7Ps201S8Jc4",
"status": "new"
}Minimal task receipt without task content or internal ids.
Attributes
objectstringAlways task_receipt.
idstring ID prefixtask_…Opaque task id bound to its team and incarnation; never parse it.
statusstringTask state recorded by the completed operation.
Possible valuesopendone
{
"object": "task_receipt",
"id": "task_m3wNC3n7WfzycfQJlLJiPi53sB5Dr",
"status": "open"
}A decision request this integration created, without lead contact data, responder phone numbers or answer links.
Attributes
objectstringAlways decision_request.
idstring ID prefixdrq_…Opaque decision request id bound to its team and incarnation; never parse it.
type_idstring NullableThe request type, or null without one.
type_namestringThe label responders saw.
presetstringapproval or assignment.
Possible valuesapprovalassignment
titlestringWhat had to be decided.
referencestring NullableYour reference, or null.
statestringopen while people are being asked; resolved once it ended.
Possible valuesopenresolved
resolutionstring NullableHow it ended: approved, rejected, accepted, unanswered (everyone declined or stayed silent), expired or cancelled; null while open.
Possible valuesapprovedrejectedacceptedunansweredexpiredcancelled
created_atstring Formatdate-timeWhen the request was created, in UTC.
expires_atstring Formatdate-timeWhen the request ends as expired if nobody decided, in UTC.
resolved_atstring Nullable Formatdate-timeWhen it ended, in UTC; null while open.
assigneestring Nullable ID prefixmem_…Assignment only: the member who accepted the job (or whom the type's policy picked); otherwise null.
decided_bystring Nullable ID prefixmem_…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 valuespolicysystemintegration
commentstring NullableThe deciding answer's comment, or null.
viastring NullableWhere 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 valuesapplinkadmincall
final_fieldsobject NullableApproved or accepted only: every field key with its final value, including the responder's corrections; otherwise null.
final_messageobject NullableApproved or accepted only, with a message: the email as approved; otherwise null.
subjectstringFinal email subject.
bodystringFinal email body.
effectsobjectWhat Totem did after the request ended.
lead_notestringThe outcome note on the lead.
Possible valuespendingdoneskippedneeds_review
emailstringThe approved email to the lead; done means sent, needs_review means a person must send it.
Possible valuespendingdoneskippedneeds_review
email_review_reasonstring Nullable Pattern^[a-z0-9_]{1,64}$Why the email needs review, such as email_missing_address or email_opted_out; otherwise null.
metadataobjectThe metadata this integration sent, unchanged.
{
"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"
}
}Minimal decision request receipt, as the operation recorded it. A type that decides by policy is already resolved here.
Attributes
objectstringAlways decision_request_receipt.
idstring ID prefixdrq_…Opaque decision request id bound to its team and incarnation; never parse it.
statestringopen while people are being asked; resolved once it ended.
Possible valuesopenresolved
resolutionstring NullableHow it ended: approved, rejected, accepted, unanswered (everyone declined or stayed silent), expired or cancelled; null while open.
Possible valuesapprovedrejectedacceptedunansweredexpiredcancelled
{
"object": "decision_request_receipt",
"id": "drq_m423Xy70UYKA7qToV8ptXW80qS9cm",
"state": "open",
"resolution": null
}Current retained knowledge passages without query echo, provider ids or source URLs.
Attributes
objectstringAlways knowledge_search.
statusstringIndexing with no retained match means the index is still being prepared.
Possible valuesreadyindexing
passagesArray<object> ≤ 8 itemsMatching passages only; an empty array is a successful search.
textstring 1–1200 charsRetained matching passage.
titlestring ≤ 512 charsStored document title.
sectionstring Nullable ≤ 512 charsStored section, if available.
pageinteger NullableStored page number, if available.
scorenumber Range 0–1Similarity score from 0 to 1.
{
"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
}
]
}Metadata-only published assistant discovery; no prompts, tool configuration or provider selectors.
Attributes
objectstringAlways assistant_options.
dataArray<object> ≤ 50 itemsBounded current published selections. Draft and disabled assistants are omitted.
referencestring ≤ 16384 chars Pattern^tast1\.[A-Za-z0-9_-]+$Short-lived opaque selection bound to this integration and the exact currently published assistant version; never a provider or workflow identifier.
namestring 1–200 charsPublished assistant display name, without its private instructions.
versionintegerExact current published version. A later publication invalidates this selection.
completebooleanWhether this bounded discovery inspected every current assistant definition.
{
"object": "assistant_options",
"data": [
{
"reference": "tast1.dddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddd",
"name": "Example assistant",
"version": 1
}
],
"complete": true
}Content-free completed-run metadata. It never exports the reply, prompt, private source or provider identifiers.
Attributes
objectstringAlways assistant_run_receipt.
statusstringThe original canonical turn completed with an actual retained assistant reply, not merely queue admission.
conversation_idstring ID prefixconv_…Opaque current conversation. Read reply bodies through conversations.messages with its separate current content grant.
{
"object": "assistant_run_receipt",
"status": "completed",
"conversation_id": "conv_m3GhGjRHmFbww1g10oqOp7j3gWqPJ"
}Attributes
objectstringAlways library_entry.
referencestring 40–16384 chars Pattern^tcnt1\.[A-Za-z0-9_-]+$Current server-issued opaque content reference; never parse or modify it.
namestring ≤ 2000 charsCurrent entry display name.
descriptionstring ≤ 20000 charsCurrent authored entry description.
typestringA text message, media entry or ordered sequence.
Possible valuesmessagemediasequence
revisioninteger Range ≥ 0Current authored revision; sending requires the revision you reviewed.
part_countinteger Range ≥ 0Number of sendable parts in this current entry.
file_countinteger Range ≥ 0Number of files in this current entry.
previewstring ≤ 1200 charsBounded authorized content preview.
languagestring Nullable ≤ 100 charsConfigured entry language, or null.
partsArray<object> May be absent ≤ 25 itemsOrdered authorized parts, included by the detail read.
kindstringText or media part of this entry.
Possible valuesmessagemedia
textstring ≤ 100000 charsAuthored message or media caption text.
file_namestring Nullable ≤ 2000 charsStored file name when available, otherwise null.
media_typestring Nullable ≤ 100 charsStored media type when available, otherwise null.
{
"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
}
]
}Attributes
objectstringAlways library_entry_list.
Current permitted entries on this page.
next_cursorstring Nullable 40–16384 chars Pattern^tcnt1\.[A-Za-z0-9_-]+$Opaque next-page cursor, or null after the last page.
coveragestringWhether more discovery pages remain or this result is complete.
Possible valuespagecomplete
totalinteger Nullable Range ≥ 0Total entries when established by the bounded discovery, otherwise null.
matched_in_pageinteger Range ≥ 0Number of entries matched within this returned page.
{
"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
}Attributes
objectstringAlways library_delivery_receipt.
statusstringCurrent durable delivery state. Reconcile partial or uncertain delivery before repeating it.
Possible valuessentpartialuncertainfailedheldin_progressprepared
sent_partsinteger Range ≥ 0Parts with retained provider acceptance; prepared web chat parts are separate.
total_partsinteger Range ≥ 0Total parts of this reviewed delivery.
preparedbooleanTrue only for a persisted web chat response prepared for the caller to render.
prepared_referencestring Nullable 40–16384 chars Pattern^tcnt1\.[A-Za-z0-9_-]+$Current source-bound prepared response reference, or null for other delivery states.
reasonstringClosed delivery disposition without private provider errors.
Possible valuesnonealready_sentresource_changedconversation_changedsession_closeddelivery_refusedprovider_outcome_unknowncontent_erasednot_prepared
{
"object": "library_delivery_receipt",
"status": "prepared",
"sent_parts": 0,
"total_parts": 1,
"prepared": true,
"prepared_reference": "tcnt1.aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
"reason": "none"
}Attributes
objectstringAlways library_prepared_response.
versionnumberPrepared visitor response format version, always one.
Value1
messagesArray<object> ≤ 25 itemsOrdered persisted visitor messages; preserve this order when rendering.
idstring 1–300 charsStable opaque prepared message identity for visitor rendering.
rolestringAlways assistant.
kindstringPrepared visitor message type.
Possible valuestextimagevideoaudiodocument
contentstring May be absent ≤ 100000 charsPrepared text or caption when present.
timestampstring Formatdate-timePersisted message time in UTC.
mediaobject May be absentFile metadata and an opaque attachment reference; resolve it with its separate permission.
attachment_referencestring 40–16384 chars Pattern^tcnt1\.[A-Za-z0-9_-]+$Current server-issued opaque content reference; never parse or modify it.
mime_typestring ≤ 200 charsCanonical file MIME type.
file_namestring Nullable ≤ 2000 charsCanonical file name when known, otherwise null.
file_sizeinteger Nullable Range ≥ 0Known file size in bytes, otherwise null.
{
"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"
}
]
}Attributes
objectstringAlways attachment.
urlstring Formaturi≤ 8192 charsIntentionally disclosed canonical URL of the exact owned EU application-bucket file.
mime_typestring ≤ 200 charsCanonical file MIME type.
file_namestring Nullable ≤ 2000 charsCanonical file name when known, otherwise null.
file_sizeinteger Nullable Range ≥ 0Known file size in bytes, otherwise null.
{
"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
}Attributes
objectstringAlways catalog_result_list.
completebooleanWhether this bounded result includes every matching published variant.
dataArray<object> ≤ 100 itemsAuthorized matching published variants, up to one hundred.
catalogstring 40–16384 chars Pattern^tcnt1\.[A-Za-z0-9_-]+$Current server-issued opaque content reference; never parse or modify it.
productstring 40–16384 chars Pattern^tcnt1\.[A-Za-z0-9_-]+$Current server-issued opaque content reference; never parse or modify it.
variantstring 40–16384 chars Pattern^tcnt1\.[A-Za-z0-9_-]+$Current server-issued opaque content reference; never parse or modify it.
categorystring 40–16384 chars Pattern^tcnt1\.[A-Za-z0-9_-]+$Current server-issued opaque content reference; never parse or modify it.
revisioninteger Range ≥ 0Current published catalog revision.
catalog_namestring ≤ 2000 charsPublished catalog display name.
category_namestring ≤ 2000 charsPublished category display name.
titlestring ≤ 2000 charsPublished product or variant title.
descriptionstring ≤ 100000 charsAuthorized published product description.
typestringPublished product type.
Possible valuesphysicaldigitalservice
option_valuesobjectPublished variant option labels and values.
priceobjectCurrent published price and its unit; this is not a confirmed booking offer.
modestringWhether the published price is fixed, a starting price or requires a quote.
Possible valuesfixedfromquote
basisstringPublished unit to which the price applies.
Possible valuesitembookingpersonresource_unit
amount_minorinteger Nullable Range ≥ 0Published amount in minor currency units; null when a quote is required.
sale_amount_minorinteger Nullable Range ≥ 0Published sale amount in minor currency units, or null.
currencystring 3 charsThree-letter published currency code.
image_urlstring Nullable FormaturiPublished product image URL, or null.
public_urlstring Nullable FormaturiPublished customer-facing product URL, or null.
manual_availabilitystringThe published variant is manually available; scheduling can impose further constraints.
availability_basisstringWhich authority determines availability beyond the published manual status.
Possible valuestotem_schedulingexternal_authoritymanual_only
bookingobjectPublished booking mode and its current linked service or external destination.
modestringPossible valuesnoneenquiryexternaltotem
urlstring Conditional Nullable FormaturiPublished external booking URL when configured, otherwise null.
service_idstring Conditional ID prefixsvc_…Current linked booking service. Read its availability to select an option and offer.
page_labelstring Conditional Nullable ≤ 2000 charsPublished booking page label, or null.
option_labelstring Conditional Nullable ≤ 2000 charsPublished booking option label, or null.
requested_slot_availableboolean NullableActual linked Totem scheduling result for the requested slot; null when no such check was made.
availability_issuestring NullableUnavailable or unverified scheduling, otherwise null.
Possible valuesunavailablenot_checked
whatsapp_capablebooleanWhether this published variant supports the configured WhatsApp catalog transport.
{
"object": "catalog_result_list",
"complete": true,
"data": []
}Attributes
objectstringAlways catalog_send_receipt.
sent_asstringThe accepted single-product or product-list provider format.
Possible valuescatalog_productcatalog_product_list
variant_countinteger Range 1–30Number of reviewed variants in the accepted selection.
{
"object": "catalog_send_receipt",
"sent_as": "catalog_product",
"variant_count": 1
}Durable operation status, available only to its current authorized integration and team.
Attributes
objectstringAlways operation.
idstring ID prefixop_…Opaque durable operation id.
statusstringDurable operation state; outcome_unknown must be reconciled before repeating the effect.
Possible valuesqueuedrunningsucceededfailedcancelledoutcome_unknown
endpointstringThe original endpoint executed by this operation.
Possible valuestasks.createtasks.completenotifications.createdecision_requests.createdecision_requests.cancelbookings.createbookings.cancelbookings.reschedulebookingPayments.sendLinkmessages.sendmessages.requestInfomessages.prepareReplycalls.startlibrary.sendcatalog.sendquotes.recordOutcomeassistants.run
created_atstring Formatdate-timeWhen this operation was accepted, in UTC.
updated_atstring Formatdate-timeWhen its current state was recorded, in UTC.
resultTaskReceipt | NotificationReceipt | DecisionRequestReceipt | BookingReceipt | BookingPaymentReceipt | MessageReceipt | RequestedInfoReceipt | FirstReplyReceipt | CallStartReceipt | QuoteOutcomeReceipt | AssistantRunReceipt | LibraryDeliveryReceipt | CatalogSendReceipt NullableMinimal public resource receipt after success, otherwise null.
errorobject NullableSafe failure information, or null.
codestringClosed failure code without provider text, task content or credentials.
Possible valuesauthorization_failedconfiguration_missinginput_expiredinvalid_inputresource_missingexecution_failedoutcome_unknown
{
"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
}One change: the record's current state, or its removal.
Attributes of every variant
kindstringThe kind of the record, such as
leadorcall.Possible valuesleadlead_notelead_attributionlead_responseactivitycallconversationbookingboardnotification
versioninteger Range ≥ 1The 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
idstring ID prefixlead_…note_…act_…call_…conv_…bkg_…brd_…ntf_…Public id of the record; the facets
lead_attributionandlead_responseuse their lead's id.objectone of 10 objectsThe record as it is now.
Matcheskind:leaduses Leadlead_noteuses LeadNotelead_attributionuses LeadAttributionlead_responseuses LeadResponseactivityuses Activitycalluses Callconversationuses Conversationbookinguses Bookingboarduses Boardnotificationuses Notification
With removed
idstring ID prefixlead_…note_…act_…call_…conv_…bkg_…brd_…ntf_…Public id of the removed record.
removedobjectPresent only on a removal.
reasonstringerasedafter an erasure, which is also what deleting a lead, call or conversation in Totem does: erasing a lead erases its calls, conversations and merged duplicates too, while its bookings stay withleadset tonull.deletedfor any other removal. Either way, delete your copy and keep this version, so an older copy delivered later is ignored.Possible valueseraseddeleted
{
"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"
}
}Attributes
objectstringAlways event.
idstring Pattern^evt_(?:[a-f0-9]{48}|[a-f0-9]{64})$Stable opaque transition identity; deduplicate deliveries by this value.
namestringCaptured lifecycle transition, distinct from acceptance of an asynchronous request.
Possible valuesoperation.completedcall.completedcall.analysis_completedbooking.createdbooking.rescheduledbooking.cancelledassistant_run.completeddecision_request.resolved
resource_typestringKind of retained resource referenced by this event.
Possible valuesoperationcallbookingdecision_request
resource_idstring ID prefixop_…call_…bkg_…drq_…Current opaque ID of the exact retained resource incarnation.
statusstringCaptured 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 valuessucceededfailedcancelledoutcome_unknowncompletedreadyunavailablecreatedrescheduledapprovedrejectedacceptedunansweredexpired
occurred_atstring Formatdate-timeSource transition time in UTC.
{
"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"
}Attributes
objectstringAlways event_list.
Authorized retained transitions in capture order; withheld entries still advance the cursor.
has_morebooleanContinue immediately with next_cursor while true, including when data is empty.
next_cursorstring 1–512 charsOpaque cursor bound to this integration and selected team; save it after processing the page.
{
"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"
}