[{"data":1,"prerenderedAt":1057,"buildId":1058},["ShallowReactive",2],{"developers:\u002Fdevelopers\u002Freference-notifications":3},{"doc":4,"lang":250,"nav":262,"alternatePath":417,"policy":418,"specVersion":462,"reference":463,"layout":257,"toc":1042,"prev":1051,"next":1052,"operations":1053,"overview":252,"heroExample":252},{"id":5,"title":6,"apiTag":7,"body":8,"description":247,"draft":248,"extension":249,"lang":250,"meta":251,"navTitle":252,"navigation":253,"order":254,"path":255,"rawbody":256,"section":257,"seo":258,"stem":259,"translationKey":260,"version":252,"__hash__":261},"developers_en\u002Fdevelopers\u002Freference-notifications.md","Notifications","notifications",{"type":9,"value":10,"toc":239},"minimark",[11,16,34,86,93,98,179,183,189,192,202,224],[12,13,15],"h2",{"id":14},"overview","Overview",[17,18,19,20,24,25,29,30,33],"p",{},"A ",[21,22,23],"strong",{},"notification"," is a business alert for the team, such as a request to call a lead. It carries the alert's ",[26,27,28],"code",{},"summary",", its status and source, and links to a lead, call or conversation when available. Its id starts with ",[26,31,32],{},"ntf_",".",[17,35,36,37,44,45,51,52,55,56,59,60,63,64,67,68,70,71,74,75,63,78,81,82,85],{},"Use ",[38,39,41],"a",{"href":40},"\u002Fdevelopers\u002Freference-notifications#notifications.list",[26,42,43],{},"GET \u002Fv1\u002Fnotifications"," to list a team's notifications and ",[38,46,48],{"href":47},"\u002Fdevelopers\u002Freference-notifications#notifications.get",[26,49,50],{},"GET \u002Fv1\u002Fnotifications\u002F{id}"," to fetch one. Lists take ",[26,53,54],{},"limit"," and ",[26,57,58],{},"cursor",", plus at most one filter: ",[26,61,62],{},"lead"," or ",[26,65,66],{},"status",". ",[26,69,66],{}," is ",[26,72,73],{},"new",", ",[26,76,77],{},"read",[26,79,80],{},"archived",", or ",[26,83,84],{},"null"," for an unknown stored value. Without a status filter the list includes every exported status, including archived alerts. The status is the shared state in Totem, not an acknowledgement from your integration. The API cannot mark a notification as read or archived.",[17,87,88,89,92],{},"The existing ",[26,90,91],{},"crm:read"," permission covers notifications; existing keys need no extra permission. A key has the same administrator-level team access as for leads, including business alerts addressed to a department or person. Personal private notes, technical alerts and errors are excluded. A linked source that has disappeared or been erased makes its notification unavailable, even if the alert remains in Totem's history. Apply notification removals from the changes feed to your copy.",[94,95,97],"h3",{"id":96},"notification-fields","Notification fields",[99,100,101,110,134,147,159],"ul",{},[102,103,104,106,107,109],"li",{},[26,105,28],{}," is the business alert text. It is ",[26,108,84],{}," when empty and is limited to 10,000 characters. Treat it as personal data and untrusted plain text. It is the API's explicit exception for free-text content: the stored alert text can include a source summary already copied into the card, such as an existing call summary added to a missed-transfer alert. The API does not independently retrieve messages, transcripts, call summaries or lead notes to compose it.",[102,111,112,70,115,74,118,74,121,74,124,63,127,130,131,133],{},[26,113,114],{},"source",[26,116,117],{},"call",[26,119,120],{},"chat",[26,122,123],{},"reminder",[26,125,126],{},"task",[26,128,129],{},"manual",". Older records with no source read as ",[26,132,129],{},"; unsupported sources are not exported.",[102,135,136,74,138,55,140,143,144,146],{},[26,137,62],{},[26,139,117],{},[26,141,142],{},"conversation"," are public ids or ",[26,145,84],{},". Resolve the lead to obtain its contact details; do not infer them from the summary. Older notifications can lack links.",[102,148,149,70,152,155,156,158],{},[26,150,151],{},"handoff_reason",[26,153,154],{},"missed_team_appointment"," when Totem recorded that reason, otherwise ",[26,157,84],{},". A general request to speak to a person has no guaranteed reason code: the alert's summary states what the person asked.",[102,160,161,164,165,167,168,55,171,174,175,33],{},[26,162,163],{},"created_at"," is when the alert was created, or ",[26,166,84],{}," when not recorded. ",[26,169,170],{},"version",[26,172,173],{},"updated_at"," follow the ",[38,176,178],{"href":177},"\u002Fdevelopers\u002Fconventions#record-versions","usual record rules",[12,180,182],{"id":181},"send-a-callback-request-to-your-crm","Send a callback request to your CRM",[17,184,185,186,188],{},"Configure the assistant to notify the team when someone asks to speak to a person. Your server reads the notification, follows ",[26,187,62],{}," to the contact, and creates a task or alert through your CRM's API. Totem does not create that external task for you.",[17,190,191],{},"For a lookup of alerts that are currently new:",[193,194,200],"pre",{"className":195,"code":197,"language":198,"meta":199},[196],"language-bash","curl \"https:\u002F\u002Fapi.totemstudio.ai\u002Fv1\u002Fnotifications?status=new&limit=100\" \\\n  -H \"Authorization: Bearer $TOTEM_API_KEY\" \\\n  -H \"Totem-Team: $TOTEM_TEAM_ID\"\n","bash","",[26,201,197],{"__ignoreMap":199},[17,203,204,205,211,212,215,216,219,220,63,222,33],{},"For reliable ongoing delivery, poll ",[38,206,208],{"href":207},"\u002Fdevelopers\u002Freference-sync#sync.changes",[26,209,210],{},"GET \u002Fv1\u002Fsync\u002Fchanges"," every 1 to 5 minutes and handle ",[26,213,214],{},"kind: \"notification\"",", including updates and removals. Polling only ",[26,217,218],{},"status=new"," can miss an alert that somebody reads before your next request. The feed includes its current state even when that state is already ",[26,221,77],{},[26,223,80],{},[17,225,226,227,230,231,233,234,238],{},"Keep a mapping from the notification's ",[26,228,229],{},"id"," to the task in your CRM, so a replay or a higher ",[26,232,170],{}," updates the same task instead of creating another. Apply the page before saving its cursor, and handle removals as ",[38,235,237],{"href":236},"\u002Fdevelopers\u002Fsync","Keep a copy in sync"," explains. Use your own stored processing state; the Totem status cannot acknowledge your CRM's work. A notification does not override the lead's contact permissions.",{"title":199,"searchDepth":240,"depth":240,"links":241},3,[242,246],{"id":14,"depth":243,"text":15,"children":244},2,[245],{"id":96,"depth":240,"text":97},{"id":181,"depth":243,"text":182},"Read your team's business alerts, including requests to call a lead, and keep them in sync with your CRM.",false,"md","en",{},null,true,"85","\u002Fdevelopers\u002Freference-notifications","---\ntitle: Notifications\ndescription: Read your team's business alerts, including requests to call a lead, and keep them in sync with your CRM.\nsection: reference\norder: 85\ntranslationKey: reference-notifications\nlang: en\ndraft: false\napiTag: notifications\n---\n\n## Overview\n\nA **notification** is a business alert for the team, such as a request to call a lead. It carries the alert's `summary`, its status and source, and links to a lead, call or conversation when available. Its id starts with `ntf_`.\n\nUse [`GET \u002Fv1\u002Fnotifications`](\u002Fdevelopers\u002Freference-notifications#notifications.list) to list a team's notifications and [`GET \u002Fv1\u002Fnotifications\u002F{id}`](\u002Fdevelopers\u002Freference-notifications#notifications.get) to fetch one. Lists take `limit` and `cursor`, plus at most one filter: `lead` or `status`. `status` is `new`, `read` or `archived`, or `null` for an unknown stored value. Without a status filter the list includes every exported status, including archived alerts. The status is the shared state in Totem, not an acknowledgement from your integration. The API cannot mark a notification as read or archived.\n\nThe existing `crm:read` permission covers notifications; existing keys need no extra permission. A key has the same administrator-level team access as for leads, including business alerts addressed to a department or person. Personal private notes, technical alerts and errors are excluded. A linked source that has disappeared or been erased makes its notification unavailable, even if the alert remains in Totem's history. Apply notification removals from the changes feed to your copy.\n\n### Notification fields\n\n- `summary` is the business alert text. It is `null` when empty and is limited to 10,000 characters. Treat it as personal data and untrusted plain text. It is the API's explicit exception for free-text content: the stored alert text can include a source summary already copied into the card, such as an existing call summary added to a missed-transfer alert. The API does not independently retrieve messages, transcripts, call summaries or lead notes to compose it.\n- `source` is `call`, `chat`, `reminder`, `task` or `manual`. Older records with no source read as `manual`; unsupported sources are not exported.\n- `lead`, `call` and `conversation` are public ids or `null`. Resolve the lead to obtain its contact details; do not infer them from the summary. Older notifications can lack links.\n- `handoff_reason` is `missed_team_appointment` when Totem recorded that reason, otherwise `null`. A general request to speak to a person has no guaranteed reason code: the alert's summary states what the person asked.\n- `created_at` is when the alert was created, or `null` when not recorded. `version` and `updated_at` follow the [usual record rules](\u002Fdevelopers\u002Fconventions#record-versions).\n\n## Send a callback request to your CRM\n\nConfigure the assistant to notify the team when someone asks to speak to a person. Your server reads the notification, follows `lead` to the contact, and creates a task or alert through your CRM's API. Totem does not create that external task for you.\n\nFor a lookup of alerts that are currently new:\n\n```bash\ncurl \"https:\u002F\u002Fapi.totemstudio.ai\u002Fv1\u002Fnotifications?status=new&limit=100\" \\\n  -H \"Authorization: Bearer $TOTEM_API_KEY\" \\\n  -H \"Totem-Team: $TOTEM_TEAM_ID\"\n```\n\nFor reliable ongoing delivery, poll [`GET \u002Fv1\u002Fsync\u002Fchanges`](\u002Fdevelopers\u002Freference-sync#sync.changes) every 1 to 5 minutes and handle `kind: \"notification\"`, including updates and removals. Polling only `status=new` can miss an alert that somebody reads before your next request. The feed includes its current state even when that state is already `read` or `archived`.\n\nKeep a mapping from the notification's `id` to the task in your CRM, so a replay or a higher `version` updates the same task instead of creating another. Apply the page before saving its cursor, and handle removals as [Keep a copy in sync](\u002Fdevelopers\u002Fsync) explains. Use your own stored processing state; the Totem status cannot acknowledge your CRM's work. A notification does not override the lead's contact permissions.\n","reference",{"title":6,"description":247},"developers\u002Freference-notifications","reference-notifications","kaO-B7FJGn7YZhPJpQXcH16vYf3Zr6RGRt4Pkh4OKKc",[263,277,314,398],{"section":264,"items":265},"start",[266,269,273],{"path":267,"title":15,"description":268},"\u002Fdevelopers","Read CRM data and run authorized Totem actions with explicit permissions, private-content grants and observable operation results.",{"path":270,"title":271,"description":272},"\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":274,"title":275,"description":276},"\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":278,"items":279},"guides",[280,284,286,290,294,298,302,306,310],{"path":281,"title":282,"description":283},"\u002Fdevelopers\u002Ftypescript","TypeScript SDK","Use the official server-side TypeScript client for typed Totem requests, explicit business actions, pagination and safe outcome handling.",{"path":236,"title":237,"description":285},"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":287,"title":288,"description":289},"\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":291,"title":292,"description":293},"\u002Fdevelopers\u002Fcrm-writes","CRM writes and notes","Import and update CRM leads, record opt-outs, archive leads and synchronize notes with explicit permissions, conditional versions and safe retries.",{"path":295,"title":296,"description":297},"\u002Fdevelopers\u002Fn8n","n8n","Connect a self-hosted n8n workflow to the Totem API with the public Totem Studio node and a saved API credential.",{"path":299,"title":300,"description":301},"\u002Fdevelopers\u002Fhighlevel","HighLevel connection","Connect CRM and use authorized Totem workflow actions and events in HighLevel, with separate permissions and clear release status.",{"path":303,"title":304,"description":305},"\u002Fdevelopers\u002Fcoverage","Data coverage","What Totem records, since when, and how to tell an empty value from a fact that was never recorded.",{"path":307,"title":308,"description":309},"\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":311,"title":312,"description":313},"\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":257,"items":315},[316,320,324,328,333,338,343,348,353,358,359,364,369,374,379,384,389,394],{"path":317,"title":318,"description":319},"\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":321,"title":322,"description":323},"\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":325,"title":326,"description":327},"\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":329,"title":330,"description":331,"apiTag":332},"\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":334,"title":335,"description":336,"apiTag":337},"\u002Fdevelopers\u002Freference-leads","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":339,"title":340,"description":341,"apiTag":342},"\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":344,"title":345,"description":346,"apiTag":347},"\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":349,"title":350,"description":351,"apiTag":352},"\u002Fdevelopers\u002Freference-bookings","Bookings and services","List and fetch a team's bookings, and list the services its customers can book.","bookings",{"path":354,"title":355,"description":356,"apiTag":357},"\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":255,"title":6,"description":247,"apiTag":7},{"path":360,"title":361,"description":362,"apiTag":363},"\u002Fdevelopers\u002Freference-tasks","Tasks","Create and complete team tasks with explicit write permission.","tasks",{"path":365,"title":366,"description":367,"apiTag":368},"\u002Fdevelopers\u002Freference-operations","Operations","Observe an accepted asynchronous action and request cancellation safely.","operations",{"path":370,"title":371,"description":372,"apiTag":373},"\u002Fdevelopers\u002Freference-knowledge","Knowledge","Retrieve bounded passages from the selected team's indexed knowledge with explicit content access.","knowledge",{"path":375,"title":376,"description":377,"apiTag":378},"\u002Fdevelopers\u002Freference-assistants","Published assistants","Discover and run current published assistants without exporting their instructions.","assistants",{"path":380,"title":381,"description":382,"apiTag":383},"\u002Fdevelopers\u002Freference-sync","Changes feed","One endpoint that copies a team and then returns every change, page by page.","sync",{"path":385,"title":386,"description":387,"apiTag":388},"\u002Fdevelopers\u002Freference-library","Library and attachments","Discover permitted Library entries, review their revisions and deliver them through current channels.","library",{"path":390,"title":391,"description":392,"apiTag":393},"\u002Fdevelopers\u002Freference-catalog","Catalog","Search published products and send reviewed variants with current availability and prices.","catalog",{"path":395,"title":396,"description":397},"\u002Fdevelopers\u002Fobjects","All objects","Every object the API returns, field by field, with an example of each.",{"section":399,"items":400},"resources",[401,405,409,413],{"path":402,"title":403,"description":404},"\u002Fdevelopers\u002Fchangelog","Changelog","Changes to the Totem API, newest first, each under the date it shipped.",{"path":406,"title":407,"description":408},"\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":410,"title":411,"description":412},"\u002Fdevelopers\u002Fglossary","Glossary","The terms these docs use, defined in one place, each with a link to the page that explains it.",{"path":414,"title":415,"description":416},"\u002Fdevelopers\u002Ffaq","FAQ","Short answers to the questions developers ask most about the Totem API, with links to the details.","\u002Fdevelopers\u002Fes\u002Freference-notifications",{"ACTIVATION_MARGIN_MS":419,"ADMIN_ACCESS_DISCLOSURE_VERSION":420,"AUDIT_RETENTION_DAYS":421,"AUTH_FAILURE_LIMITS":422,"CAPTURE_LAG_FLOOR_MS":426,"CAPTURE_LAG_P99_MS":252,"CURSOR_MAX_AGE_DAYS":427,"DIRTY_TTL_DAYS":427,"FAMILY_TEAM_SCOPE":428,"FAMILY_TEAM_SCOPE_OPTIONS":429,"FEED_SETTLE_LAG_MS":431,"GATE_REFRESH_MS":419,"INTEGRATION_NAME_LENGTH":432,"INTEGRATION_PURPOSE_LENGTH":434,"KEY_CACHE_TTL_MS":437,"KEY_STATS_RETENTION_DAYS":438,"LEAD_RESPONSE_READ_BUDGET":439,"LIST_SCAN_MAX":442,"MAX_FAMILY_INTEGRATION_TEAMS":427,"MAX_INTEGRATIONS_PER_FAMILY":443,"MAX_IP_ALLOWLIST":424,"PAGE_LIMIT":444,"PLATFORM_CONFIG_TTL_MS":447,"REMOVAL_RETENTION_DAYS":448,"REQUEST_BODY_MAX_BYTES":449,"ROLL_GRACE_DEFAULT_HOURS":450,"ROLL_GRACE_HOURS":451,"SEARCH_MAX_RESULTS":443,"SENSITIVE_SECTOR_POLICY":454,"SENSITIVE_SECTOR_POLICY_OPTIONS":455,"SYNC_DAILY_BUDGET":457,"SYNC_VELOCITY":459,"TEAM_CACHE_TTL_MS":461},60000,"2026-10-17",365,{"perIpPerMinute":423,"perLookupIdPerMinute":424,"banMs":425},60,20,600000,300000,30,"explicit_list",[428,430],"all_family_teams",10000,{"min":243,"max":433},80,{"min":435,"max":436},1,280,5000,90,{"conversations":424,"messageReads":440,"calls":441},200,50,1000,10,{"default":445,"max":446},25,100,15000,45,131072,24,[452,435,450,453],0,168,"exclude",[454,456],"allow",{"floor":458,"recordsMultiplier":240},250000,{"perMinute":460,"burst":431},2000,30000,"1.0.0",{"operations":464,"schemas":813,"errors":885,"commonErrors":1038,"defaultStability":471,"policy":418,"problemExample":1039},[465,563,736],{"id":466,"method":467,"path":468,"summary":469,"description":470,"stability":471,"scopes":472,"rateClass":383,"tenantBinding":473,"authenticated":253,"parameters":474,"parametersByLocation":501,"body":505,"bodyDescription":199,"responseFields":506,"responseComponent":532,"listOf":521,"example":533,"successStatus":440,"pathExamples":543,"errors":544,"tag":7},"notifications.list","GET","\u002Fv1\u002Fnotifications","List notifications","Returns a page of business notifications with their summary and linked records; pass either `lead` or `status` to filter. Personal notes, technical alerts and notices whose linked source was erased are excluded. Reading never marks notices read; use the changes feed for updates and removals.","stable",[91],"team_header",[475,480,485,490,494],{"name":54,"type":476,"required":248,"description":477,"nullable":248,"typeLabel":476,"constraints":478,"location":479},"integer","Items per page, 1–100. Defaults to 25.",{"minimum":435,"maximum":446,"default":445},"query",{"name":58,"type":481,"required":248,"description":482,"nullable":248,"typeLabel":481,"constraints":483,"location":479},"string","The `next_cursor` of the previous page. Omit it for the first page.",{"minLength":435,"maxLength":484},512,{"name":62,"type":481,"required":248,"description":486,"nullable":248,"typeLabel":481,"constraints":487,"location":479},"Only the notifications linked to this lead: every item's `lead` is this id. A lead of another team, or one that does not exist, matches nothing.",{"prefixes":488},[489],"lead_",{"name":66,"type":491,"required":248,"description":492,"nullable":248,"typeLabel":481,"enumValues":493,"location":479},"\"new\" | \"read\" | \"archived\"","Only notices with this status. At most one of `lead` and `status`.",[73,77,80],{"name":495,"type":481,"required":248,"description":496,"nullable":248,"typeLabel":481,"constraints":497,"conditional":253,"location":500},"Totem-Team","The team to read, as a `team_…` id. Omit it when the key reads one team; it is required when the key reads several (`400 team_required`). When you send it, it must name a team the key reads: a malformed id gets `400 invalid_request`, and a team outside the key gets `404 team_not_accessible`, as does a request without it once the key reads no team at all.",{"prefixes":498},[499],"team_","header",{"path":502,"query":503,"header":504},[],[475,480,485,490],[494],[],[507,513,524,528],{"name":508,"type":509,"required":253,"description":510,"nullable":248,"typeLabel":481,"enumValues":511,"constant":253},"object","\"list\"","Always `list`.",[512],"list",{"name":514,"type":515,"required":253,"description":516,"nullable":248,"typeLabel":515,"typeTokens":517,"ref":521},"data","Array\u003CNotification>","The items of this page.",[518,520,522],{"text":519},"Array\u003C",{"text":521,"ref":521},"Notification",{"text":523},">",{"name":525,"type":526,"required":253,"description":527,"nullable":248,"typeLabel":526},"has_more","boolean","`true` when another page follows: fetch it with `next_cursor`, even if this page holds fewer items than `limit`.",{"name":529,"type":530,"required":253,"description":531,"nullable":253,"typeLabel":481},"next_cursor","string | null","Opaque cursor for the next page, or null on the last page. Never parse it.","NotificationList",{"object":512,"data":534,"has_more":248,"next_cursor":252},[535],{"id":536,"object":23,"livemode":248,"team":537,"lead":538,"call":252,"conversation":539,"summary":540,"status":73,"source":120,"handoff_reason":252,"created_at":541,"version":435,"updated_at":542},"ntf_m3mtwDFyaDSKmhf9rg7Ps201S8Jc4","team_r9uYrIW4gSFJJ6hZQ9ip1UIpPaAD1CF7NR","lead_r72EfbRNUzuqORFJR0O8HxAwEXd93jGUTYMaMMXKSF0QbLS8CiUKJpEP34LFQG","conv_m3GhGjRHmFbww1g10oqOp7j3gWqPJ","Alex requests a call from a person about the appointment.","2026-10-01T08:58:00.000Z","2026-10-01T08:58:30.000Z",{},[545,546,547,548,549,550,551,552,553,554,555,556,557,558,559,560,561,562],"invalid_request","secret_key_in_browser","invalid_credentials","key_expired","insufficient_scope","plan_not_entitled","ip_not_allowed","capability_disabled","rate_limited","internal_error","api_disabled","service_unavailable","team_required","team_not_accessible","team_state_restricted","sector_restricted","capture_not_ready","quota_exceeded",{"id":564,"method":565,"path":468,"summary":566,"description":567,"stability":471,"scopes":568,"rateClass":570,"tenantBinding":473,"authenticated":253,"parameters":571,"parametersByLocation":581,"body":585,"bodyDescription":615,"responseFields":616,"responseComponent":726,"listOf":252,"example":727,"successStatus":730,"pathExamples":731,"errors":732,"tag":7},"notifications.create","POST","Create a team notification","Accepts an ordinary business notification as a durable operation; the server validates current lead ownership, routing and recipient access before saving the card and its existing delivery outboxes together. Exact recent chat alerts may merge without a second delivery. Reuse the same Idempotency-Key after an uncertain acknowledgement; technical\u002Fsystem alerts remain private.",[569],"notifications:write","write",[572,575],{"name":495,"type":481,"required":248,"description":496,"nullable":248,"typeLabel":481,"constraints":573,"conditional":253,"location":500},{"prefixes":574},[499],{"name":576,"type":481,"required":253,"description":577,"nullable":248,"typeLabel":481,"constraints":578,"location":500},"Idempotency-Key","One unique visible-ASCII key per logical write; reuse exactly on retries and never retry outcome_unknown automatically.",{"pattern":579,"minLength":435,"maxLength":580},"^[\\x21-\\x7e]+$",255,{"path":582,"query":583,"header":584},[],[],[572,575],[586,590,594,599,604,607,611],{"name":587,"type":481,"required":253,"description":588,"nullable":248,"typeLabel":481,"constraints":589},"note","Business notification text, up to 5,000 characters; it must not be blank.",{"minLength":435,"maxLength":437},{"name":591,"type":481,"required":248,"description":592,"nullable":248,"typeLabel":481,"constraints":593},"title","Optional notification delivery title.",{"minLength":435,"maxLength":440},{"name":595,"type":481,"required":248,"description":596,"nullable":248,"typeLabel":481,"constraints":597},"lead_id","Optional current lead belonging to the selected team.",{"prefixes":598},[489],{"name":600,"type":481,"required":248,"description":601,"nullable":248,"typeLabel":481,"constraints":602},"department_id","Existing business department routing key. An unavailable department follows the team’s current fallback route.",{"minLength":435,"maxLength":603},128,{"name":605,"type":526,"required":248,"description":606,"nullable":248,"typeLabel":526},"notify","Queue the team’s configured delivery plan; defaults to true. Delivery is not promised by acceptance.",{"name":151,"type":608,"required":248,"description":609,"nullable":248,"typeLabel":481,"enumValues":610,"constant":253},"\"missed_team_appointment\"","Explicit customer report that the team missed a promised call or appointment. Requires notifications:incidents:write; opens a canonical human incident or records an unlinked alert, never attendance or resolution.",[154],{"name":66,"type":612,"required":248,"description":613,"nullable":248,"typeLabel":481,"enumValues":614},"\"new\" | \"archived\"","Initial inbox status; defaults to new.",[73,80],"Create a team notification; the optional missed-appointment report requires its separate explicit incident scope. Phone numbers, channel\u002Fsource identity, recipients, technical errors and operation ids cannot be supplied.",[617,622,627,637,658,663,666,711,715],{"name":508,"type":618,"required":253,"description":619,"nullable":248,"typeLabel":481,"enumValues":620,"constant":253},"\"operation\"","Always operation.",[621],"operation",{"name":229,"type":481,"required":253,"description":623,"nullable":248,"typeLabel":481,"constraints":624},"Opaque durable operation id.",{"prefixes":625},[626],"op_",{"name":66,"type":628,"required":253,"description":629,"nullable":248,"typeLabel":481,"enumValues":630},"\"queued\" | \"running\" | \"succeeded\" | \"failed\" | \"cancelled\" | \"outcome_unknown\"","Durable operation state; outcome_unknown must be reconciled before repeating the effect.",[631,632,633,634,635,636],"queued","running","succeeded","failed","cancelled","outcome_unknown",{"name":638,"type":639,"required":253,"description":640,"nullable":248,"typeLabel":481,"enumValues":641},"endpoint","\"tasks.create\" | \"tasks.complete\" | \"notifications.create\" | \"decision_requests.create\" | \"decision_requests.cancel\" | \"bookings.create\" | \"bookings.cancel\" | \"bookings.reschedule\" | \"bookingPayments.sendLink\" | \"messages.send\" | \"messages.requestInfo\" | \"messages.prepareReply\" | \"calls.start\" | \"library.send\" | \"catalog.send\" | \"quotes.recordOutcome\" | \"assistants.run\"","The original endpoint executed by this operation.",[642,643,564,644,645,646,647,648,649,650,651,652,653,654,655,656,657],"tasks.create","tasks.complete","decision_requests.create","decision_requests.cancel","bookings.create","bookings.cancel","bookings.reschedule","bookingPayments.sendLink","messages.send","messages.requestInfo","messages.prepareReply","calls.start","library.send","catalog.send","quotes.recordOutcome","assistants.run",{"name":163,"type":659,"required":253,"description":660,"nullable":248,"typeLabel":481,"constraints":661},"string (date-time)","When this operation was accepted, in UTC.",{"format":662},"date-time",{"name":173,"type":659,"required":253,"description":664,"nullable":248,"typeLabel":481,"constraints":665},"When its current state was recorded, in UTC.",{"format":662},{"name":667,"type":668,"required":253,"description":669,"nullable":253,"typeLabel":670,"typeTokens":671},"result","TaskReceipt | NotificationReceipt | DecisionRequestReceipt | BookingReceipt | BookingPaymentReceipt | MessageReceipt | RequestedInfoReceipt | FirstReplyReceipt | CallStartReceipt | QuoteOutcomeReceipt | AssistantRunReceipt | LibraryDeliveryReceipt | CatalogSendReceipt | null","Minimal public resource receipt after success, otherwise null.","TaskReceipt | NotificationReceipt | DecisionRequestReceipt | BookingReceipt | BookingPaymentReceipt | MessageReceipt | RequestedInfoReceipt | FirstReplyReceipt | CallStartReceipt | QuoteOutcomeReceipt | AssistantRunReceipt | LibraryDeliveryReceipt | CatalogSendReceipt",[672,674,676,678,679,681,682,684,685,687,688,690,691,693,694,696,697,699,700,702,703,705,706,708,709],{"text":673,"ref":673},"TaskReceipt",{"text":675}," | ",{"text":677,"ref":677},"NotificationReceipt",{"text":675},{"text":680,"ref":680},"DecisionRequestReceipt",{"text":675},{"text":683,"ref":683},"BookingReceipt",{"text":675},{"text":686,"ref":686},"BookingPaymentReceipt",{"text":675},{"text":689,"ref":689},"MessageReceipt",{"text":675},{"text":692,"ref":692},"RequestedInfoReceipt",{"text":675},{"text":695,"ref":695},"FirstReplyReceipt",{"text":675},{"text":698,"ref":698},"CallStartReceipt",{"text":675},{"text":701,"ref":701},"QuoteOutcomeReceipt",{"text":675},{"text":704,"ref":704},"AssistantRunReceipt",{"text":675},{"text":707,"ref":707},"LibraryDeliveryReceipt",{"text":675},{"text":710,"ref":710},"CatalogSendReceipt",{"name":712,"type":713,"required":253,"description":714,"nullable":253,"typeLabel":508},"error","object | null","Safe failure information, or null.",{"name":716,"type":717,"required":253,"description":718,"nullable":248,"typeLabel":481,"enumValues":719},"error.code","\"authorization_failed\" | \"configuration_missing\" | \"input_expired\" | \"invalid_input\" | \"resource_missing\" | \"execution_failed\" | \"outcome_unknown\"","Closed failure code without provider text, task content or credentials.",[720,721,722,723,724,725,636],"authorization_failed","configuration_missing","input_expired","invalid_input","resource_missing","execution_failed","Operation",{"object":621,"id":728,"status":631,"endpoint":564,"created_at":729,"updated_at":729,"result":252,"error":252},"op_m3yGe1tkVy6hn3m9LH9m7e640wg0O","2026-10-01T09:30:00.000Z",202,{},[545,546,547,548,549,550,551,552,553,554,555,556,557,558,559,560,561,733,734,735,636,562],"idempotency_key_required","idempotency_key_reused","idempotency_in_progress",{"id":737,"method":467,"path":738,"summary":739,"description":740,"stability":471,"scopes":741,"rateClass":77,"tenantBinding":742,"authenticated":253,"parameters":743,"parametersByLocation":749,"body":753,"bodyDescription":199,"responseFields":754,"responseComponent":521,"listOf":252,"example":810,"successStatus":440,"pathExamples":811,"errors":812,"tag":7},"notifications.get","\u002Fv1\u002Fnotifications\u002F{id}","Get a notification","Returns one business notification by its opaque id, including its summary. A foreign, personal, excluded or removed notice answers `404 resource_missing`. This endpoint never changes its status.",[91],"resource_id",[744],{"name":229,"type":481,"required":253,"description":745,"nullable":248,"typeLabel":481,"constraints":746,"location":748},"The notification's public id.",{"prefixes":747},[32],"path",{"path":750,"query":751,"header":752},[744],[],[],[],[755,759,763,766,771,775,780,785,788,792,796,800,804,807],{"name":229,"type":481,"required":253,"description":756,"nullable":248,"typeLabel":481,"constraints":757},"Public id of the record.",{"prefixes":758},[32],{"name":508,"type":760,"required":253,"description":761,"nullable":248,"typeLabel":481,"enumValues":762,"constant":253},"\"notification\"","Always `notification`.",[23],{"name":764,"type":526,"required":253,"description":765,"nullable":248,"typeLabel":526},"livemode","`true` for real data; `false` in example data.",{"name":767,"type":481,"required":253,"description":768,"nullable":248,"typeLabel":481,"constraints":769},"team","The team this record belongs to.",{"prefixes":770},[499],{"name":62,"type":530,"required":253,"description":772,"nullable":253,"typeLabel":481,"constraints":773},"The associated lead, or null when none is linked or its public id is not captured yet.",{"prefixes":774},[489],{"name":117,"type":530,"required":253,"description":776,"nullable":253,"typeLabel":481,"constraints":777},"The associated call, or null.",{"prefixes":778},[779],"call_",{"name":142,"type":530,"required":253,"description":781,"nullable":253,"typeLabel":481,"constraints":782},"The associated conversation, or null.",{"prefixes":783},[784],"conv_",{"name":28,"type":530,"required":253,"description":786,"nullable":253,"typeLabel":481,"constraints":787},"The stored business notification text, trimmed and limited to 10,000 characters; null when blank. It can contain personal data and a source summary already copied into the notice. The API does not independently read or export message content, transcripts, call summaries, lead notes or technical errors.",{"maxLength":431},{"name":66,"type":789,"required":253,"description":790,"nullable":253,"typeLabel":481,"enumValues":791},"\"new\" | \"read\" | \"archived\" | null","`new`, `read` or `archived`; null for an unknown stored status. Reading the API never marks a notice read.",[73,77,80],{"name":114,"type":793,"required":253,"description":794,"nullable":248,"typeLabel":481,"enumValues":795},"\"call\" | \"chat\" | \"reminder\" | \"task\" | \"manual\"","The business source: call, chat, reminder, task or manual (also used for an absent source). Unknown and technical sources are excluded.",[117,120,123,126,129],{"name":151,"type":797,"required":253,"description":798,"nullable":253,"typeLabel":481,"enumValues":799},"\"missed_team_appointment\" | null","The recorded handoff reason, or null. No reason is inferred from the summary.",[154],{"name":163,"type":801,"required":253,"description":802,"nullable":253,"typeLabel":481,"constraints":803},"string (date-time) | null","When the notification was created in Totem (UTC), or null.",{"format":662},{"name":170,"type":476,"required":253,"description":805,"nullable":248,"typeLabel":476,"constraints":806},"Increases every time one of the record's exported fields changes. Apply a change only when its version is greater than the one you hold.",{"minimum":435},{"name":173,"type":659,"required":253,"description":808,"nullable":248,"typeLabel":481,"constraints":809},"When Totem recorded this version (UTC). It is not the time the business event happened.",{"format":662},{"id":536,"object":23,"livemode":248,"team":537,"lead":538,"call":252,"conversation":539,"summary":540,"status":73,"source":120,"handoff_reason":252,"created_at":541,"version":435,"updated_at":542},{"id":536},[545,546,547,548,549,550,551,552,553,554,555,556,724,559,560,561],[814,852],{"name":521,"description":815,"fields":816,"example":849,"variants":850,"sharedFields":851},"A business notification, including its summary and linked lead, call or conversation. Personal notes and technical alerts are excluded.",[817,820,822,823,826,829,832,835,837,839,841,843,845,847],{"name":229,"type":481,"required":253,"description":756,"nullable":248,"typeLabel":481,"constraints":818},{"prefixes":819},[32],{"name":508,"type":760,"required":253,"description":761,"nullable":248,"typeLabel":481,"enumValues":821,"constant":253},[23],{"name":764,"type":526,"required":253,"description":765,"nullable":248,"typeLabel":526},{"name":767,"type":481,"required":253,"description":768,"nullable":248,"typeLabel":481,"constraints":824},{"prefixes":825},[499],{"name":62,"type":530,"required":253,"description":772,"nullable":253,"typeLabel":481,"constraints":827},{"prefixes":828},[489],{"name":117,"type":530,"required":253,"description":776,"nullable":253,"typeLabel":481,"constraints":830},{"prefixes":831},[779],{"name":142,"type":530,"required":253,"description":781,"nullable":253,"typeLabel":481,"constraints":833},{"prefixes":834},[784],{"name":28,"type":530,"required":253,"description":786,"nullable":253,"typeLabel":481,"constraints":836},{"maxLength":431},{"name":66,"type":789,"required":253,"description":790,"nullable":253,"typeLabel":481,"enumValues":838},[73,77,80],{"name":114,"type":793,"required":253,"description":794,"nullable":248,"typeLabel":481,"enumValues":840},[117,120,123,126,129],{"name":151,"type":797,"required":253,"description":798,"nullable":253,"typeLabel":481,"enumValues":842},[154],{"name":163,"type":801,"required":253,"description":802,"nullable":253,"typeLabel":481,"constraints":844},{"format":662},{"name":170,"type":476,"required":253,"description":805,"nullable":248,"typeLabel":476,"constraints":846},{"minimum":435},{"name":173,"type":659,"required":253,"description":808,"nullable":248,"typeLabel":481,"constraints":848},{"format":662},{"id":536,"object":23,"livemode":248,"team":537,"lead":538,"call":252,"conversation":539,"summary":540,"status":73,"source":120,"handoff_reason":252,"created_at":541,"version":435,"updated_at":542},[],[],{"name":677,"description":853,"fields":854,"example":882,"variants":883,"sharedFields":884},"Minimal notification receipt without its content, recipients or internal source references.",[855,860,864,867,871,879],{"name":508,"type":856,"required":253,"description":857,"nullable":248,"typeLabel":481,"enumValues":858,"constant":253},"\"notification_receipt\"","Always notification_receipt.",[859],"notification_receipt",{"name":229,"type":481,"required":253,"description":861,"nullable":248,"typeLabel":481,"constraints":862},"Opaque notification id bound to its team and incarnation.",{"prefixes":863},[32],{"name":865,"type":508,"required":248,"description":866,"nullable":248,"typeLabel":508},"handoff","Present only for an explicitly authorized incident report; it never asserts verified attendance or delivery.",{"name":868,"type":608,"required":253,"description":869,"nullable":248,"typeLabel":481,"enumValues":870,"constant":253},"handoff.reason","The explicit customer-reported incident reason.",[154],{"name":872,"type":873,"required":253,"description":874,"nullable":248,"typeLabel":481,"enumValues":875},"handoff.incident","\"pending_human\" | \"resolved\" | \"lead_missing\"","Current canonical state: pending human attention, already resolved by a human, or only an alert because no source-bound lead exists.",[876,877,878],"pending_human","resolved","lead_missing",{"name":66,"type":612,"required":253,"description":880,"nullable":248,"typeLabel":481,"enumValues":881},"Notification status recorded by the operation.",[73,80],{"object":859,"id":536,"status":73},[],[],[886,894,899,903,909,914,920,925,932,937,941,945,949,954,958,962,968,972,976,981,985,990,996,1002,1008,1014,1019,1023,1029,1034],{"code":887,"status":888,"title":889,"wireTitle":889,"action":890,"description":891,"fix":892,"retryable":248,"retry":893},"custom_values_review_required",409,"Custom values require review","fix_request","Stored custom values contain duplicate names or ambiguous legacy rows.","Reconcile duplicate names and label-only legacy rows in Totem, then read a fresh custom-values ETag before retrying.","no",{"code":733,"status":895,"title":896,"wireTitle":896,"action":890,"description":897,"fix":898,"retryable":248,"retry":893},400,"Idempotency key required","This write requires an Idempotency-Key header before it can have an effect.","Send one unique key per logical write and reuse that same key for every retry.",{"code":734,"status":888,"title":900,"wireTitle":900,"action":890,"description":901,"fix":902,"retryable":248,"retry":893},"Idempotency key reused","This key was already used with a different body, resource or selected team.","Keep the original key for retries of its original request; use a new key for a new logical write.",{"code":735,"status":888,"title":904,"wireTitle":904,"action":905,"description":906,"fix":907,"retryable":253,"retry":908},"Write in progress","retry_after","An identical write with this idempotency key is still being processed.","Wait for Retry-After, then retry with the same key and exactly the same request.","after",{"code":636,"status":888,"title":910,"wireTitle":910,"action":911,"description":912,"fix":913,"retryable":248,"retry":893},"Write outcome unknown","contact_support","An earlier attempt may have committed its effect, but Totem cannot safely prove its outcome.","Do not retry automatically or generate a new key; reconcile the resource and contact support with Totem-Request-Id.",{"code":915,"status":916,"title":917,"wireTitle":917,"action":890,"description":918,"fix":919,"retryable":248,"retry":893},"version_conflict",412,"Lead version conflict","The strong If-Match validator no longer names the current public version of this lead.","Read the lead again, reconcile your intended changes, then send its new ETag in If-Match.",{"code":921,"status":888,"title":922,"wireTitle":922,"action":890,"description":923,"fix":924,"retryable":248,"retry":893},"ambiguous_identity","Ambiguous lead identity","The supplied phone, email or integration external id resolves to conflicting lead identities.","Resolve the conflicting identities explicitly in the CRM; this endpoint never silently merges them.",{"code":926,"status":927,"title":928,"wireTitle":928,"action":929,"description":930,"fix":931,"retryable":248,"retry":893},"inbound_not_enabled",403,"Inbound intake not enabled","check_credentials","The principal does not hold the separate inbound intake capability requested by this write.","Use origin import for inert CRM synchronization or ask an administrator to explicitly enable inbound intake.",{"code":933,"status":927,"title":934,"wireTitle":934,"action":890,"description":935,"fix":936,"retryable":248,"retry":893},"consent_required","Consent required","This effect requires explicit consent evidence that this request does not provide.","Collect the person’s explicit consent with its notice and capture evidence before requesting this effect.",{"code":545,"status":895,"title":938,"wireTitle":938,"action":890,"description":939,"fix":940,"retryable":248,"retry":893},"Invalid request","Something in the request is not valid: an unknown, repeated or out-of-range query parameter, a query string or body on an endpoint that takes none, a cursor issued for another endpoint, filter or team, a malformed `Totem-Team` header, or a body that is not the JSON this endpoint expects. `param` names the parameter, header or field at fault. A conversations cursor is also refused once the conversation it points at has been erased.","Correct what `param` names before you retry: the same request fails the same way. For a cursor, send the `next_cursor` you received from the same endpoint, with the same filters and team. If a conversations cursor you did not change is refused, start that list again from the first page.",{"code":557,"status":895,"title":942,"wireTitle":942,"action":890,"description":943,"fix":944,"retryable":248,"retry":893},"Team required","The key reads more than one team and this endpoint reads one team's data, but the request does not say which team.","Send the team's id (`team_…`, as listed by `GET \u002Fv1\u002Fteams`) in the `Totem-Team` header.",{"code":546,"status":895,"title":946,"wireTitle":946,"action":890,"description":947,"fix":948,"retryable":248,"retry":893},"Secret key sent from a browser","The request carried a secret key together with an `Origin` header, which means it came from a browser. Totem refuses it before reading anything.","Call the API only from your server. If the key has been in a web page, a mobile app or a browser extension, treat it as leaked: roll it and mark it as compromised, so the old key stops working at once.",{"code":547,"status":950,"title":951,"wireTitle":951,"action":929,"description":952,"fix":953,"retryable":248,"retry":893},401,"Invalid credentials","The `Authorization` header is missing or malformed, or the key is unknown, wrong or revoked, or its integration is no longer active.","Send `Authorization: Bearer \u003Ckey>` with a current secret key. Do not retry in a loop: repeated failures from one IP address, or against one key, lock it out for a while with `429 rate_limited`.",{"code":548,"status":950,"title":955,"wireTitle":955,"action":929,"description":956,"fix":957,"retryable":248,"retry":893},"Key expired","The key was rolled and its grace period is over.","Deploy the key that replaced it: the old key is past its grace period and will not work again. If there is no replacement, create a new key in Settings → Developers.",{"code":549,"status":927,"title":959,"wireTitle":959,"action":929,"description":960,"fix":961,"retryable":248,"retry":893},"Insufficient scope","The key lacks a permission this endpoint needs; CRM writes and note-content reads require separate explicit grants.","Use an explicitly authorized integration profile or ask an administrator to review its grants; never broaden an old read key implicitly.",{"code":550,"status":927,"title":963,"wireTitle":963,"action":964,"description":965,"fix":966,"retryable":253,"retry":967},"Plan not entitled","keep_and_retry","The organization's plan does not include the Totem API at the moment.","Keep your data and cursors, and pause calls until the customer has a plan with API access again; then continue where you left off. While access is refused, the feed delivers nothing for the key's teams, removals included: if the refusal lasts longer than your retention policy allows, delete your copy.","restored",{"code":551,"status":927,"title":969,"wireTitle":969,"action":929,"description":970,"fix":971,"retryable":248,"retry":893},"IP address not allowed","The key is valid, but the request came from an IP address outside the integration's allowlist.","Call from an allowed address, or ask an administrator to add yours to the allowlist in Settings → Developers.",{"code":559,"status":927,"title":973,"wireTitle":973,"action":964,"description":974,"fix":975,"retryable":253,"retry":967},"Team restricted","The team is restricted for now: it is disabled (for example, suspended for non-payment), archived or billing-only, or its API access is paused. `GET \u002Fv1\u002Fteams` still lists it.","Keep the team's data and cursor, skip it for this run and try again later. The key's other teams are not affected. While the team is restricted, the feed delivers nothing for it, removals included: if the restriction lasts longer than your retention policy allows, delete the team's copy.",{"code":560,"status":927,"title":977,"wireTitle":977,"action":964,"description":978,"fix":979,"retryable":248,"retry":980},"Sector restricted","Totem does not export this team's data through the API because the team works in a sensitive sector, such as health care, where its records can reveal health information.","Skip the team: waiting does not change this. The feed delivers nothing for it, removals included, so keep what you already have only as long as your retention policy allows, then delete the team's copy. Talk to the customer or to Totem if you need its data.","blocked",{"code":552,"status":927,"title":982,"wireTitle":982,"action":964,"description":983,"fix":984,"retryable":253,"retry":967},"Capability disabled","Totem has temporarily switched this endpoint off for every key.","Keep your data and cursors and try again later; the other endpoints keep working.",{"code":724,"status":986,"title":987,"wireTitle":987,"action":890,"description":988,"fix":989,"retryable":248,"retry":893},404,"Resource not found","The record does not exist, was removed, belongs to a team this key does not read, or was created so recently that Totem has not prepared it yet. A `GET` or `POST` under `\u002Fv1\u002F` that matches no endpoint also gets this code. Any other method, and any path outside `\u002Fv1\u002F`, gets a plain `404` from the firewall in front of the API, with no problem body and no `Totem-Request-Id`.","Check the id and the path. If the record was created moments ago, do not retry in a loop: the changes feed delivers it as soon as it is ready.",{"code":558,"status":986,"title":991,"wireTitle":991,"action":992,"description":993,"fix":994,"retryable":248,"retry":995},"Team not accessible","drop_team","The `Totem-Team` header names a team this key does not read: one it never covered, one removed from the key or from the organization, or one that was deleted. Without the header, it means the key no longer reads any team.","Re-read `GET \u002Fv1\u002Fteams` before you act. If the team is no longer listed, delete its copy and its cursor; if it is still listed, keep everything and try again on the next run.","confirm",{"code":997,"status":888,"title":998,"wireTitle":998,"action":999,"description":1000,"fix":1001,"retryable":248,"retry":893},"resync_required","Resync required","resync","Totem cannot continue the feed from this cursor: the data was restored from a backup, or a gap was found in the team's changes.","Run a full resync: forget the versions you stored for the team, read the feed again without a cursor, and once it has caught up delete every local record of the team it did not deliver. Keep using your current copy until then.",{"code":561,"status":888,"title":1003,"wireTitle":1003,"action":1004,"description":1005,"fix":1006,"retryable":253,"retry":1007},"Team data is still being prepared","wait_capture","Totem is still preparing this team's data for the API. This happens once per team, after it is first added to any key; adding it to another key later does not repeat it.","Keep whatever you hold for the team and try again in a few minutes; the key's other teams keep syncing meanwhile.","later",{"code":1009,"status":1010,"title":1011,"wireTitle":1011,"action":999,"description":1012,"fix":1013,"retryable":248,"retry":893},"sync_cursor_expired",410,"Sync cursor expired","The cursor is more than 30 days old, counted from the point in the feed it reached (or, while an initial sync is still running, from when that sync started).","Run a full resync, as for `resync_required`. To prevent it, save the `next_cursor` of every page, empty pages included: the cursor of a team you poll regularly never ages out.",{"code":553,"status":1015,"title":1016,"wireTitle":1016,"action":905,"description":1017,"fix":1018,"retryable":253,"retry":908},429,"Rate limited","The key went over its rate limit (items per minute), or too many failed authentication attempts from this IP address or against this key have locked it out for a while.","Wait the seconds in `Retry-After`, then retry the same request. Each request sets aside its full `limit` up front and gives back what it does not use, so a smaller `limit` keeps a nearly spent allowance moving.",{"code":562,"status":1015,"title":1020,"wireTitle":1020,"action":905,"description":1021,"fix":1022,"retryable":253,"retry":908},"Daily quota exceeded","The key has spent its daily quota of items. Every item returned by the changes feed and by every list counts toward it, including `GET \u002Fv1\u002Fteams`, `GET \u002Fv1\u002Fmembers`, `GET \u002Fv1\u002Fbooking_services` and a lead's activities. The quota resets at 00:00 UTC.","Stop syncing until 00:00 UTC (`Retry-After` counts the seconds) and resume then with the same cursor: nothing is lost. Requests for one record, such as `GET \u002Fv1\u002Fleads\u002F{id}`, search and `GET \u002Fv1\u002Fme` do not count toward the quota and keep working.",{"code":554,"status":1024,"title":1025,"wireTitle":1025,"action":1026,"description":1027,"fix":1028,"retryable":253,"retry":1026},500,"Internal error","backoff","Something went wrong inside Totem while answering this request.","Retry with exponential backoff. If it keeps failing, contact support and quote the `Totem-Request-Id`.",{"code":555,"status":1030,"title":1031,"wireTitle":1031,"action":1026,"description":1032,"fix":1033,"retryable":253,"retry":1026},503,"API disabled","Totem has temporarily switched the API off for every key.","Keep your data and cursors and retry later with exponential backoff.",{"code":556,"status":1030,"title":1035,"wireTitle":1035,"action":1026,"description":1036,"fix":1037,"retryable":253,"retry":1026},"Service unavailable","Reserved: the API itself does not return this code today. A `503` from the load balancer or the hosting platform in front of the API arrives without a problem body; treat it like this code.","Retry with exponential backoff; your data and cursors stay valid.",[545,546,547,548,549,550,551,552,553,554,555,556],{"type":1040,"title":987,"status":986,"code":724,"request_id":1041,"doc_url":1040},"https:\u002F\u002Ftotemstudio.ai\u002Fdevelopers\u002Ferrors#resource_missing","req_0f6b2c1e-8d4a-4b7e-9c3f-5a2d1e7b9c40",[1043,1044,1045,1046,1047,1048,1049,1050],{"id":14,"text":15,"depth":243},{"id":96,"text":97,"depth":240},{"id":181,"text":182,"depth":243},{"id":466,"text":469,"depth":243},{"id":564,"text":566,"depth":243},{"id":737,"text":739,"depth":243},{"id":521,"text":521,"depth":243},{"id":677,"text":677,"depth":243},{"path":354,"title":355,"section":257},{"path":360,"title":361,"section":257},[1054,1055,1056],{"id":466,"method":467,"path":468,"summary":469},{"id":564,"method":565,"path":468,"summary":566},{"id":737,"method":467,"path":738,"summary":739},1796395411057,"6ece8729-dc31-4887-85ce-5a18e6f853a8"]