[{"data":1,"prerenderedAt":690,"buildId":691},["ShallowReactive",2],{"developers:\u002Fdevelopers\u002Fcrm-writes":3},{"doc":4,"lang":467,"nav":478,"alternatePath":632,"policy":633,"specVersion":677,"reference":7,"layout":678,"toc":679,"prev":687,"next":688,"operations":689,"overview":7,"heroExample":7},{"id":5,"title":6,"apiTag":7,"body":8,"description":464,"draft":465,"extension":466,"lang":467,"meta":468,"navTitle":7,"navigation":469,"order":470,"path":471,"rawbody":472,"section":473,"seo":474,"stem":475,"translationKey":476,"version":7,"__hash__":477},"developers_en\u002Fdevelopers\u002Fcrm-writes.md","CRM writes and notes",null,{"type":9,"value":10,"toc":453},"minimark",[11,45,53,58,169,182,186,196,206,213,239,277,281,299,314,317,321,334,353,360,364,382,386,395,406,410,423,434,441],[12,13,14,15,19,20,23,24,31,32,36,37,40,41,44],"p",{},"Version ",[16,17,18],"strong",{},"1.0b"," adds CRM writes without changing existing read-only keys. Create a new ",[16,21,22],{},"CRM write"," integration in ",[25,26,30],"a",{"href":27,"rel":28},"https:\u002F\u002Fapp.totemstudio.ai\u002Fsettings?tab=developers",[29],"nofollow","Settings → Developers",". It receives ",[33,34,35],"code",{},"crm:write"," alongside the ordinary read permissions. Reading note contents requires the separate ",[16,38,39],{},"CRM note content"," acknowledgement and ",[33,42,43],{},"crm:notes:read","; writing a note does not grant access to its contents or other notes.",[12,46,47,48,52],{},"This page describes the coordinated release contract. Deployment and publication of a client package are separate release steps; check ",[25,49,51],{"href":50},"\u002Fdevelopers\u002Fchangelog","the changelog"," and your installed version before relying on a new operation.",[54,55,57],"h2",{"id":56},"crm-write-operations","CRM write operations",[59,60,61,77],"table",{},[62,63,64],"thead",{},[65,66,67,71,74],"tr",{},[68,69,70],"th",{},"Operation",[68,72,73],{},"Purpose",[68,75,76],{},"Conditional version",[78,79,80,97,113,126,141,155],"tbody",{},[65,81,82,88,91],{},[83,84,85],"td",{},[33,86,87],{},"POST \u002Fv1\u002Fleads",[83,89,90],{},"Create or resolve by identity",[83,92,93,96],{},[33,94,95],{},"Idempotency-Key"," required",[65,98,99,104,107],{},[83,100,101],{},[33,102,103],{},"PATCH \u002Fv1\u002Fleads\u002F{id}",[83,105,106],{},"Update allowlisted CRM fields",[83,108,109,110,96],{},"Lead ",[33,111,112],{},"If-Match",[65,114,115,120,123],{},[83,116,117],{},[33,118,119],{},"POST \u002Fv1\u002Fleads\u002F{id}\u002Fnotes",[83,121,122],{},"Create a CRM note",[83,124,125],{},"Stable idempotency key recommended",[65,127,128,133,136],{},[83,129,130],{},[33,131,132],{},"PATCH \u002Fv1\u002Fleads\u002F{id}\u002Fnotes\u002F{note}",[83,134,135],{},"Edit a CRM note",[83,137,138,139,96],{},"Note ",[33,140,112],{},[65,142,143,148,151],{},[83,144,145],{},[33,146,147],{},"DELETE \u002Fv1\u002Fleads\u002F{id}\u002Fnotes\u002F{note}",[83,149,150],{},"Delete a CRM note",[83,152,138,153,96],{},[33,154,112],{},[65,156,157,162,165],{},[83,158,159],{},[33,160,161],{},"POST \u002Fv1\u002Fleads\u002F{id}\u002Farchive",[83,163,164],{},"Archive without deleting the lead",[83,166,109,167,96],{},[33,168,112],{},[12,170,171,172,176,177,181],{},"The ",[25,173,175],{"href":174},"\u002Fdevelopers\u002Freference-leads","generated reference"," and ",[25,178,180],{"href":179},"\u002Fdevelopers\u002Fkit\u002Fopenapi.json","OpenAPI"," define the available operations. Calls, messages, bookings, assistant settings and key management are not writable through these CRM routes.",[54,183,185],{"id":184},"import-first-change-existing-data-conditionally","Import first; change existing data conditionally",[12,187,188,191,192,195],{},[33,189,190],{},"origin"," is required on intake. Use ",[33,193,194],{},"import"," when copying a CRM or historical list. An import does not arm Totem outreach, including on an automated stage. It does not record supplied consent as permission to contact. Moving stages, patching contact details or creating a note also cannot be used to start outreach.",[197,198,204],"pre",{"className":199,"code":201,"language":202,"meta":203},[200],"language-bash","curl https:\u002F\u002Fapi.totemstudio.ai\u002Fv1\u002Fleads \\\n  -H \"Authorization: Bearer $TOTEM_API_KEY\" \\\n  -H \"Totem-Team: $TOTEM_TEAM_ID\" \\\n  -H \"Idempotency-Key: import-example-contact-001\" \\\n  -H \"Content-Type: application\u002Fjson\" \\\n  -d '{\"origin\":\"import\",\"email\":\"alex.rivera@example.com\",\"external_id\":\"crm-contact-001\"}'\n","bash","",[33,205,201],{"__ignoreMap":203},[12,207,208,209,212],{},"Intake resolves the integration's ",[33,210,211],{},"external_id",", phone and email without silently merging conflicting identities. An external id alone must already resolve; a new record needs a phone or email. The external id belongs to your integration and team, not another integration's namespace. Phone values are E.164.",[12,214,215,216,219,220,176,223,226,227,230,231,234,235,238],{},"An existing human-entered identity value remains authoritative: upsert only fills missing identity fields or a placeholder name. It does not replace an existing pipeline, tag set, priority, value or assignments. To change those, first resolve the lead, then send ",[33,217,218],{},"PATCH"," with its current ETag. Use ",[33,221,222],{},"board",[33,224,225],{},"stage",", not ",[33,228,229],{},"board_id"," or ",[33,232,233],{},"stage_id",". Unsupported fields are rejected. ",[33,236,237],{},"validate_only: true"," validates intake without applying data, creating a receipt or contacting anyone.",[12,240,241,242,245,246,249,250,253,254,257,258,261,262,265,266,269,270,230,273,276],{},"Lead writes return ",[33,243,244],{},"object: \"lead_mutation\"",", the current ",[33,247,248],{},"lead",", ",[33,251,252],{},"created"," and, on intake, ",[33,255,256],{},"outreach",". Validation returns ",[33,259,260],{},"{\"object\":\"lead_validation\",\"valid\":true}",". Archiving requires a documented ",[33,263,264],{},"reason","; it retains the lead. A birthday can be set or cleared with the patch field ",[33,267,268],{},"date_of_birth"," (",[33,271,272],{},"YYYY-MM-DD",[33,274,275],{},"null","); birthday automation settings are not API controls.",[54,278,280],{"id":279},"strong-versions-and-conflicts","Strong versions and conflicts",[12,282,283,284,287,288,291,292,295,296,298],{},"Read the current ",[33,285,286],{},"ETag"," response header. A lead ETag has the quoted form ",[33,289,290],{},"\"lead_…:7\"","; a note ETag is ",[33,293,294],{},"\"note_…:2\"",". Send that exact value as ",[33,297,112],{}," for conditional operations. A validator belongs to one resource: a lead ETag cannot authorize a note edit. Weak validators, wildcard validators and lists are not accepted.",[12,300,301,302,305,306,309,310,313],{},"If another writer changed the resource, ",[33,303,304],{},"412 version_conflict"," leaves your change unapplied. Fetch and review the current resource, resolve the conflict, then make a ",[16,307,308],{},"new logical request"," with its new ETag. Do not automatically overwrite the newer state. A missing required validator returns ",[33,311,312],{},"428 precondition_required",".",[12,315,316],{},"Phone or email changes apply the product's contact-change hold so old queued callbacks or outreach cannot contact the wrong recipient. CRM operations preserve existing stronger holds, opt-outs, human-attention and service-recovery controls.",[54,318,320],{"id":319},"retry-one-logical-write-safely","Retry one logical write safely",[12,322,323,324,326,327,330,331,333],{},"Persist one ",[33,325,95],{}," for a logical write, and reuse it for retries, including retries after your process restarts. Keep the same method, path, selected team, JSON body and ",[16,328,329],{},"original"," ",[33,332,112],{},". Changing any of those under a reused key is rejected. Use a fresh key for a genuinely new action, not for an uncertain retry.",[12,335,336,337,340,341,344,345,348,349,352],{},"Receipts are retained for ",[16,338,339],{},"48 hours"," and store a fingerprint and resource reference, without request bodies, note text or saved response bodies. Replay is checked before a fresh version comparison. A successful replay rereads the ",[16,342,343],{},"current"," resource and returns ",[33,346,347],{},"Idempotent-Replayed: true","; it does not repeat stale personal data. An erased resource is not resurrected. Note deletion returns ",[33,350,351],{},"204"," with no JSON body, including a valid repeated deletion.",[12,354,355,356,359],{},"After ",[33,357,358],{},"outcome_unknown",", reconcile using the original request\u002Fkey or the current resource before starting another action. A timeout does not prove that nothing happened. Do not reuse a receipt beyond the retention window as an exactly-once guarantee.",[54,361,363],{"id":362},"record-opt-outs","Record opt-outs",[12,365,366,367,369,370,373,374,377,378,381],{},"With ",[33,368,35],{},", patch ",[33,371,372],{},"do_not_contact: true"," for an all-channel restriction or ",[33,375,376],{},"email_opt_out: true"," for email. These fields accept ",[16,379,380],{},"true only",". The API cannot clear a refusal or fabricate re-consent. A board\u002Fstage change, import or inbound event does not remove an existing restriction. Apply the same restrictions to every downstream copy before contacting anyone.",[54,383,385],{"id":384},"inbound-intake-is-separately-authorized","Inbound intake is separately authorized",[12,387,388,391,392,394],{},[33,389,390],{},"origin: \"inbound\""," is for an actual inbound event with a phone supplied by the person. The integration administrator must explicitly enable inbound intake. ",[33,393,35],{}," alone is insufficient. An inbound event is not WhatsApp consent: provide the person's explicit choice and its capture time, method and notice reference when needed.",[12,396,397,398,401,402,405],{},"Outreach eligibility is limited to the team's recorded default country and valid internationally diallable mobile, fixed-line or fixed-line-or-mobile numbers. An organization-and-phone fence permits at most one newly armed intake per rolling seven days; each principal can arm at most ",[16,399,400],{},"500"," per UTC day. Team policy, route\u002Fstage configuration, holds and consent still apply. If these guards cannot be checked, outreach is withheld. ",[33,403,404],{},"outreach.status: \"eligible\""," means admitted under the normal product rules, not that a call or message was delivered.",[54,407,409],{"id":408},"notes-are-an-explicit-content-capability","Notes are an explicit content capability",[12,411,412,415,416,418,419,422],{},[33,413,414],{},"GET \u002Fv1\u002Fleads\u002F{id}\u002Fnotes"," returns cursor-paged note contents only with ",[33,417,43],{},", an explicit content grant and the team's completed note backfill. Existing read-only keys never acquire that capability automatically. Until preparation finishes, keep your copy\u002Fcursor and retry ",[33,420,421],{},"capture_not_ready","; do not treat a partial snapshot as a deletion.",[12,424,425,426,429,430,433],{},"Create\u002Fedit note bodies contain 1–20000 characters. Existing reads can contain up to 50000 characters, including historical empty text. Write receipts contain ",[33,427,428],{},"object: \"lead_note_receipt\""," and note ",[16,431,432],{},"metadata only",", including the note id and version; they omit the body and other notes. Note external ids are scoped to the integration, team and parent lead.",[12,435,436,437,440],{},"The changes feed includes ",[33,438,439],{},"kind: \"lead_note\""," only for authorized content readers. Notes have independent versions. Deleting one leaves a tombstone; deleting or erasing its parent lead removes associated exports. Persist the note-to-lead association while applying records, because a removal contains its kind\u002Fid\u002Fversion and reason rather than private parent details. Recreated leads and notes do not inherit an old incarnation's identity or external-id binding.",[12,442,443,444,230,448,452],{},"Use the ",[25,445,447],{"href":446},"\u002Fdevelopers\u002Ftypescript","TypeScript SDK",[25,449,451],{"href":450},"\u002Fdevelopers\u002Fn8n","n8n node"," with the same ordinary integration key. Neither client can broaden its permissions or bypass contact protections.",{"title":203,"searchDepth":454,"depth":454,"links":455},3,[456,458,459,460,461,462,463],{"id":56,"depth":457,"text":57},2,{"id":184,"depth":457,"text":185},{"id":279,"depth":457,"text":280},{"id":319,"depth":457,"text":320},{"id":362,"depth":457,"text":363},{"id":384,"depth":457,"text":385},{"id":408,"depth":457,"text":409},"Import and update CRM leads, record opt-outs, archive leads and synchronize notes with explicit permissions, conditional versions and safe retries.",false,"md","en",{},true,"21","\u002Fdevelopers\u002Fcrm-writes","---\ntitle: CRM writes and notes\ndescription: Import and update CRM leads, record opt-outs, archive leads and synchronize notes with explicit permissions, conditional versions and safe retries.\nsection: guides\norder: 21\ntranslationKey: crm-writes\nlang: en\ndraft: false\n---\n\nVersion **1.0b** adds CRM writes without changing existing read-only keys. Create a new **CRM write** integration in [Settings → Developers](https:\u002F\u002Fapp.totemstudio.ai\u002Fsettings?tab=developers). It receives `crm:write` alongside the ordinary read permissions. Reading note contents requires the separate **CRM note content** acknowledgement and `crm:notes:read`; writing a note does not grant access to its contents or other notes.\n\nThis page describes the coordinated release contract. Deployment and publication of a client package are separate release steps; check [the changelog](\u002Fdevelopers\u002Fchangelog) and your installed version before relying on a new operation.\n\n## CRM write operations\n\n| Operation | Purpose | Conditional version |\n|---|---|---|\n| `POST \u002Fv1\u002Fleads` | Create or resolve by identity | `Idempotency-Key` required |\n| `PATCH \u002Fv1\u002Fleads\u002F{id}` | Update allowlisted CRM fields | Lead `If-Match` required |\n| `POST \u002Fv1\u002Fleads\u002F{id}\u002Fnotes` | Create a CRM note | Stable idempotency key recommended |\n| `PATCH \u002Fv1\u002Fleads\u002F{id}\u002Fnotes\u002F{note}` | Edit a CRM note | Note `If-Match` required |\n| `DELETE \u002Fv1\u002Fleads\u002F{id}\u002Fnotes\u002F{note}` | Delete a CRM note | Note `If-Match` required |\n| `POST \u002Fv1\u002Fleads\u002F{id}\u002Farchive` | Archive without deleting the lead | Lead `If-Match` required |\n\nThe [generated reference](\u002Fdevelopers\u002Freference-leads) and [OpenAPI](\u002Fdevelopers\u002Fkit\u002Fopenapi.json) define the available operations. Calls, messages, bookings, assistant settings and key management are not writable through these CRM routes.\n\n## Import first; change existing data conditionally\n\n`origin` is required on intake. Use `import` when copying a CRM or historical list. An import does not arm Totem outreach, including on an automated stage. It does not record supplied consent as permission to contact. Moving stages, patching contact details or creating a note also cannot be used to start outreach.\n\n```bash\ncurl https:\u002F\u002Fapi.totemstudio.ai\u002Fv1\u002Fleads \\\n  -H \"Authorization: Bearer $TOTEM_API_KEY\" \\\n  -H \"Totem-Team: $TOTEM_TEAM_ID\" \\\n  -H \"Idempotency-Key: import-example-contact-001\" \\\n  -H \"Content-Type: application\u002Fjson\" \\\n  -d '{\"origin\":\"import\",\"email\":\"alex.rivera@example.com\",\"external_id\":\"crm-contact-001\"}'\n```\n\nIntake resolves the integration's `external_id`, phone and email without silently merging conflicting identities. An external id alone must already resolve; a new record needs a phone or email. The external id belongs to your integration and team, not another integration's namespace. Phone values are E.164.\n\nAn existing human-entered identity value remains authoritative: upsert only fills missing identity fields or a placeholder name. It does not replace an existing pipeline, tag set, priority, value or assignments. To change those, first resolve the lead, then send `PATCH` with its current ETag. Use `board` and `stage`, not `board_id` or `stage_id`. Unsupported fields are rejected. `validate_only: true` validates intake without applying data, creating a receipt or contacting anyone.\n\nLead writes return `object: \"lead_mutation\"`, the current `lead`, `created` and, on intake, `outreach`. Validation returns `{\"object\":\"lead_validation\",\"valid\":true}`. Archiving requires a documented `reason`; it retains the lead. A birthday can be set or cleared with the patch field `date_of_birth` (`YYYY-MM-DD` or `null`); birthday automation settings are not API controls.\n\n## Strong versions and conflicts\n\nRead the current `ETag` response header. A lead ETag has the quoted form `\"lead_…:7\"`; a note ETag is `\"note_…:2\"`. Send that exact value as `If-Match` for conditional operations. A validator belongs to one resource: a lead ETag cannot authorize a note edit. Weak validators, wildcard validators and lists are not accepted.\n\nIf another writer changed the resource, `412 version_conflict` leaves your change unapplied. Fetch and review the current resource, resolve the conflict, then make a **new logical request** with its new ETag. Do not automatically overwrite the newer state. A missing required validator returns `428 precondition_required`.\n\nPhone or email changes apply the product's contact-change hold so old queued callbacks or outreach cannot contact the wrong recipient. CRM operations preserve existing stronger holds, opt-outs, human-attention and service-recovery controls.\n\n## Retry one logical write safely\n\nPersist one `Idempotency-Key` for a logical write, and reuse it for retries, including retries after your process restarts. Keep the same method, path, selected team, JSON body and **original** `If-Match`. Changing any of those under a reused key is rejected. Use a fresh key for a genuinely new action, not for an uncertain retry.\n\nReceipts are retained for **48 hours** and store a fingerprint and resource reference, without request bodies, note text or saved response bodies. Replay is checked before a fresh version comparison. A successful replay rereads the **current** resource and returns `Idempotent-Replayed: true`; it does not repeat stale personal data. An erased resource is not resurrected. Note deletion returns `204` with no JSON body, including a valid repeated deletion.\n\nAfter `outcome_unknown`, reconcile using the original request\u002Fkey or the current resource before starting another action. A timeout does not prove that nothing happened. Do not reuse a receipt beyond the retention window as an exactly-once guarantee.\n\n## Record opt-outs\n\nWith `crm:write`, patch `do_not_contact: true` for an all-channel restriction or `email_opt_out: true` for email. These fields accept **true only**. The API cannot clear a refusal or fabricate re-consent. A board\u002Fstage change, import or inbound event does not remove an existing restriction. Apply the same restrictions to every downstream copy before contacting anyone.\n\n## Inbound intake is separately authorized\n\n`origin: \"inbound\"` is for an actual inbound event with a phone supplied by the person. The integration administrator must explicitly enable inbound intake. `crm:write` alone is insufficient. An inbound event is not WhatsApp consent: provide the person's explicit choice and its capture time, method and notice reference when needed.\n\nOutreach eligibility is limited to the team's recorded default country and valid internationally diallable mobile, fixed-line or fixed-line-or-mobile numbers. An organization-and-phone fence permits at most one newly armed intake per rolling seven days; each principal can arm at most **500** per UTC day. Team policy, route\u002Fstage configuration, holds and consent still apply. If these guards cannot be checked, outreach is withheld. `outreach.status: \"eligible\"` means admitted under the normal product rules, not that a call or message was delivered.\n\n## Notes are an explicit content capability\n\n`GET \u002Fv1\u002Fleads\u002F{id}\u002Fnotes` returns cursor-paged note contents only with `crm:notes:read`, an explicit content grant and the team's completed note backfill. Existing read-only keys never acquire that capability automatically. Until preparation finishes, keep your copy\u002Fcursor and retry `capture_not_ready`; do not treat a partial snapshot as a deletion.\n\nCreate\u002Fedit note bodies contain 1–20000 characters. Existing reads can contain up to 50000 characters, including historical empty text. Write receipts contain `object: \"lead_note_receipt\"` and note **metadata only**, including the note id and version; they omit the body and other notes. Note external ids are scoped to the integration, team and parent lead.\n\nThe changes feed includes `kind: \"lead_note\"` only for authorized content readers. Notes have independent versions. Deleting one leaves a tombstone; deleting or erasing its parent lead removes associated exports. Persist the note-to-lead association while applying records, because a removal contains its kind\u002Fid\u002Fversion and reason rather than private parent details. Recreated leads and notes do not inherit an old incarnation's identity or external-id binding.\n\nUse the [TypeScript SDK](\u002Fdevelopers\u002Ftypescript) or [n8n node](\u002Fdevelopers\u002Fn8n) with the same ordinary integration key. Neither client can broaden its permissions or bypass contact protections.\n","guides",{"title":6,"description":464},"developers\u002Fcrm-writes","crm-writes","DNqBsIwZ0GW4gCneQ6rQ4suISrjB5NXmo-QVobzaYIA",[479,494,526,614],{"section":480,"items":481},"start",[482,486,490],{"path":483,"title":484,"description":485},"\u002Fdevelopers","Overview","Read CRM data and run authorized Totem actions with explicit permissions, private-content grants and observable operation results.",{"path":487,"title":488,"description":489},"\u002Fdevelopers\u002Fquickstart","Quickstart","Make your first requests to the Totem API in a few minutes. Check your key, find your team, list leads and start a sync.",{"path":491,"title":492,"description":493},"\u002Fdevelopers\u002Fauthentication","Authentication","Secret keys and where they may live, the Totem-Team header for keys with several teams, IP allowlists, and how to roll or revoke a key.",{"section":473,"items":495},[496,498,502,506,507,510,514,518,522],{"path":446,"title":447,"description":497},"Use the official server-side TypeScript client for typed Totem requests, explicit business actions, pagination and safe outcome handling.",{"path":499,"title":500,"description":501},"\u002Fdevelopers\u002Fsync","Keep a copy in sync","Copy a team with the changes feed and keep the copy current. Apply pages safely, recover from errors, and start from a reference client that Totem tests.",{"path":503,"title":504,"description":505},"\u002Fdevelopers\u002Fpagination","Lists and pagination","How list endpoints return records a page at a time, how to read every page, and what order and filters a list supports.",{"path":471,"title":6,"description":464},{"path":450,"title":508,"description":509},"n8n","Connect a self-hosted n8n workflow to the Totem API with the public Totem Studio node and a saved API credential.",{"path":511,"title":512,"description":513},"\u002Fdevelopers\u002Fhighlevel","HighLevel connection","Connect CRM and use authorized Totem workflow actions and events in HighLevel, with separate permissions and clear release status.",{"path":515,"title":516,"description":517},"\u002Fdevelopers\u002Fcoverage","Data coverage","What Totem records, since when, and how to tell an empty value from a fact that was never recorded.",{"path":519,"title":520,"description":521},"\u002Fdevelopers\u002Ftesting","Testing and go-live","How to build and test an integration safely while the API has no test environment, and what to check before you go live.",{"path":523,"title":524,"description":525},"\u002Fdevelopers\u002Fsecurity","Security and personal data","How Totem protects API keys and the data the API serves, what it records about each key, where the API runs, and what to do with the personal data you copy.",{"section":527,"items":528},"reference",[529,533,537,541,546,550,555,560,565,570,575,580,585,590,595,600,605,610],{"path":530,"title":531,"description":532},"\u002Fdevelopers\u002Fconventions","Conventions","The notation these docs use, and the rules every response follows: ids, timestamps, empty values, amounts, enums, versions, stability, errors and untrusted text.",{"path":534,"title":535,"description":536},"\u002Fdevelopers\u002Ferrors","Errors","The error format, how your integration should handle each kind of error, and every error code with when it happens and what to do.",{"path":538,"title":539,"description":540},"\u002Fdevelopers\u002Frate-limits","Rate limits","How much a key can read per minute and per day, what counts toward each limit, how to retry after a 429, and how long an initial sync takes.",{"path":542,"title":543,"description":544,"apiTag":545},"\u002Fdevelopers\u002Freference-account","Account, teams and members","Check that a key works and what it can read, list its teams with their time zones, list each team's members, and check that the API is up.","account",{"path":174,"title":547,"description":548,"apiTag":549},"Leads, boards and activities","List, fetch and search a team's leads and clients, read each lead's activities, and list the boards and stages they move through.","leads",{"path":551,"title":552,"description":553,"apiTag":554},"\u002Fdevelopers\u002Freference-calls","Calls","List and fetch a team's calls, with their direction, timing and a normalized outcome. Separate permissions control transcripts, recordings and outgoing calls.","calls",{"path":556,"title":557,"description":558,"apiTag":559},"\u002Fdevelopers\u002Freference-conversations","Conversations","List and fetch a team's conversations on every channel, with their status, assignee, whether a person has taken them over and when the last messages came and went. Separate permissions control message content and delivery.","conversations",{"path":561,"title":562,"description":563,"apiTag":564},"\u002Fdevelopers\u002Freference-bookings","Bookings and services","List and fetch a team's bookings, and list the services its customers can book.","bookings",{"path":566,"title":567,"description":568,"apiTag":569},"\u002Fdevelopers\u002Freference-decisions","Decision requests","Ask named people on the team to approve something or take a job, with a deadline, and react to the outcome.","decision_requests",{"path":571,"title":572,"description":573,"apiTag":574},"\u002Fdevelopers\u002Freference-notifications","Notifications","Read your team's business alerts, including requests to call a lead, and keep them in sync with your CRM.","notifications",{"path":576,"title":577,"description":578,"apiTag":579},"\u002Fdevelopers\u002Freference-tasks","Tasks","Create and complete team tasks with explicit write permission.","tasks",{"path":581,"title":582,"description":583,"apiTag":584},"\u002Fdevelopers\u002Freference-operations","Operations","Observe an accepted asynchronous action and request cancellation safely.","operations",{"path":586,"title":587,"description":588,"apiTag":589},"\u002Fdevelopers\u002Freference-knowledge","Knowledge","Retrieve bounded passages from the selected team's indexed knowledge with explicit content access.","knowledge",{"path":591,"title":592,"description":593,"apiTag":594},"\u002Fdevelopers\u002Freference-assistants","Published assistants","Discover and run current published assistants without exporting their instructions.","assistants",{"path":596,"title":597,"description":598,"apiTag":599},"\u002Fdevelopers\u002Freference-sync","Changes feed","One endpoint that copies a team and then returns every change, page by page.","sync",{"path":601,"title":602,"description":603,"apiTag":604},"\u002Fdevelopers\u002Freference-library","Library and attachments","Discover permitted Library entries, review their revisions and deliver them through current channels.","library",{"path":606,"title":607,"description":608,"apiTag":609},"\u002Fdevelopers\u002Freference-catalog","Catalog","Search published products and send reviewed variants with current availability and prices.","catalog",{"path":611,"title":612,"description":613},"\u002Fdevelopers\u002Fobjects","All objects","Every object the API returns, field by field, with an example of each.",{"section":615,"items":616},"resources",[617,620,624,628],{"path":50,"title":618,"description":619},"Changelog","Changes to the Totem API, newest first, each under the date it shipped.",{"path":621,"title":622,"description":623},"\u002Fdevelopers\u002Fsupport","Support","How to get help with the Totem API, what to include in a request, and what to do if a key leaks.",{"path":625,"title":626,"description":627},"\u002Fdevelopers\u002Fglossary","Glossary","The terms these docs use, defined in one place, each with a link to the page that explains it.",{"path":629,"title":630,"description":631},"\u002Fdevelopers\u002Ffaq","FAQ","Short answers to the questions developers ask most about the Totem API, with links to the details.","\u002Fdevelopers\u002Fes\u002Fcrm-writes",{"ACTIVATION_MARGIN_MS":634,"ADMIN_ACCESS_DISCLOSURE_VERSION":635,"AUDIT_RETENTION_DAYS":636,"AUTH_FAILURE_LIMITS":637,"CAPTURE_LAG_FLOOR_MS":641,"CAPTURE_LAG_P99_MS":7,"CURSOR_MAX_AGE_DAYS":642,"DIRTY_TTL_DAYS":642,"FAMILY_TEAM_SCOPE":643,"FAMILY_TEAM_SCOPE_OPTIONS":644,"FEED_SETTLE_LAG_MS":646,"GATE_REFRESH_MS":634,"INTEGRATION_NAME_LENGTH":647,"INTEGRATION_PURPOSE_LENGTH":649,"KEY_CACHE_TTL_MS":652,"KEY_STATS_RETENTION_DAYS":653,"LEAD_RESPONSE_READ_BUDGET":654,"LIST_SCAN_MAX":657,"MAX_FAMILY_INTEGRATION_TEAMS":642,"MAX_INTEGRATIONS_PER_FAMILY":658,"MAX_IP_ALLOWLIST":639,"PAGE_LIMIT":659,"PLATFORM_CONFIG_TTL_MS":662,"REMOVAL_RETENTION_DAYS":663,"REQUEST_BODY_MAX_BYTES":664,"ROLL_GRACE_DEFAULT_HOURS":665,"ROLL_GRACE_HOURS":666,"SEARCH_MAX_RESULTS":658,"SENSITIVE_SECTOR_POLICY":669,"SENSITIVE_SECTOR_POLICY_OPTIONS":670,"SYNC_DAILY_BUDGET":672,"SYNC_VELOCITY":674,"TEAM_CACHE_TTL_MS":676},60000,"2026-10-17",365,{"perIpPerMinute":638,"perLookupIdPerMinute":639,"banMs":640},60,20,600000,300000,30,"explicit_list",[643,645],"all_family_teams",10000,{"min":457,"max":648},80,{"min":650,"max":651},1,280,5000,90,{"conversations":639,"messageReads":655,"calls":656},200,50,1000,10,{"default":660,"max":661},25,100,15000,45,131072,24,[667,650,665,668],0,168,"exclude",[669,671],"allow",{"floor":673,"recordsMultiplier":454},250000,{"perMinute":675,"burst":646},2000,30000,"1.0.0","guide",[680,681,682,683,684,685,686],{"id":56,"text":57,"depth":457},{"id":184,"text":185,"depth":457},{"id":279,"text":280,"depth":457},{"id":319,"text":320,"depth":457},{"id":362,"text":363,"depth":457},{"id":384,"text":385,"depth":457},{"id":408,"text":409,"depth":457},{"path":503,"title":504,"section":473},{"path":450,"title":508,"section":473},[],1796395410166,"6ece8729-dc31-4887-85ce-5a18e6f853a8"]