[{"data":1,"prerenderedAt":2196},["ShallowReactive",2],{"developers:\u002Fdevelopers\u002Freference-leads":3},{"doc":4,"lang":309,"nav":321,"alternatePath":423,"policy":424,"specVersion":468,"reference":469,"layout":316,"toc":2171,"prev":2188,"next":2189,"operations":2190,"overview":311,"heroExample":311},{"id":5,"title":6,"apiTag":7,"body":8,"description":306,"draft":307,"extension":308,"lang":309,"meta":310,"navTitle":311,"navigation":312,"order":313,"path":314,"rawbody":315,"section":316,"seo":317,"stem":318,"translationKey":319,"version":311,"__hash__":320},"developers_en\u002Fdevelopers\u002Freference-leads.md","Leads, boards and activities","leads",{"type":9,"value":10,"toc":296},"minimark",[11,16,53,110,121,126,162,166,183,193,215,219,259,263,287],[12,13,15],"h2",{"id":14},"overview","Overview",[17,18,19,20,24,25,29,30,33,34,37,38,41,42,45,46,48,49,52],"p",{},"A ",[21,22,23],"strong",{},"lead"," is a person or company in a team's pipeline: their contact details, where they stand (",[26,27,28],"code",{},"board"," and ",[26,31,32],{},"stage","), their ",[26,35,36],{},"status"," and their ",[26,39,40],{},"contact_permissions",". A record with ",[26,43,44],{},"record_kind: \"client\""," is a client rather than a lead: it has no pipeline status, so its ",[26,47,36],{}," is ",[26,50,51],{},"null",". Leads and clients come from the same endpoints.",[17,54,55,56,59,60,59,63,59,66,59,69,59,72,59,75,29,78,81,82,84,85,88,89,92,93,96,97,29,100,103,104,109],{},"The eight statuses are ",[26,57,58],{},"new",", ",[26,61,62],{},"contacted",[26,64,65],{},"qualified",[26,67,68],{},"negotiating",[26,70,71],{},"converted",[26,73,74],{},"lost",[26,76,77],{},"archived",[26,79,80],{},"unreachable",". ",[26,83,71],{}," does not mean \"won\". A lead whose status this version of the API does not know keeps ",[26,86,87],{},"record_kind: \"lead\""," and reads ",[26,90,91],{},"status: null",". An archived lead says why in ",[26,94,95],{},"archive_reason",", including ",[26,98,99],{},"merged",[26,101,102],{},"family_transfer"," for the leads that ",[105,106,108],"a",{"href":107},"\u002Fdevelopers\u002Fsync#removals-merges-and-transfers","merges and transfers"," leave behind.",[17,111,112,113,115,116,120],{},"Apply ",[26,114,40],{}," before any of your systems contacts the person: ",[105,117,119],{"href":118},"\u002Fdevelopers\u002Fsync#contact-permissions-first","Keep a copy in sync"," explains each one.",[122,123,125],"h3",{"id":124},"attribution-and-response","Attribution and response",[17,127,128,134,135,138,139,142,143,146,147,149,150,29,153,156,157,161],{},[105,129,131],{"href":130},"\u002Fdevelopers\u002Freference-leads#leads.get",[26,132,133],{},"GET \u002Fv1\u002Fleads\u002F{id}"," returns the lead with two facets: ",[26,136,137],{},"attribution",", where it came from, and ",[26,140,141],{},"response",", how the team has answered it across its conversations and calls. Each facet has its own ",[26,144,145],{},"version",", so a new message changes the lead's response without changing the lead. A facet is ",[26,148,51],{}," while Totem is still preparing it. Lists return the lead alone. The changes feed delivers the facets as items of their own, ",[26,151,152],{},"lead_attribution",[26,154,155],{},"lead_response",", with the lead's id. ",[105,158,160],{"href":159},"\u002Fdevelopers\u002Fcoverage","Data coverage"," explains what each facet can and cannot tell you.",[122,163,165],{"id":164},"search-by-phone-or-email","Search by phone or email",[17,167,168,174,175,178,179,182],{},[105,169,171],{"href":170},"\u002Fdevelopers\u002Freference-leads#leads.search",[26,172,173],{},"POST \u002Fv1\u002Fleads\u002Fsearch"," finds a team's leads by exact phone or email. Send exactly one of ",[26,176,177],{},"phone"," or ",[26,180,181],{},"email"," in the JSON body, never in a URL:",[184,185,191],"pre",{"className":186,"code":188,"language":189,"meta":190},[187],"language-bash","curl https:\u002F\u002Fapi.totemstudio.ai\u002Fv1\u002Fleads\u002Fsearch \\\n  -H \"Authorization: Bearer $TOTEM_API_KEY\" \\\n  -H \"Totem-Team: $TOTEM_TEAM_ID\" \\\n  -H \"Content-Type: application\u002Fjson\" \\\n  -d '{\"email\": \"alex.rivera@example.com\"}'\n","bash","",[26,192,188],{"__ignoreMap":190},[17,194,195,196,198,199,202,203,205,206,209,210,214],{},"Matching is exact on the number as Totem stores it, not on the normalized ",[26,197,177],{}," a lead shows. A phone matches a record stored in E.164, with or without its leading ",[26,200,201],{},"+","; a record stored with spaces or without its country prefix is not found, even by the ",[26,204,177],{}," the API returns for it. An email matches the address as you sent it or in lower case. Records Totem has not delivered to the API yet are skipped until it does. Search returns archived, merged and client records too; follow ",[26,207,208],{},"merged_into"," to the lead that was kept. It returns at most ",[211,212],"api-const",{"name":213},"SEARCH_MAX_RESULTS"," leads, in one response that never pages, so when many records share a phone number or an email address, it may not return them all.",[122,216,218],{"id":217},"activities","Activities",[17,220,221,227,228,231,232,235,236,239,240,243,244,247,248,251,252,254,255,258],{},[105,222,224],{"href":223},"\u002Fdevelopers\u002Freference-leads#leads.activities",[26,225,226],{},"GET \u002Fv1\u002Fleads\u002F{id}\u002Factivities"," returns a lead's history, a page at a time: each change of its stage, status or assigned members, and when it happened. ",[26,229,230],{},"actor_kind"," says who made it: a person (",[26,233,234],{},"human","), the AI (",[26,237,238],{},"ai","), Totem automation (",[26,241,242],{},"system","), an API caller (",[26,245,246],{},"api","), or ",[26,249,250],{},"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 ",[26,253,250],{},". Pages are not in date order, so sort by ",[26,256,257],{},"occurred_at",". Activities never change once written, but they are removed together with their lead, and new ones also arrive in the changes feed.",[122,260,262],{"id":261},"boards-and-stages","Boards and stages",[17,264,19,265,267,268,270,271,274,275,278,279,282,283,286],{},[21,266,28],{}," is a pipeline, with its stages in order. A lead's ",[26,269,32],{}," names the step it is on. Each stage has a ",[26,272,273],{},"mode"," that says who moves leads: people only (",[26,276,277],{},"standard","), people and the AI, which may move leads in (",[26,280,281],{},"supervised","), or the AI, which runs outreach and moves leads in and out (",[26,284,285],{},"automated",").",[17,288,289,295],{},[105,290,292],{"href":291},"\u002Fdevelopers\u002Freference-leads#boards.list",[26,293,294],{},"GET \u002Fv1\u002Fboards"," returns a team's boards with their stages, a page at a time. Boards also travel in the changes feed; read this list when a lead names a stage you have not seen yet. A stage with no stored position is left out of its board, so do not re-read the list for a stage it did not include last time.",{"title":190,"searchDepth":297,"depth":297,"links":298},3,[299],{"id":14,"depth":300,"text":15,"children":301},2,[302,303,304,305],{"id":124,"depth":297,"text":125},{"id":164,"depth":297,"text":165},{"id":217,"depth":297,"text":218},{"id":261,"depth":297,"text":262},"List, fetch and search a team's leads and clients, read each lead's activities, and list the boards and stages they move through.",false,"md","en",{},null,true,"50","\u002Fdevelopers\u002Freference-leads","---\ntitle: Leads, boards and activities\ndescription: List, fetch and search a team's leads and clients, read each lead's activities, and list the boards and stages they move through.\nsection: reference\norder: 50\ntranslationKey: reference-leads\nlang: en\ndraft: false\napiTag: leads\n---\n\n## Overview\n\nA **lead** is a person or company in a team's pipeline: their contact details, where they stand (`board` and `stage`), their `status` and their `contact_permissions`. A record with `record_kind: \"client\"` is a client rather than a lead: it has no pipeline status, so its `status` is `null`. Leads and clients come from the same endpoints.\n\nThe eight statuses are `new`, `contacted`, `qualified`, `negotiating`, `converted`, `lost`, `archived` and `unreachable`. `converted` does not mean \"won\". A lead whose status this version of the API does not know keeps `record_kind: \"lead\"` and reads `status: null`. An archived lead says why in `archive_reason`, including `merged` and `family_transfer` for the leads that [merges and transfers](\u002Fdevelopers\u002Fsync#removals-merges-and-transfers) leave behind.\n\nApply `contact_permissions` before any of your systems contacts the person: [Keep a copy in sync](\u002Fdevelopers\u002Fsync#contact-permissions-first) explains each one.\n\n### Attribution and response\n\n[`GET \u002Fv1\u002Fleads\u002F{id}`](\u002Fdevelopers\u002Freference-leads#leads.get) returns the lead with two facets: `attribution`, where it came from, and `response`, how the team has answered it across its conversations and calls. Each facet has its own `version`, so a new message changes the lead's response without changing the lead. A facet is `null` while Totem is still preparing it. Lists return the lead alone. The changes feed delivers the facets as items of their own, `lead_attribution` and `lead_response`, with the lead's id. [Data coverage](\u002Fdevelopers\u002Fcoverage) explains what each facet can and cannot tell you.\n\n### Search by phone or email\n\n[`POST \u002Fv1\u002Fleads\u002Fsearch`](\u002Fdevelopers\u002Freference-leads#leads.search) finds a team's leads by exact phone or email. Send exactly one of `phone` or `email` in the JSON body, never in a URL:\n\n```bash\ncurl https:\u002F\u002Fapi.totemstudio.ai\u002Fv1\u002Fleads\u002Fsearch \\\n  -H \"Authorization: Bearer $TOTEM_API_KEY\" \\\n  -H \"Totem-Team: $TOTEM_TEAM_ID\" \\\n  -H \"Content-Type: application\u002Fjson\" \\\n  -d '{\"email\": \"alex.rivera@example.com\"}'\n```\n\nMatching is exact on the number as Totem stores it, not on the normalized `phone` a lead shows. A phone matches a record stored in E.164, with or without its leading `+`; a record stored with spaces or without its country prefix is not found, even by the `phone` the API returns for it. An email matches the address as you sent it or in lower case. Records Totem has not delivered to the API yet are skipped until it does. Search returns archived, merged and client records too; follow `merged_into` to the lead that was kept. It returns at most :api-const{name=\"SEARCH_MAX_RESULTS\"} leads, in one response that never pages, so when many records share a phone number or an email address, it may not return them all.\n\n### Activities\n\n[`GET \u002Fv1\u002Fleads\u002F{id}\u002Factivities`](\u002Fdevelopers\u002Freference-leads#leads.activities) returns a lead's history, a page at a time: each change of its stage, status or assigned members, and when it happened. `actor_kind` says who made it: a person (`human`), the AI (`ai`), Totem automation (`system`), an API caller (`api`), 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`. Pages are not in date order, so sort by `occurred_at`. Activities never change once written, but they are removed together with their lead, and new ones also arrive in the changes feed.\n\n### Boards and stages\n\nA **board** is a pipeline, with its stages in order. A lead's `stage` names the step it is on. Each stage has a `mode` that says who moves leads: people only (`standard`), people and the AI, which may move leads in (`supervised`), or the AI, which runs outreach and moves leads in and out (`automated`).\n\n[`GET \u002Fv1\u002Fboards`](\u002Fdevelopers\u002Freference-leads#boards.list) returns a team's boards with their stages, a page at a time. Boards also travel in the changes feed; read this list when a lead names a stage you have not seen yet. A stage with no stored position is left out of its board, so do not re-read the list for a stage it did not include last time.\n","reference",{"title":6,"description":306},"developers\u002Freference-leads","reference-leads","FopBKs7VzPEDAs1eEqVXZ520Y_7h3neYyc2_ccx13bg",[322,336,360,404],{"section":323,"items":324},"start",[325,328,332],{"path":326,"title":15,"description":327},"\u002Fdevelopers","Read the leads, calls, conversations and bookings of your Totem teams from your own systems, and keep a copy in sync.",{"path":329,"title":330,"description":331},"\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":333,"title":334,"description":335},"\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":337,"items":338},"guides",[339,343,346,350,352,356],{"path":340,"title":341,"description":342},"\u002Fdevelopers\u002Ftypescript","TypeScript SDK","Use the official TypeScript client to read your Totem data, paginate lists and handle API errors from your server.",{"path":344,"title":119,"description":345},"\u002Fdevelopers\u002Fsync","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":347,"title":348,"description":349},"\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":159,"title":160,"description":351},"What Totem records, since when, and how to tell an empty value from a fact that was never recorded.",{"path":353,"title":354,"description":355},"\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":357,"title":358,"description":359},"\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":316,"items":361},[362,366,370,374,379,380,385,390,395,400],{"path":363,"title":364,"description":365},"\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":367,"title":368,"description":369},"\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":371,"title":372,"description":373},"\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":375,"title":376,"description":377,"apiTag":378},"\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":314,"title":6,"description":306,"apiTag":7},{"path":381,"title":382,"description":383,"apiTag":384},"\u002Fdevelopers\u002Freference-calls","Calls","List and fetch a team's calls, with their direction, timing and a normalized outcome. No recordings or transcripts.","calls",{"path":386,"title":387,"description":388,"apiTag":389},"\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. Never message content.","conversations",{"path":391,"title":392,"description":393,"apiTag":394},"\u002Fdevelopers\u002Freference-bookings","Bookings and services","List and fetch a team's bookings, and list the services its customers can book.","bookings",{"path":396,"title":397,"description":398,"apiTag":399},"\u002Fdevelopers\u002Freference-sync","Changes feed","One endpoint that copies a team and then returns every change, page by page.","sync",{"path":401,"title":402,"description":403},"\u002Fdevelopers\u002Fobjects","All objects","Every object the API returns, field by field, with an example of each.",{"section":405,"items":406},"resources",[407,411,415,419],{"path":408,"title":409,"description":410},"\u002Fdevelopers\u002Fchangelog","Changelog","Changes to the Totem API, newest first, each under the date it shipped.",{"path":412,"title":413,"description":414},"\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":416,"title":417,"description":418},"\u002Fdevelopers\u002Fglossary","Glossary","The terms these docs use, defined in one place, each with a link to the page that explains it.",{"path":420,"title":421,"description":422},"\u002Fdevelopers\u002Ffaq","FAQ","Short answers to the questions developers ask most about the Totem API, with links to the details.","\u002Fdevelopers\u002Fes\u002Freference-leads",{"ACTIVATION_MARGIN_MS":425,"ADMIN_ACCESS_DISCLOSURE_VERSION":426,"AUDIT_RETENTION_DAYS":427,"AUTH_FAILURE_LIMITS":428,"CAPTURE_LAG_FLOOR_MS":432,"CAPTURE_LAG_P99_MS":311,"CURSOR_MAX_AGE_DAYS":433,"DIRTY_TTL_DAYS":433,"FAMILY_TEAM_SCOPE":434,"FAMILY_TEAM_SCOPE_OPTIONS":435,"FEED_SETTLE_LAG_MS":437,"GATE_REFRESH_MS":425,"INTEGRATION_NAME_LENGTH":438,"INTEGRATION_PURPOSE_LENGTH":440,"KEY_CACHE_TTL_MS":443,"KEY_STATS_RETENTION_DAYS":444,"LEAD_RESPONSE_READ_BUDGET":445,"LIST_SCAN_MAX":448,"MAX_FAMILY_INTEGRATION_TEAMS":433,"MAX_INTEGRATIONS_PER_FAMILY":449,"MAX_IP_ALLOWLIST":430,"PAGE_LIMIT":450,"PLATFORM_CONFIG_TTL_MS":453,"REMOVAL_RETENTION_DAYS":454,"REQUEST_BODY_MAX_BYTES":455,"ROLL_GRACE_DEFAULT_HOURS":456,"ROLL_GRACE_HOURS":457,"SEARCH_MAX_RESULTS":449,"SENSITIVE_SECTOR_POLICY":460,"SENSITIVE_SECTOR_POLICY_OPTIONS":461,"SYNC_DAILY_BUDGET":463,"SYNC_VELOCITY":465,"TEAM_CACHE_TTL_MS":467},60000,"2026-10-17",365,{"perIpPerMinute":429,"perLookupIdPerMinute":430,"banMs":431},60,20,600000,300000,30,"explicit_list",[434,436],"all_family_teams",10000,{"min":300,"max":439},80,{"min":441,"max":442},1,280,5000,90,{"conversations":430,"messageReads":446,"calls":447},200,50,1000,10,{"default":451,"max":452},25,100,15000,45,16384,24,[458,441,456,459],0,168,"exclude",[460,462],"allow",{"floor":464,"recordsMultiplier":297},250000,{"perMinute":466,"burst":437},2000,30000,"1.0a",{"operations":470,"schemas":1031,"errors":2056,"commonErrors":2167,"defaultStability":477,"policy":424,"problemExample":2168},[471,592,889,939,985],{"id":472,"method":473,"path":474,"summary":475,"description":476,"stability":477,"scopes":478,"rateClass":399,"tenantBinding":480,"authenticated":312,"parameters":481,"parametersByLocation":515,"body":519,"bodyDescription":190,"responseFields":520,"responseComponent":546,"listOf":535,"example":547,"errors":573,"tag":7},"leads.list","GET","\u002Fv1\u002Fleads","List leads","Returns a page of the team's leads and clients, in a stable order that carries no meaning. Filter by at most one of `board`, `stage` or `status`; a board or stage the team does not have returns an empty page. To keep a copy up to date, follow the changes feed instead of re-reading this list.","beta",[479],"crm:read","team_header",[482,488,494,499,504,508],{"name":483,"type":484,"required":307,"description":485,"nullable":307,"typeLabel":484,"constraints":486,"location":487},"limit","integer","Items per page, 1–100. Defaults to 25.",{"minimum":441,"maximum":452,"default":451},"query",{"name":489,"type":490,"required":307,"description":491,"nullable":307,"typeLabel":490,"constraints":492,"location":487},"cursor","string","The `next_cursor` of the previous page. Omit it for the first page.",{"minLength":441,"maxLength":493},512,{"name":28,"type":490,"required":307,"description":495,"nullable":307,"typeLabel":490,"constraints":496,"location":487},"Only leads on this board. At most one of `board`, `stage` and `status`.",{"prefixes":497},[498],"brd_",{"name":32,"type":490,"required":307,"description":500,"nullable":307,"typeLabel":490,"constraints":501,"location":487},"Only leads in this stage. At most one of `board`, `stage` and `status`.",{"prefixes":502},[503],"stg_",{"name":36,"type":505,"required":307,"description":506,"nullable":307,"typeLabel":490,"enumValues":507,"location":487},"\"new\" | \"contacted\" | \"qualified\" | \"negotiating\" | \"converted\" | \"lost\" | \"archived\" | \"unreachable\"","Only leads with this status. At most one of `board`, `stage` and `status`.",[58,62,65,68,71,74,77,80],{"name":509,"type":490,"required":307,"description":510,"nullable":307,"typeLabel":490,"constraints":511,"conditional":312,"location":514},"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":512},[513],"team_","header",{"path":516,"query":517,"header":518},[],[482,488,494,499,504],[508],[],[521,527,538,542],{"name":522,"type":523,"required":312,"description":524,"nullable":307,"typeLabel":490,"enumValues":525,"constant":312},"object","\"list\"","Always `list`.",[526],"list",{"name":528,"type":529,"required":312,"description":530,"nullable":307,"typeLabel":529,"typeTokens":531,"ref":535},"data","Array\u003CLead>","The items of this page.",[532,534,536],{"text":533},"Array\u003C",{"text":535,"ref":535},"Lead",{"text":537},">",{"name":539,"type":540,"required":312,"description":541,"nullable":307,"typeLabel":540},"has_more","boolean","`true` when another page follows: fetch it with `next_cursor`, even if this page holds fewer items than `limit`.",{"name":543,"type":544,"required":312,"description":545,"nullable":312,"typeLabel":490},"next_cursor","string | null","Opaque cursor for the next page, or null on the last page. Never parse it.","LeadList",{"object":526,"data":548,"has_more":312,"next_cursor":572},[549],{"id":550,"object":23,"livemode":307,"team":551,"record_kind":23,"name":552,"surname":553,"email":554,"company":555,"phone":556,"phone_status":557,"status":62,"status_set_by":238,"archive_reason":311,"archived_from_status":311,"contact_permissions":558,"merged_into":311,"transferred_to":311,"revived_at":311,"pipeline_cleared":307,"converted_at":311,"value_at_conversion":311,"priority":560,"tags":561,"board":563,"stage":564,"assignees":565,"estimated_value":567,"estimated_value_currency":311,"source":568,"source_channel":311,"source_detail":311,"source_provenance":569,"created_at":570,"version":297,"updated_at":571},"lead_r72EfbRNUzuqORFJR0O8HxAwEXd93jGUTYMaMMXKSF0QbLS8CiUKJpEP34LFQG","team_r9uYrIW4gSFJJ6hZQ9ip1UIpPaAD1CF7NR","Alex","Rivera","alex.rivera@example.com","Example Dental","+12025550123","valid",{"do_not_contact":307,"email_opt_out":307,"email_opt_out_at":311,"whatsapp_consent":311,"provenance":559},{"do_not_contact":311,"email_opt_out":311,"whatsapp_consent":311},"high",[562],"spring-check-up","brd_r72EfbRNUzuqORFJR0O8HxAwEXd93jGUTYMaMMX3trzsVUZQuHcMSuDh1aRIst","stg_r72EfbRNUzuqORFJR0O8HxAwEXd93jGUTYMaMMXWBYWcKwVTY3CRZlVS3oYvs0",[566],"mem_h548E7UiYhutHhucVrQCzkM0eaea0",1200,"meta_lead_ads","member_editable","2026-09-28T10:15:00.000Z","2026-09-28T10:20:01.250Z","eyJ2IjoxLCJrIjoibGVhZCIsImEiOiJsZWFkX3I3MkVmYlJOVXp1cU9SRkpSME84SHhBd0VYZDkzakdVVFlNYU1NWEtTRjBRYkxTOENpVUtKcEVQMzRMRlFHIiwicyI6ImYzNTI3NzI2MTkwYiJ93iHyRg",[574,575,576,577,578,579,580,581,582,583,584,585,586,587,588,589,590,591],"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":593,"method":473,"path":594,"summary":595,"description":596,"stability":477,"scopes":597,"rateClass":598,"tenantBinding":599,"authenticated":312,"parameters":600,"parametersByLocation":608,"body":612,"bodyDescription":190,"responseFields":613,"responseComponent":833,"listOf":311,"example":834,"errors":887,"tag":7},"leads.get","\u002Fv1\u002Fleads\u002F{id}","Get a lead with its attribution and response","Returns one lead with its two facets: `attribution` (where it came from) and `response` (how the team has answered it), each with its own `version`. A lead created moments ago can answer `404 resource_missing` until Totem has prepared it; the changes feed delivers it then.",[479],"read","resource_id",[601],{"name":602,"type":490,"required":312,"description":603,"nullable":307,"typeLabel":490,"constraints":604,"location":607},"id","The lead's public id.",{"prefixes":605},[606],"lead_","path",{"path":609,"query":610,"header":611},[601],[],[],[],[614,618,622,625,630,636,639,642,644,647,649,656,660,665,675,679,681,684,687,693,697,700,705,712,718,722,726,731,736,740,743,747,752,760,764,768,772,779,782,786,797,800,803,809,814,817,821,827],{"name":602,"type":490,"required":312,"description":615,"nullable":307,"typeLabel":490,"constraints":616},"Public id of the record.",{"prefixes":617},[606],{"name":522,"type":619,"required":312,"description":620,"nullable":307,"typeLabel":490,"enumValues":621,"constant":312},"\"lead\"","Always `lead`.",[23],{"name":623,"type":540,"required":312,"description":624,"nullable":307,"typeLabel":540},"livemode","`true` for real data; `false` in example data.",{"name":626,"type":490,"required":312,"description":627,"nullable":307,"typeLabel":490,"constraints":628},"team","The team the record belongs to.",{"prefixes":629},[513],{"name":631,"type":632,"required":312,"description":633,"nullable":307,"typeLabel":490,"enumValues":634},"record_kind","\"lead\" | \"client\"","`lead` when the record has a pipeline status, otherwise `client`. A lead whose status this version does not know reads `status: null`.",[23,635],"client",{"name":637,"type":544,"required":312,"description":638,"nullable":312,"typeLabel":490},"name","First name or display name, or null.",{"name":640,"type":544,"required":312,"description":641,"nullable":312,"typeLabel":490},"surname","Surname, or null.",{"name":181,"type":544,"required":312,"description":643,"nullable":312,"typeLabel":490},"Email address as stored, or null.",{"name":645,"type":544,"required":312,"description":646,"nullable":312,"typeLabel":490},"company","Company, or null.",{"name":177,"type":544,"required":312,"description":648,"nullable":312,"typeLabel":490},"Phone in E.164, only when the stored number validates; otherwise null.",{"name":650,"type":651,"required":312,"description":652,"nullable":307,"typeLabel":490,"enumValues":653},"phone_status","\"valid\" | \"invalid\" | \"missing\"","`valid` (see `phone`), `invalid` (a number is stored but does not validate, for example one stored without its country prefix) or `missing`.",[557,654,655],"invalid","missing",{"name":36,"type":657,"required":312,"description":658,"nullable":312,"typeLabel":490,"enumValues":659},"\"new\" | \"contacted\" | \"qualified\" | \"negotiating\" | \"converted\" | \"lost\" | \"archived\" | \"unreachable\" | null","Pipeline status; null for a client record, or for a status this version does not know. `converted` is not \"won\".",[58,62,65,68,71,74,77,80],{"name":661,"type":662,"required":312,"description":663,"nullable":312,"typeLabel":490,"enumValues":664},"status_set_by","\"human\" | \"ai\" | \"system\" | \"api\" | \"unknown\" | null","Who set the current status: a person, the AI, Totem automation, an API caller, or unknown (no recorded transition lands on it). Null when `status` is null.",[234,238,242,246,250],{"name":95,"type":666,"required":312,"description":667,"nullable":312,"typeLabel":490,"enumValues":668},"\"opt_out\" | \"no_consent\" | \"not_interested\" | \"not_qualified\" | \"no_contact\" | \"merged\" | \"family_transfer\" | \"other\" | null","Why the record was archived, as a closed code; stored free text is `other`. Null when none is stored.",[669,670,671,672,673,99,102,674],"opt_out","no_consent","not_interested","not_qualified","no_contact","other",{"name":676,"type":657,"required":312,"description":677,"nullable":312,"typeLabel":490,"enumValues":678},"archived_from_status","The status the lead had before its current archive; null while it is not archived or when unknown.",[58,62,65,68,71,74,77,80],{"name":40,"type":522,"required":312,"description":680,"nullable":307,"typeLabel":522},"Contact permissions. Apply them before any outreach from your own systems.",{"name":682,"type":540,"required":312,"description":683,"nullable":307,"typeLabel":540},"contact_permissions.do_not_contact","True when the person asked never to be contacted (the `opt_out` archive reason). Stop every channel.",{"name":685,"type":540,"required":312,"description":686,"nullable":307,"typeLabel":540},"contact_permissions.email_opt_out","True when the person unsubscribed from marketing and follow-up email.",{"name":688,"type":689,"required":312,"description":690,"nullable":312,"typeLabel":490,"constraints":691},"contact_permissions.email_opt_out_at","string (date-time) | null","When the email opt-out was recorded, or null.",{"format":692},"date-time",{"name":694,"type":695,"required":312,"description":696,"nullable":312,"typeLabel":540},"contact_permissions.whatsapp_consent","boolean | null","WhatsApp consent: false when refused, true when recorded, null when unknown.",{"name":698,"type":522,"required":312,"description":699,"nullable":307,"typeLabel":522},"contact_permissions.provenance","The source of each permission.",{"name":701,"type":702,"required":312,"description":703,"nullable":312,"typeLabel":490,"enumValues":704},"contact_permissions.provenance.do_not_contact","\"archive_reason\" | null","Where `do_not_contact` comes from, or null when it is false.",[95],{"name":706,"type":707,"required":312,"description":708,"nullable":312,"typeLabel":490,"enumValues":709},"contact_permissions.provenance.email_opt_out","\"unsubscribe_link\" | \"manual\" | \"unknown\" | null","Who recorded the email opt-out: the unsubscribe link, a person in Totem, or unknown. Null when there is none.",[710,711,250],"unsubscribe_link","manual",{"name":713,"type":714,"required":312,"description":715,"nullable":312,"typeLabel":490,"enumValues":716},"contact_permissions.provenance.whatsapp_consent","\"stored\" | \"archive_reason\" | null","`archive_reason` when a refusal is recorded as the archive reason; `stored` for the value kept on the record, which team members can edit. Null when unknown.",[717,95],"stored",{"name":208,"type":544,"required":312,"description":719,"nullable":312,"typeLabel":490,"constraints":720},"The lead this record was merged into, or null (also when that lead no longer exists).",{"prefixes":721},[606],{"name":723,"type":724,"required":312,"description":725,"nullable":312,"typeLabel":522},"transferred_to","object | null","Where a transfer to another team of your organization sent this lead, or null. The team may be one your key does not read.",{"name":727,"type":490,"required":312,"description":728,"nullable":307,"typeLabel":490,"constraints":729},"transferred_to.team","The destination team.",{"prefixes":730},[513],{"name":732,"type":544,"required":312,"description":733,"nullable":312,"typeLabel":490,"constraints":734},"transferred_to.lead","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.",{"prefixes":735},[606],{"name":737,"type":689,"required":312,"description":738,"nullable":312,"typeLabel":490,"constraints":739},"revived_at","When the contact last came back on their own and revived an archived lead, or null.",{"format":692},{"name":741,"type":540,"required":312,"description":742,"nullable":307,"typeLabel":540},"pipeline_cleared","True when the lead was converted with \"clear pipeline data\": board, stage, priority, assignees, estimated value and the source fields other than `source_channel` are null because they were cleared.",{"name":744,"type":689,"required":312,"description":745,"nullable":312,"typeLabel":490,"constraints":746},"converted_at","When the lead was converted, while its status is `converted`; otherwise null.",{"format":692},{"name":748,"type":749,"required":312,"description":750,"nullable":312,"typeLabel":751},"value_at_conversion","number | null","The estimated value when it was converted, in major units. Survives \"clear pipeline data\".","number",{"name":753,"type":754,"required":312,"description":755,"nullable":312,"typeLabel":490,"enumValues":756},"priority","\"low\" | \"medium\" | \"high\" | \"urgent\" | null","Priority, or null.",[757,758,560,759],"low","medium","urgent",{"name":761,"type":762,"required":312,"description":763,"nullable":307,"typeLabel":762},"tags","Array\u003Cstring>","Labels as stored. `lead` and `booking` are system labels.",{"name":28,"type":544,"required":312,"description":765,"nullable":312,"typeLabel":490,"constraints":766},"The board, resolved through the stage when it has one; or null.",{"prefixes":767},[498],{"name":32,"type":544,"required":312,"description":769,"nullable":312,"typeLabel":490,"constraints":770},"The stage, or null.",{"prefixes":771},[503],{"name":773,"type":774,"required":312,"description":775,"nullable":312,"typeLabel":762,"constraints":776},"assignees","Array\u003Cstring> | null","Assigned members, sorted. Null when the record has no pipeline data.",{"prefixes":777},[778],"mem_",{"name":780,"type":749,"required":312,"description":781,"nullable":312,"typeLabel":751},"estimated_value","Estimated value in major units as stored (decimals allowed), or null.",{"name":783,"type":51,"required":312,"description":784,"nullable":312,"typeLabel":51,"typeTokens":785},"estimated_value_currency","Always null: Totem stores no currency with the value.",[],{"name":787,"type":788,"required":312,"description":789,"nullable":312,"typeLabel":490,"enumValues":790},"source","\"meta_lead_ads\" | \"manual\" | \"website_form\" | \"booking_page\" | \"csv_import\" | \"api\" | \"chatbot\" | \"google_ads\" | \"linkedin\" | \"other\" | null","The stored lead source; `api` also covers leads created by Totem itself (for example from a conversation or a call), see `source_detail`. Null when none is stored.",[568,711,791,792,793,246,794,795,796,674],"website_form","booking_page","csv_import","chatbot","google_ads","linkedin",{"name":798,"type":544,"required":312,"description":799,"nullable":312,"typeLabel":490},"source_channel","The channel the record started on (for example `whatsapp`, `phone`, `widget`), or null. Team members can edit it.",{"name":801,"type":544,"required":312,"description":802,"nullable":312,"typeLabel":490},"source_detail","`conversation`, `call`, `external:\u003Cprovider>`, `gated_ad:\u003Csource>`, `family_handoff`, `api_intake` or `unknown`; null when `source` needs no detail.",{"name":804,"type":805,"required":312,"description":806,"nullable":312,"typeLabel":490,"enumValues":807},"source_provenance","\"server_written\" | \"member_editable\" | null","`server_written` when Totem set the source from what the ad platform reported; otherwise `member_editable` (team members can change it). Null with `source`.",[808,569],"server_written",{"name":810,"type":811,"required":312,"description":812,"nullable":307,"typeLabel":490,"constraints":813},"created_at","string (date-time)","When the record was created.",{"format":692},{"name":145,"type":484,"required":312,"description":815,"nullable":307,"typeLabel":484,"constraints":816},"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":441},{"name":818,"type":811,"required":312,"description":819,"nullable":307,"typeLabel":490,"constraints":820},"updated_at","When Totem recorded this version (UTC). It is not the time the business event happened.",{"format":692},{"name":137,"type":822,"required":312,"description":823,"nullable":312,"typeLabel":824,"typeTokens":825,"ref":824},"LeadAttribution | null","The lead's attribution facet, or null while Totem is still preparing it.","LeadAttribution",[826],{"text":824,"ref":824},{"name":141,"type":828,"required":312,"description":829,"nullable":312,"typeLabel":830,"typeTokens":831,"ref":830},"LeadResponse | null","The lead's response facet, or null while Totem is still preparing it.","LeadResponse",[832],{"text":830,"ref":830},"LeadDetail",{"id":550,"object":23,"livemode":307,"team":551,"record_kind":23,"name":552,"surname":553,"email":554,"company":555,"phone":556,"phone_status":557,"status":62,"status_set_by":238,"archive_reason":311,"archived_from_status":311,"contact_permissions":835,"merged_into":311,"transferred_to":311,"revived_at":311,"pipeline_cleared":307,"converted_at":311,"value_at_conversion":311,"priority":560,"tags":837,"board":563,"stage":564,"assignees":838,"estimated_value":567,"estimated_value_currency":311,"source":568,"source_channel":311,"source_detail":311,"source_provenance":569,"created_at":570,"version":297,"updated_at":571,"attribution":839,"response":879},{"do_not_contact":307,"email_opt_out":307,"email_opt_out_at":311,"whatsapp_consent":311,"provenance":836},{"do_not_contact":311,"email_opt_out":311,"whatsapp_consent":311},[562],[566],{"id":550,"object":152,"livemode":307,"team":551,"original_capture":840,"original_capture_missing_reason":311,"latest_submission":311,"latest_submission_missing_reason":861,"version":441,"updated_at":878},{"capture":841,"captured_at":570,"source":568,"source_hint":311,"source_channel":311,"external_provider":311,"received_at":570,"submitted_at":842,"origin":311,"campaign":843,"ad":849,"ad_set":854,"ad_group":859,"form":862,"creative":867,"asset_group":869,"page":871,"utm":311,"click_network":875,"ad_referral":311,"family_origin":311,"audience":876},"at_creation","2026-09-28T10:14:30.000Z",{"id":844,"name":847},{"value":845,"provenance":846},"120210000000000101","provider",{"value":848,"provenance":846},"Spring check-up",{"id":850,"name":852},{"value":851,"provenance":846},"120210000000000303",{"value":853,"provenance":846},"Free first visit",{"id":855,"name":857},{"value":856,"provenance":846},"120210000000000202",{"value":858,"provenance":846},"Families nearby",{"id":860},{"value":311,"provenance":861},"not_captured",{"id":863,"name":865},{"value":864,"provenance":846},"900000000000000404",{"value":866,"provenance":846},"Book a check-up",{"id":868},{"value":311,"provenance":861},{"id":870},{"value":311,"provenance":861},{"id":872,"name":874},{"value":873,"provenance":846},"100000000000000505",{"value":555,"provenance":846},{"value":311,"provenance":861},{"value":311,"missing_reason":877},"unsupported","2026-09-28T10:15:02.100Z",{"id":550,"object":155,"livemode":307,"team":551,"last_inbound_at":880,"last_outbound_at":881,"awaiting_reply":307,"last_answered_call_at":882,"last_whatsapp_delivery_status":598,"coverage":883,"version":885,"updated_at":886},"2026-10-01T08:58:00.000Z","2026-10-01T08:59:30.000Z","2026-09-28T10:17:00.000Z",{"conversations":300,"calls":441,"channels_without_delivery_data":884,"truncated":307},[181],7,"2026-10-01T08:59:31.040Z",[574,575,576,577,578,579,580,581,582,583,584,585,888,588,589,590],"resource_missing",{"id":890,"method":891,"path":892,"summary":893,"description":894,"stability":477,"scopes":895,"rateClass":598,"tenantBinding":480,"authenticated":312,"parameters":896,"parametersByLocation":900,"body":904,"bodyDescription":913,"responseFields":914,"responseComponent":546,"listOf":535,"example":931,"errors":938,"tag":7},"leads.search","POST","\u002Fv1\u002Fleads\u002Fsearch","Find leads by exact phone or email","Finds the team's leads whose phone or email matches exactly, including archived, merged and client records (follow `merged_into` to the lead that was kept). Send exactly one of `phone` or `email` in the JSON body, never in the URL. Returns at most 10 leads, chosen from the first 20 records that match, in one response that never paginates.",[479],[897],{"name":509,"type":490,"required":307,"description":510,"nullable":307,"typeLabel":490,"constraints":898,"conditional":312,"location":514},{"prefixes":899},[513],{"path":901,"query":902,"header":903},[],[],[897],[905,909],{"name":177,"type":490,"required":307,"description":906,"nullable":307,"typeLabel":490,"constraints":907,"conditional":312},"A phone number in E.164 (`+12025550123`). It finds the number stored in E.164, with or without the `+`, and in the layouts phone libraries write: `+1 202-555-0123`, `(202) 555-0123` and `2025550123`. Other layouts, such as `202 555 0123`, are not found.",{"minLength":297,"maxLength":908},40,{"name":181,"type":490,"required":307,"description":910,"nullable":307,"typeLabel":490,"constraints":911,"conditional":312},"An email address. It finds records stored exactly as sent, or stored in lowercase.",{"minLength":297,"maxLength":912},254,"Exactly one of `phone` or `email`, in the JSON body and never in the URL.",[915,917,924,928],{"name":522,"type":523,"required":312,"description":524,"nullable":307,"typeLabel":490,"enumValues":916,"constant":312},[526],{"name":528,"type":529,"required":312,"description":918,"nullable":307,"typeLabel":529,"typeTokens":919,"ref":535,"constraints":923},"The matching leads: at most 10.",[920,921,922],{"text":533},{"text":535,"ref":535},{"text":537},{"maxItems":449},{"name":539,"type":925,"required":312,"description":926,"nullable":307,"typeLabel":540,"enumValues":927,"constant":312},"false","Always `false`, even when more records match: search returns at most 10 leads and has no next page.",[307],{"name":543,"type":51,"required":312,"description":929,"nullable":312,"typeLabel":51,"typeTokens":930},"Always `null`: search does not paginate.",[],{"object":526,"data":932,"has_more":307,"next_cursor":311},[933],{"id":550,"object":23,"livemode":307,"team":551,"record_kind":23,"name":552,"surname":553,"email":554,"company":555,"phone":556,"phone_status":557,"status":62,"status_set_by":238,"archive_reason":311,"archived_from_status":311,"contact_permissions":934,"merged_into":311,"transferred_to":311,"revived_at":311,"pipeline_cleared":307,"converted_at":311,"value_at_conversion":311,"priority":560,"tags":936,"board":563,"stage":564,"assignees":937,"estimated_value":567,"estimated_value_currency":311,"source":568,"source_channel":311,"source_detail":311,"source_provenance":569,"created_at":570,"version":297,"updated_at":571},{"do_not_contact":307,"email_opt_out":307,"email_opt_out_at":311,"whatsapp_consent":311,"provenance":935},{"do_not_contact":311,"email_opt_out":311,"whatsapp_consent":311},[562],[566],[574,575,576,577,578,579,580,581,582,583,584,585,586,587,588,589,590],{"id":940,"method":473,"path":941,"summary":942,"description":943,"stability":477,"scopes":944,"rateClass":399,"tenantBinding":599,"authenticated":312,"parameters":945,"parametersByLocation":953,"body":957,"bodyDescription":190,"responseFields":958,"responseComponent":970,"listOf":966,"example":971,"errors":984,"tag":7},"leads.activities","\u002Fv1\u002Fleads\u002F{id}\u002Factivities","List a lead's activities","Returns a page of the lead's activities: each change of its stage, status or assigned members, with when it happened and, when Totem recorded it, who made it. Pages are not in date order, so sort by `occurred_at`. Activities never change once written, and new ones also arrive in the changes feed.",[479],[946,949,951],{"name":602,"type":490,"required":312,"description":603,"nullable":307,"typeLabel":490,"constraints":947,"location":607},{"prefixes":948},[606],{"name":483,"type":484,"required":307,"description":485,"nullable":307,"typeLabel":484,"constraints":950,"location":487},{"minimum":441,"maximum":452,"default":451},{"name":489,"type":490,"required":307,"description":491,"nullable":307,"typeLabel":490,"constraints":952,"location":487},{"minLength":441,"maxLength":493},{"path":954,"query":955,"header":956},[946],[949,951],[],[],[959,961,968,969],{"name":522,"type":523,"required":312,"description":524,"nullable":307,"typeLabel":490,"enumValues":960,"constant":312},[526],{"name":528,"type":962,"required":312,"description":530,"nullable":307,"typeLabel":962,"typeTokens":963,"ref":966},"Array\u003CActivity>",[964,965,967],{"text":533},{"text":966,"ref":966},"Activity",{"text":537},{"name":539,"type":540,"required":312,"description":541,"nullable":307,"typeLabel":540},{"name":543,"type":544,"required":312,"description":545,"nullable":312,"typeLabel":490},"ActivityList",{"object":526,"data":972,"has_more":307,"next_cursor":311},[973],{"id":974,"object":975,"livemode":307,"type":976,"team":551,"lead":550,"occurred_at":977,"actor_kind":238,"stage_snapshot":978,"value_snapshot":567,"from":980,"to":982,"version":441,"updated_at":983},"act_aBgzeetVKDEjpAAkXfEFF53ZGd2ZMmGhUDKgagqLbh6c7R1GqOl0xsFw7pyRhD3SqqYWGMdb371xxj","activity","stage_changed","2026-09-28T10:20:00.000Z",{"stage":564,"board":563,"name":979},"Contacted",{"stage":981,"board":563},"stg_r72EfbRNUzuqORFJR0O8HxAwEXd93jGUTYMaMMXWBYWcKwVTY3CRZlVR3422Yg",{"stage":564,"board":563},"2026-09-28T10:20:01.500Z",[574,575,576,577,578,579,580,581,582,583,584,585,888,588,589,590,591],{"id":986,"method":473,"path":987,"summary":988,"description":989,"stability":477,"scopes":990,"rateClass":399,"tenantBinding":480,"authenticated":312,"parameters":991,"parametersByLocation":999,"body":1003,"bodyDescription":190,"responseFields":1004,"responseComponent":1016,"listOf":1012,"example":1017,"errors":1030,"tag":7},"boards.list","\u002Fv1\u002Fboards","List boards with their stages","Returns a page of the team's boards, each with its stages in pipeline order. Boards also arrive in the changes feed; read this list when you need them at once, for example when a lead names a stage you have not seen yet.",[479],[992,994,996],{"name":483,"type":484,"required":307,"description":485,"nullable":307,"typeLabel":484,"constraints":993,"location":487},{"minimum":441,"maximum":452,"default":451},{"name":489,"type":490,"required":307,"description":491,"nullable":307,"typeLabel":490,"constraints":995,"location":487},{"minLength":441,"maxLength":493},{"name":509,"type":490,"required":307,"description":510,"nullable":307,"typeLabel":490,"constraints":997,"conditional":312,"location":514},{"prefixes":998},[513],{"path":1000,"query":1001,"header":1002},[],[992,994],[996],[],[1005,1007,1014,1015],{"name":522,"type":523,"required":312,"description":524,"nullable":307,"typeLabel":490,"enumValues":1006,"constant":312},[526],{"name":528,"type":1008,"required":312,"description":530,"nullable":307,"typeLabel":1008,"typeTokens":1009,"ref":1012},"Array\u003CBoard>",[1010,1011,1013],{"text":533},{"text":1012,"ref":1012},"Board",{"text":537},{"name":539,"type":540,"required":312,"description":541,"nullable":307,"typeLabel":540},{"name":543,"type":544,"required":312,"description":545,"nullable":312,"typeLabel":490},"BoardList",{"object":526,"data":1018,"has_more":307,"next_cursor":311},[1019],{"id":563,"object":28,"livemode":307,"team":551,"name":1020,"is_default":312,"is_archived":307,"appointment_booked_stage":1021,"stages":1022,"version":1028,"updated_at":1029},"New patients","stg_r72EfbRNUzuqORFJR0O8HxAwEXd93jGUTYMaMMXWBYWcKwVTY3CRZlVT1QpfZ5",[1023,1025,1026],{"object":32,"id":981,"name":1024,"position":458,"is_default":312,"is_final":307,"is_archive":307,"mode":285},"New",{"object":32,"id":564,"name":979,"position":441,"is_default":307,"is_final":307,"is_archive":307,"mode":281},{"object":32,"id":1021,"name":1027,"position":300,"is_default":307,"is_final":312,"is_archive":307,"mode":277},"Visit booked",4,"2026-09-02T16:40:00.000Z",[574,575,576,577,578,579,580,581,582,583,584,585,586,587,588,589,590,591],[1032,1124,1250,1731,1798,1982],{"name":535,"description":1033,"fields":1034,"example":1117,"variants":1122,"sharedFields":1123},"A lead or client record: lead fields only.",[1035,1038,1040,1041,1044,1046,1047,1048,1049,1050,1051,1053,1055,1057,1059,1061,1062,1063,1064,1066,1067,1068,1070,1072,1074,1077,1078,1081,1084,1086,1087,1089,1090,1092,1093,1096,1099,1102,1103,1105,1107,1108,1109,1111,1113,1115],{"name":602,"type":490,"required":312,"description":615,"nullable":307,"typeLabel":490,"constraints":1036},{"prefixes":1037},[606],{"name":522,"type":619,"required":312,"description":620,"nullable":307,"typeLabel":490,"enumValues":1039,"constant":312},[23],{"name":623,"type":540,"required":312,"description":624,"nullable":307,"typeLabel":540},{"name":626,"type":490,"required":312,"description":627,"nullable":307,"typeLabel":490,"constraints":1042},{"prefixes":1043},[513],{"name":631,"type":632,"required":312,"description":633,"nullable":307,"typeLabel":490,"enumValues":1045},[23,635],{"name":637,"type":544,"required":312,"description":638,"nullable":312,"typeLabel":490},{"name":640,"type":544,"required":312,"description":641,"nullable":312,"typeLabel":490},{"name":181,"type":544,"required":312,"description":643,"nullable":312,"typeLabel":490},{"name":645,"type":544,"required":312,"description":646,"nullable":312,"typeLabel":490},{"name":177,"type":544,"required":312,"description":648,"nullable":312,"typeLabel":490},{"name":650,"type":651,"required":312,"description":652,"nullable":307,"typeLabel":490,"enumValues":1052},[557,654,655],{"name":36,"type":657,"required":312,"description":658,"nullable":312,"typeLabel":490,"enumValues":1054},[58,62,65,68,71,74,77,80],{"name":661,"type":662,"required":312,"description":663,"nullable":312,"typeLabel":490,"enumValues":1056},[234,238,242,246,250],{"name":95,"type":666,"required":312,"description":667,"nullable":312,"typeLabel":490,"enumValues":1058},[669,670,671,672,673,99,102,674],{"name":676,"type":657,"required":312,"description":677,"nullable":312,"typeLabel":490,"enumValues":1060},[58,62,65,68,71,74,77,80],{"name":40,"type":522,"required":312,"description":680,"nullable":307,"typeLabel":522},{"name":682,"type":540,"required":312,"description":683,"nullable":307,"typeLabel":540},{"name":685,"type":540,"required":312,"description":686,"nullable":307,"typeLabel":540},{"name":688,"type":689,"required":312,"description":690,"nullable":312,"typeLabel":490,"constraints":1065},{"format":692},{"name":694,"type":695,"required":312,"description":696,"nullable":312,"typeLabel":540},{"name":698,"type":522,"required":312,"description":699,"nullable":307,"typeLabel":522},{"name":701,"type":702,"required":312,"description":703,"nullable":312,"typeLabel":490,"enumValues":1069},[95],{"name":706,"type":707,"required":312,"description":708,"nullable":312,"typeLabel":490,"enumValues":1071},[710,711,250],{"name":713,"type":714,"required":312,"description":715,"nullable":312,"typeLabel":490,"enumValues":1073},[717,95],{"name":208,"type":544,"required":312,"description":719,"nullable":312,"typeLabel":490,"constraints":1075},{"prefixes":1076},[606],{"name":723,"type":724,"required":312,"description":725,"nullable":312,"typeLabel":522},{"name":727,"type":490,"required":312,"description":728,"nullable":307,"typeLabel":490,"constraints":1079},{"prefixes":1080},[513],{"name":732,"type":544,"required":312,"description":733,"nullable":312,"typeLabel":490,"constraints":1082},{"prefixes":1083},[606],{"name":737,"type":689,"required":312,"description":738,"nullable":312,"typeLabel":490,"constraints":1085},{"format":692},{"name":741,"type":540,"required":312,"description":742,"nullable":307,"typeLabel":540},{"name":744,"type":689,"required":312,"description":745,"nullable":312,"typeLabel":490,"constraints":1088},{"format":692},{"name":748,"type":749,"required":312,"description":750,"nullable":312,"typeLabel":751},{"name":753,"type":754,"required":312,"description":755,"nullable":312,"typeLabel":490,"enumValues":1091},[757,758,560,759],{"name":761,"type":762,"required":312,"description":763,"nullable":307,"typeLabel":762},{"name":28,"type":544,"required":312,"description":765,"nullable":312,"typeLabel":490,"constraints":1094},{"prefixes":1095},[498],{"name":32,"type":544,"required":312,"description":769,"nullable":312,"typeLabel":490,"constraints":1097},{"prefixes":1098},[503],{"name":773,"type":774,"required":312,"description":775,"nullable":312,"typeLabel":762,"constraints":1100},{"prefixes":1101},[778],{"name":780,"type":749,"required":312,"description":781,"nullable":312,"typeLabel":751},{"name":783,"type":51,"required":312,"description":784,"nullable":312,"typeLabel":51,"typeTokens":1104},[],{"name":787,"type":788,"required":312,"description":789,"nullable":312,"typeLabel":490,"enumValues":1106},[568,711,791,792,793,246,794,795,796,674],{"name":798,"type":544,"required":312,"description":799,"nullable":312,"typeLabel":490},{"name":801,"type":544,"required":312,"description":802,"nullable":312,"typeLabel":490},{"name":804,"type":805,"required":312,"description":806,"nullable":312,"typeLabel":490,"enumValues":1110},[808,569],{"name":810,"type":811,"required":312,"description":812,"nullable":307,"typeLabel":490,"constraints":1112},{"format":692},{"name":145,"type":484,"required":312,"description":815,"nullable":307,"typeLabel":484,"constraints":1114},{"minimum":441},{"name":818,"type":811,"required":312,"description":819,"nullable":307,"typeLabel":490,"constraints":1116},{"format":692},{"id":550,"object":23,"livemode":307,"team":551,"record_kind":23,"name":552,"surname":553,"email":554,"company":555,"phone":556,"phone_status":557,"status":62,"status_set_by":238,"archive_reason":311,"archived_from_status":311,"contact_permissions":1118,"merged_into":311,"transferred_to":311,"revived_at":311,"pipeline_cleared":307,"converted_at":311,"value_at_conversion":311,"priority":560,"tags":1120,"board":563,"stage":564,"assignees":1121,"estimated_value":567,"estimated_value_currency":311,"source":568,"source_channel":311,"source_detail":311,"source_provenance":569,"created_at":570,"version":297,"updated_at":571},{"do_not_contact":307,"email_opt_out":307,"email_opt_out_at":311,"whatsapp_consent":311,"provenance":1119},{"do_not_contact":311,"email_opt_out":311,"whatsapp_consent":311},[562],[566],[],[],{"name":833,"description":1125,"fields":1126,"example":1215,"variants":1248,"sharedFields":1249},"A lead with its `attribution` and `response` facets, each with its own `version`. A facet is `null` only while Totem is still preparing it.",[1127,1130,1132,1133,1136,1138,1139,1140,1141,1142,1143,1145,1147,1149,1151,1153,1154,1155,1156,1158,1159,1160,1162,1164,1166,1169,1170,1173,1176,1178,1179,1181,1182,1184,1185,1188,1191,1194,1195,1197,1199,1200,1201,1203,1205,1207,1209,1212],{"name":602,"type":490,"required":312,"description":615,"nullable":307,"typeLabel":490,"constraints":1128},{"prefixes":1129},[606],{"name":522,"type":619,"required":312,"description":620,"nullable":307,"typeLabel":490,"enumValues":1131,"constant":312},[23],{"name":623,"type":540,"required":312,"description":624,"nullable":307,"typeLabel":540},{"name":626,"type":490,"required":312,"description":627,"nullable":307,"typeLabel":490,"constraints":1134},{"prefixes":1135},[513],{"name":631,"type":632,"required":312,"description":633,"nullable":307,"typeLabel":490,"enumValues":1137},[23,635],{"name":637,"type":544,"required":312,"description":638,"nullable":312,"typeLabel":490},{"name":640,"type":544,"required":312,"description":641,"nullable":312,"typeLabel":490},{"name":181,"type":544,"required":312,"description":643,"nullable":312,"typeLabel":490},{"name":645,"type":544,"required":312,"description":646,"nullable":312,"typeLabel":490},{"name":177,"type":544,"required":312,"description":648,"nullable":312,"typeLabel":490},{"name":650,"type":651,"required":312,"description":652,"nullable":307,"typeLabel":490,"enumValues":1144},[557,654,655],{"name":36,"type":657,"required":312,"description":658,"nullable":312,"typeLabel":490,"enumValues":1146},[58,62,65,68,71,74,77,80],{"name":661,"type":662,"required":312,"description":663,"nullable":312,"typeLabel":490,"enumValues":1148},[234,238,242,246,250],{"name":95,"type":666,"required":312,"description":667,"nullable":312,"typeLabel":490,"enumValues":1150},[669,670,671,672,673,99,102,674],{"name":676,"type":657,"required":312,"description":677,"nullable":312,"typeLabel":490,"enumValues":1152},[58,62,65,68,71,74,77,80],{"name":40,"type":522,"required":312,"description":680,"nullable":307,"typeLabel":522},{"name":682,"type":540,"required":312,"description":683,"nullable":307,"typeLabel":540},{"name":685,"type":540,"required":312,"description":686,"nullable":307,"typeLabel":540},{"name":688,"type":689,"required":312,"description":690,"nullable":312,"typeLabel":490,"constraints":1157},{"format":692},{"name":694,"type":695,"required":312,"description":696,"nullable":312,"typeLabel":540},{"name":698,"type":522,"required":312,"description":699,"nullable":307,"typeLabel":522},{"name":701,"type":702,"required":312,"description":703,"nullable":312,"typeLabel":490,"enumValues":1161},[95],{"name":706,"type":707,"required":312,"description":708,"nullable":312,"typeLabel":490,"enumValues":1163},[710,711,250],{"name":713,"type":714,"required":312,"description":715,"nullable":312,"typeLabel":490,"enumValues":1165},[717,95],{"name":208,"type":544,"required":312,"description":719,"nullable":312,"typeLabel":490,"constraints":1167},{"prefixes":1168},[606],{"name":723,"type":724,"required":312,"description":725,"nullable":312,"typeLabel":522},{"name":727,"type":490,"required":312,"description":728,"nullable":307,"typeLabel":490,"constraints":1171},{"prefixes":1172},[513],{"name":732,"type":544,"required":312,"description":733,"nullable":312,"typeLabel":490,"constraints":1174},{"prefixes":1175},[606],{"name":737,"type":689,"required":312,"description":738,"nullable":312,"typeLabel":490,"constraints":1177},{"format":692},{"name":741,"type":540,"required":312,"description":742,"nullable":307,"typeLabel":540},{"name":744,"type":689,"required":312,"description":745,"nullable":312,"typeLabel":490,"constraints":1180},{"format":692},{"name":748,"type":749,"required":312,"description":750,"nullable":312,"typeLabel":751},{"name":753,"type":754,"required":312,"description":755,"nullable":312,"typeLabel":490,"enumValues":1183},[757,758,560,759],{"name":761,"type":762,"required":312,"description":763,"nullable":307,"typeLabel":762},{"name":28,"type":544,"required":312,"description":765,"nullable":312,"typeLabel":490,"constraints":1186},{"prefixes":1187},[498],{"name":32,"type":544,"required":312,"description":769,"nullable":312,"typeLabel":490,"constraints":1189},{"prefixes":1190},[503],{"name":773,"type":774,"required":312,"description":775,"nullable":312,"typeLabel":762,"constraints":1192},{"prefixes":1193},[778],{"name":780,"type":749,"required":312,"description":781,"nullable":312,"typeLabel":751},{"name":783,"type":51,"required":312,"description":784,"nullable":312,"typeLabel":51,"typeTokens":1196},[],{"name":787,"type":788,"required":312,"description":789,"nullable":312,"typeLabel":490,"enumValues":1198},[568,711,791,792,793,246,794,795,796,674],{"name":798,"type":544,"required":312,"description":799,"nullable":312,"typeLabel":490},{"name":801,"type":544,"required":312,"description":802,"nullable":312,"typeLabel":490},{"name":804,"type":805,"required":312,"description":806,"nullable":312,"typeLabel":490,"enumValues":1202},[808,569],{"name":810,"type":811,"required":312,"description":812,"nullable":307,"typeLabel":490,"constraints":1204},{"format":692},{"name":145,"type":484,"required":312,"description":815,"nullable":307,"typeLabel":484,"constraints":1206},{"minimum":441},{"name":818,"type":811,"required":312,"description":819,"nullable":307,"typeLabel":490,"constraints":1208},{"format":692},{"name":137,"type":822,"required":312,"description":823,"nullable":312,"typeLabel":824,"typeTokens":1210,"ref":824},[1211],{"text":824,"ref":824},{"name":141,"type":828,"required":312,"description":829,"nullable":312,"typeLabel":830,"typeTokens":1213,"ref":830},[1214],{"text":830,"ref":830},{"id":550,"object":23,"livemode":307,"team":551,"record_kind":23,"name":552,"surname":553,"email":554,"company":555,"phone":556,"phone_status":557,"status":62,"status_set_by":238,"archive_reason":311,"archived_from_status":311,"contact_permissions":1216,"merged_into":311,"transferred_to":311,"revived_at":311,"pipeline_cleared":307,"converted_at":311,"value_at_conversion":311,"priority":560,"tags":1218,"board":563,"stage":564,"assignees":1219,"estimated_value":567,"estimated_value_currency":311,"source":568,"source_channel":311,"source_detail":311,"source_provenance":569,"created_at":570,"version":297,"updated_at":571,"attribution":1220,"response":1245},{"do_not_contact":307,"email_opt_out":307,"email_opt_out_at":311,"whatsapp_consent":311,"provenance":1217},{"do_not_contact":311,"email_opt_out":311,"whatsapp_consent":311},[562],[566],{"id":550,"object":152,"livemode":307,"team":551,"original_capture":1221,"original_capture_missing_reason":311,"latest_submission":311,"latest_submission_missing_reason":861,"version":441,"updated_at":878},{"capture":841,"captured_at":570,"source":568,"source_hint":311,"source_channel":311,"external_provider":311,"received_at":570,"submitted_at":842,"origin":311,"campaign":1222,"ad":1225,"ad_set":1228,"ad_group":1231,"form":1233,"creative":1236,"asset_group":1238,"page":1240,"utm":311,"click_network":1243,"ad_referral":311,"family_origin":311,"audience":1244},{"id":1223,"name":1224},{"value":845,"provenance":846},{"value":848,"provenance":846},{"id":1226,"name":1227},{"value":851,"provenance":846},{"value":853,"provenance":846},{"id":1229,"name":1230},{"value":856,"provenance":846},{"value":858,"provenance":846},{"id":1232},{"value":311,"provenance":861},{"id":1234,"name":1235},{"value":864,"provenance":846},{"value":866,"provenance":846},{"id":1237},{"value":311,"provenance":861},{"id":1239},{"value":311,"provenance":861},{"id":1241,"name":1242},{"value":873,"provenance":846},{"value":555,"provenance":846},{"value":311,"provenance":861},{"value":311,"missing_reason":877},{"id":550,"object":155,"livemode":307,"team":551,"last_inbound_at":880,"last_outbound_at":881,"awaiting_reply":307,"last_answered_call_at":882,"last_whatsapp_delivery_status":598,"coverage":1246,"version":885,"updated_at":886},{"conversations":300,"calls":441,"channels_without_delivery_data":1247,"truncated":307},[181],[],[],{"name":824,"description":1251,"fields":1252,"example":1704,"variants":1729,"sharedFields":1730},"Where a lead came from: its original capture and latest submission.",[1253,1256,1260,1261,1265,1268,1274,1278,1282,1285,1288,1291,1295,1299,1302,1309,1312,1315,1318,1321,1329,1332,1334,1337,1340,1342,1344,1347,1349,1351,1354,1357,1359,1361,1364,1366,1368,1371,1374,1376,1378,1381,1384,1386,1388,1391,1393,1395,1398,1401,1403,1405,1408,1411,1413,1415,1418,1421,1423,1425,1428,1430,1432,1435,1438,1441,1443,1446,1449,1451,1454,1457,1459,1462,1465,1467,1470,1473,1475,1478,1481,1483,1486,1489,1497,1505,1508,1512,1517,1520,1525,1530,1533,1536,1540,1545,1550,1553,1559,1563,1565,1567,1569,1572,1574,1576,1579,1581,1583,1585,1588,1590,1592,1595,1597,1599,1601,1604,1606,1608,1611,1613,1615,1617,1620,1622,1624,1626,1629,1631,1633,1636,1638,1640,1642,1645,1647,1649,1651,1654,1657,1659,1661,1664,1666,1668,1671,1673,1675,1678,1680,1682,1685,1687,1689,1692,1696,1700,1702],{"name":602,"type":490,"required":312,"description":615,"nullable":307,"typeLabel":490,"constraints":1254},{"prefixes":1255},[606],{"name":522,"type":1257,"required":312,"description":1258,"nullable":307,"typeLabel":490,"enumValues":1259,"constant":312},"\"lead_attribution\"","Always `lead_attribution`.",[152],{"name":623,"type":540,"required":312,"description":624,"nullable":307,"typeLabel":540},{"name":626,"type":490,"required":312,"description":1262,"nullable":307,"typeLabel":490,"constraints":1263},"The team the lead belongs to.",{"prefixes":1264},[513],{"name":1266,"type":724,"required":312,"description":1267,"nullable":312,"typeLabel":522},"original_capture","How the lead first entered the CRM, frozen once; null when it was not captured. \"Original\" is the first time the contact entered the CRM, not the first ad it answered.",{"name":1269,"type":1270,"required":312,"description":1271,"nullable":307,"typeLabel":490,"enumValues":1272},"original_capture.capture","\"at_creation\" | \"at_activation\"","`at_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).",[841,1273],"at_activation",{"name":1275,"type":811,"required":312,"description":1276,"nullable":307,"typeLabel":490,"constraints":1277},"original_capture.captured_at","When the record was written.",{"format":692},{"name":1279,"type":788,"required":312,"description":1280,"nullable":312,"typeLabel":490,"enumValues":1281},"original_capture.source","The lead source at capture, from the same set as the lead's `source`; `api` also covers leads created by Totem itself (for example from a conversation or a call, see `origin`). Null when none was stored.",[568,711,791,792,793,246,794,795,796,674],{"name":1283,"type":544,"required":312,"description":1284,"nullable":312,"typeLabel":490},"original_capture.source_hint","The real source of a gated ad lead stored as `api`, or null.",{"name":1286,"type":544,"required":312,"description":1287,"nullable":312,"typeLabel":490},"original_capture.source_channel","The channel at capture, or null.",{"name":1289,"type":544,"required":312,"description":1290,"nullable":312,"typeLabel":490},"original_capture.external_provider","The portal or booking platform of a forwarded or synced lead, or null.",{"name":1292,"type":689,"required":312,"description":1293,"nullable":312,"typeLabel":490,"constraints":1294},"original_capture.received_at","When the lead was received, as first written, or null.",{"format":692},{"name":1296,"type":689,"required":312,"description":1297,"nullable":312,"typeLabel":490,"constraints":1298},"original_capture.submitted_at","When the ad platform says the form was submitted, or null.",{"format":692},{"name":1300,"type":724,"required":312,"description":1301,"nullable":312,"typeLabel":522},"original_capture.origin","The conversation or call that created the lead (never its id), or null (also for an origin of another kind).",{"name":1303,"type":1304,"required":312,"description":1305,"nullable":307,"typeLabel":490,"enumValues":1306},"original_capture.origin.kind","\"conversation\" | \"call\"","`conversation` or `call`.",[1307,1308],"conversation","call",{"name":1310,"type":544,"required":312,"description":1311,"nullable":312,"typeLabel":490},"original_capture.origin.channel","Its channel, or null.",{"name":1313,"type":522,"required":312,"description":1314,"nullable":307,"typeLabel":522},"original_capture.campaign","The campaign.",{"name":1316,"type":522,"required":312,"description":1317,"nullable":307,"typeLabel":522},"original_capture.campaign.id","Its id.",{"name":1319,"type":544,"required":312,"description":1320,"nullable":312,"typeLabel":490},"original_capture.campaign.id.value","The value, or null when it was not captured.",{"name":1322,"type":1323,"required":312,"description":1324,"nullable":307,"typeLabel":490,"enumValues":1325},"original_capture.campaign.id.provenance","\"provider\" | \"team_alias\" | \"stored_metadata\" | \"stored_metadata_at_activation\" | \"not_captured\"","`provider` (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), or `not_captured` exactly when `value` is null.",[846,1326,1327,1328,861],"team_alias","stored_metadata","stored_metadata_at_activation",{"name":1330,"type":522,"required":312,"description":1331,"nullable":307,"typeLabel":522},"original_capture.campaign.name","Its name.",{"name":1333,"type":544,"required":312,"description":1320,"nullable":312,"typeLabel":490},"original_capture.campaign.name.value",{"name":1335,"type":1323,"required":312,"description":1324,"nullable":307,"typeLabel":490,"enumValues":1336},"original_capture.campaign.name.provenance",[846,1326,1327,1328,861],{"name":1338,"type":522,"required":312,"description":1339,"nullable":307,"typeLabel":522},"original_capture.ad","The ad.",{"name":1341,"type":522,"required":312,"description":1317,"nullable":307,"typeLabel":522},"original_capture.ad.id",{"name":1343,"type":544,"required":312,"description":1320,"nullable":312,"typeLabel":490},"original_capture.ad.id.value",{"name":1345,"type":1323,"required":312,"description":1324,"nullable":307,"typeLabel":490,"enumValues":1346},"original_capture.ad.id.provenance",[846,1326,1327,1328,861],{"name":1348,"type":522,"required":312,"description":1331,"nullable":307,"typeLabel":522},"original_capture.ad.name",{"name":1350,"type":544,"required":312,"description":1320,"nullable":312,"typeLabel":490},"original_capture.ad.name.value",{"name":1352,"type":1323,"required":312,"description":1324,"nullable":307,"typeLabel":490,"enumValues":1353},"original_capture.ad.name.provenance",[846,1326,1327,1328,861],{"name":1355,"type":522,"required":312,"description":1356,"nullable":307,"typeLabel":522},"original_capture.ad_set","The Meta ad set.",{"name":1358,"type":522,"required":312,"description":1317,"nullable":307,"typeLabel":522},"original_capture.ad_set.id",{"name":1360,"type":544,"required":312,"description":1320,"nullable":312,"typeLabel":490},"original_capture.ad_set.id.value",{"name":1362,"type":1323,"required":312,"description":1324,"nullable":307,"typeLabel":490,"enumValues":1363},"original_capture.ad_set.id.provenance",[846,1326,1327,1328,861],{"name":1365,"type":522,"required":312,"description":1331,"nullable":307,"typeLabel":522},"original_capture.ad_set.name",{"name":1367,"type":544,"required":312,"description":1320,"nullable":312,"typeLabel":490},"original_capture.ad_set.name.value",{"name":1369,"type":1323,"required":312,"description":1324,"nullable":307,"typeLabel":490,"enumValues":1370},"original_capture.ad_set.name.provenance",[846,1326,1327,1328,861],{"name":1372,"type":522,"required":312,"description":1373,"nullable":307,"typeLabel":522},"original_capture.ad_group","The Google Ads ad group.",{"name":1375,"type":522,"required":312,"description":1317,"nullable":307,"typeLabel":522},"original_capture.ad_group.id",{"name":1377,"type":544,"required":312,"description":1320,"nullable":312,"typeLabel":490},"original_capture.ad_group.id.value",{"name":1379,"type":1323,"required":312,"description":1324,"nullable":307,"typeLabel":490,"enumValues":1380},"original_capture.ad_group.id.provenance",[846,1326,1327,1328,861],{"name":1382,"type":522,"required":312,"description":1383,"nullable":307,"typeLabel":522},"original_capture.form","The lead form.",{"name":1385,"type":522,"required":312,"description":1317,"nullable":307,"typeLabel":522},"original_capture.form.id",{"name":1387,"type":544,"required":312,"description":1320,"nullable":312,"typeLabel":490},"original_capture.form.id.value",{"name":1389,"type":1323,"required":312,"description":1324,"nullable":307,"typeLabel":490,"enumValues":1390},"original_capture.form.id.provenance",[846,1326,1327,1328,861],{"name":1392,"type":522,"required":312,"description":1331,"nullable":307,"typeLabel":522},"original_capture.form.name",{"name":1394,"type":544,"required":312,"description":1320,"nullable":312,"typeLabel":490},"original_capture.form.name.value",{"name":1396,"type":1323,"required":312,"description":1324,"nullable":307,"typeLabel":490,"enumValues":1397},"original_capture.form.name.provenance",[846,1326,1327,1328,861],{"name":1399,"type":522,"required":312,"description":1400,"nullable":307,"typeLabel":522},"original_capture.creative","The creative.",{"name":1402,"type":522,"required":312,"description":1317,"nullable":307,"typeLabel":522},"original_capture.creative.id",{"name":1404,"type":544,"required":312,"description":1320,"nullable":312,"typeLabel":490},"original_capture.creative.id.value",{"name":1406,"type":1323,"required":312,"description":1324,"nullable":307,"typeLabel":490,"enumValues":1407},"original_capture.creative.id.provenance",[846,1326,1327,1328,861],{"name":1409,"type":522,"required":312,"description":1410,"nullable":307,"typeLabel":522},"original_capture.asset_group","The Google Ads asset group.",{"name":1412,"type":522,"required":312,"description":1317,"nullable":307,"typeLabel":522},"original_capture.asset_group.id",{"name":1414,"type":544,"required":312,"description":1320,"nullable":312,"typeLabel":490},"original_capture.asset_group.id.value",{"name":1416,"type":1323,"required":312,"description":1324,"nullable":307,"typeLabel":490,"enumValues":1417},"original_capture.asset_group.id.provenance",[846,1326,1327,1328,861],{"name":1419,"type":522,"required":312,"description":1420,"nullable":307,"typeLabel":522},"original_capture.page","The Facebook page.",{"name":1422,"type":522,"required":312,"description":1317,"nullable":307,"typeLabel":522},"original_capture.page.id",{"name":1424,"type":544,"required":312,"description":1320,"nullable":312,"typeLabel":490},"original_capture.page.id.value",{"name":1426,"type":1323,"required":312,"description":1324,"nullable":307,"typeLabel":490,"enumValues":1427},"original_capture.page.id.provenance",[846,1326,1327,1328,861],{"name":1429,"type":522,"required":312,"description":1331,"nullable":307,"typeLabel":522},"original_capture.page.name",{"name":1431,"type":544,"required":312,"description":1320,"nullable":312,"typeLabel":490},"original_capture.page.name.value",{"name":1433,"type":1323,"required":312,"description":1324,"nullable":307,"typeLabel":490,"enumValues":1434},"original_capture.page.name.provenance",[846,1326,1327,1328,861],{"name":1436,"type":724,"required":312,"description":1437,"nullable":312,"typeLabel":522},"original_capture.utm","The five standard UTM keys, or null when none was captured.",{"name":1439,"type":522,"required":312,"description":1440,"nullable":307,"typeLabel":522},"original_capture.utm.source","`utm_source`.",{"name":1442,"type":544,"required":312,"description":1320,"nullable":312,"typeLabel":490},"original_capture.utm.source.value",{"name":1444,"type":1323,"required":312,"description":1324,"nullable":307,"typeLabel":490,"enumValues":1445},"original_capture.utm.source.provenance",[846,1326,1327,1328,861],{"name":1447,"type":522,"required":312,"description":1448,"nullable":307,"typeLabel":522},"original_capture.utm.medium","`utm_medium`.",{"name":1450,"type":544,"required":312,"description":1320,"nullable":312,"typeLabel":490},"original_capture.utm.medium.value",{"name":1452,"type":1323,"required":312,"description":1324,"nullable":307,"typeLabel":490,"enumValues":1453},"original_capture.utm.medium.provenance",[846,1326,1327,1328,861],{"name":1455,"type":522,"required":312,"description":1456,"nullable":307,"typeLabel":522},"original_capture.utm.campaign","`utm_campaign`.",{"name":1458,"type":544,"required":312,"description":1320,"nullable":312,"typeLabel":490},"original_capture.utm.campaign.value",{"name":1460,"type":1323,"required":312,"description":1324,"nullable":307,"typeLabel":490,"enumValues":1461},"original_capture.utm.campaign.provenance",[846,1326,1327,1328,861],{"name":1463,"type":522,"required":312,"description":1464,"nullable":307,"typeLabel":522},"original_capture.utm.term","`utm_term`.",{"name":1466,"type":544,"required":312,"description":1320,"nullable":312,"typeLabel":490},"original_capture.utm.term.value",{"name":1468,"type":1323,"required":312,"description":1324,"nullable":307,"typeLabel":490,"enumValues":1469},"original_capture.utm.term.provenance",[846,1326,1327,1328,861],{"name":1471,"type":522,"required":312,"description":1472,"nullable":307,"typeLabel":522},"original_capture.utm.content","`utm_content`.",{"name":1474,"type":544,"required":312,"description":1320,"nullable":312,"typeLabel":490},"original_capture.utm.content.value",{"name":1476,"type":1323,"required":312,"description":1324,"nullable":307,"typeLabel":490,"enumValues":1477},"original_capture.utm.content.provenance",[846,1326,1327,1328,861],{"name":1479,"type":522,"required":312,"description":1480,"nullable":307,"typeLabel":522},"original_capture.click_network","The network of the first click id (`google` or `meta`). The click id itself is never kept.",{"name":1482,"type":544,"required":312,"description":1320,"nullable":312,"typeLabel":490},"original_capture.click_network.value",{"name":1484,"type":1323,"required":312,"description":1324,"nullable":307,"typeLabel":490,"enumValues":1485},"original_capture.click_network.provenance",[846,1326,1327,1328,861],{"name":1487,"type":724,"required":312,"description":1488,"nullable":312,"typeLabel":522},"original_capture.ad_referral","The first Meta ad referral of the conversation that created the lead, or null.",{"name":1490,"type":1491,"required":312,"description":1492,"nullable":307,"typeLabel":490,"enumValues":1493},"original_capture.ad_referral.channel","\"whatsapp\" | \"facebook\" | \"instagram\"","The channel.",[1494,1495,1496],"whatsapp","facebook","instagram",{"name":1498,"type":1499,"required":312,"description":1500,"nullable":307,"typeLabel":490,"enumValues":1501},"original_capture.ad_referral.source_type","\"ad\" | \"post\" | \"link\" | \"other\"","What opened the conversation.",[1502,1503,1504,674],"ad","post","link",{"name":1506,"type":544,"required":312,"description":1507,"nullable":312,"typeLabel":490},"original_capture.ad_referral.ad_id","The ad or post id, or null.",{"name":1509,"type":811,"required":312,"description":1510,"nullable":307,"typeLabel":490,"constraints":1511},"original_capture.ad_referral.referred_at","Meta's time for the referral.",{"format":692},{"name":1513,"type":1514,"required":312,"description":1515,"nullable":307,"typeLabel":490,"enumValues":1516,"constant":312},"original_capture.ad_referral.provenance","\"provider\"","Always `provider`: only the signed Meta webhooks write it.",[846],{"name":1518,"type":724,"required":312,"description":1519,"nullable":312,"typeLabel":522},"original_capture.family_origin","The transfer from another team of your organization that created the lead, or null.",{"name":1521,"type":490,"required":312,"description":1522,"nullable":307,"typeLabel":490,"constraints":1523},"original_capture.family_origin.team","The team of your organization the lead came from.",{"prefixes":1524},[513],{"name":1526,"type":544,"required":312,"description":1527,"nullable":312,"typeLabel":490,"constraints":1528},"original_capture.family_origin.lead","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. `automated` tells an assistant's handoff from a move made by a person.",{"prefixes":1529},[606],{"name":1531,"type":540,"required":312,"description":1532,"nullable":307,"typeLabel":540},"original_capture.family_origin.automated","True for an assistant's handoff.",{"name":1534,"type":522,"required":312,"description":1535,"nullable":307,"typeLabel":522},"original_capture.audience","Not available in this version.",{"name":1537,"type":51,"required":312,"description":1538,"nullable":312,"typeLabel":51,"typeTokens":1539},"original_capture.audience.value","Always null.",[],{"name":1541,"type":1542,"required":312,"description":1543,"nullable":307,"typeLabel":490,"enumValues":1544,"constant":312},"original_capture.audience.missing_reason","\"unsupported\"","Totem does not record audiences; an ad set is not one.",[877],{"name":1546,"type":1547,"required":312,"description":1548,"nullable":312,"typeLabel":490,"enumValues":1549},"original_capture_missing_reason","\"not_captured\" | null","`not_captured` when `original_capture` is null, otherwise null.",[861],{"name":1551,"type":724,"required":312,"description":1552,"nullable":312,"typeLabel":522},"latest_submission","The newest ad submission recorded for this lead, including a repeat on an existing contact; null when none is recorded. A submission the ad platform reports deleted (a LinkedIn member deleting their form response) is no longer shown, and once the newest one expires or is withdrawn an older one can show instead.",{"name":1554,"type":1555,"required":312,"description":1556,"nullable":307,"typeLabel":490,"enumValues":1557},"latest_submission.provider","\"meta\" | \"google_ads\" | \"linkedin\"","The ad platform.",[1558,795,796],"meta",{"name":1560,"type":689,"required":312,"description":1561,"nullable":312,"typeLabel":490,"constraints":1562},"latest_submission.submitted_at","When the platform says it was submitted, or null.",{"format":692},{"name":1564,"type":522,"required":312,"description":1314,"nullable":307,"typeLabel":522},"latest_submission.campaign",{"name":1566,"type":522,"required":312,"description":1317,"nullable":307,"typeLabel":522},"latest_submission.campaign.id",{"name":1568,"type":544,"required":312,"description":1320,"nullable":312,"typeLabel":490},"latest_submission.campaign.id.value",{"name":1570,"type":1323,"required":312,"description":1324,"nullable":307,"typeLabel":490,"enumValues":1571},"latest_submission.campaign.id.provenance",[846,1326,1327,1328,861],{"name":1573,"type":522,"required":312,"description":1331,"nullable":307,"typeLabel":522},"latest_submission.campaign.name",{"name":1575,"type":544,"required":312,"description":1320,"nullable":312,"typeLabel":490},"latest_submission.campaign.name.value",{"name":1577,"type":1323,"required":312,"description":1324,"nullable":307,"typeLabel":490,"enumValues":1578},"latest_submission.campaign.name.provenance",[846,1326,1327,1328,861],{"name":1580,"type":522,"required":312,"description":1339,"nullable":307,"typeLabel":522},"latest_submission.ad",{"name":1582,"type":522,"required":312,"description":1317,"nullable":307,"typeLabel":522},"latest_submission.ad.id",{"name":1584,"type":544,"required":312,"description":1320,"nullable":312,"typeLabel":490},"latest_submission.ad.id.value",{"name":1586,"type":1323,"required":312,"description":1324,"nullable":307,"typeLabel":490,"enumValues":1587},"latest_submission.ad.id.provenance",[846,1326,1327,1328,861],{"name":1589,"type":522,"required":312,"description":1331,"nullable":307,"typeLabel":522},"latest_submission.ad.name",{"name":1591,"type":544,"required":312,"description":1320,"nullable":312,"typeLabel":490},"latest_submission.ad.name.value",{"name":1593,"type":1323,"required":312,"description":1324,"nullable":307,"typeLabel":490,"enumValues":1594},"latest_submission.ad.name.provenance",[846,1326,1327,1328,861],{"name":1596,"type":522,"required":312,"description":1356,"nullable":307,"typeLabel":522},"latest_submission.ad_set",{"name":1598,"type":522,"required":312,"description":1317,"nullable":307,"typeLabel":522},"latest_submission.ad_set.id",{"name":1600,"type":544,"required":312,"description":1320,"nullable":312,"typeLabel":490},"latest_submission.ad_set.id.value",{"name":1602,"type":1323,"required":312,"description":1324,"nullable":307,"typeLabel":490,"enumValues":1603},"latest_submission.ad_set.id.provenance",[846,1326,1327,1328,861],{"name":1605,"type":522,"required":312,"description":1331,"nullable":307,"typeLabel":522},"latest_submission.ad_set.name",{"name":1607,"type":544,"required":312,"description":1320,"nullable":312,"typeLabel":490},"latest_submission.ad_set.name.value",{"name":1609,"type":1323,"required":312,"description":1324,"nullable":307,"typeLabel":490,"enumValues":1610},"latest_submission.ad_set.name.provenance",[846,1326,1327,1328,861],{"name":1612,"type":522,"required":312,"description":1373,"nullable":307,"typeLabel":522},"latest_submission.ad_group",{"name":1614,"type":522,"required":312,"description":1317,"nullable":307,"typeLabel":522},"latest_submission.ad_group.id",{"name":1616,"type":544,"required":312,"description":1320,"nullable":312,"typeLabel":490},"latest_submission.ad_group.id.value",{"name":1618,"type":1323,"required":312,"description":1324,"nullable":307,"typeLabel":490,"enumValues":1619},"latest_submission.ad_group.id.provenance",[846,1326,1327,1328,861],{"name":1621,"type":522,"required":312,"description":1383,"nullable":307,"typeLabel":522},"latest_submission.form",{"name":1623,"type":522,"required":312,"description":1317,"nullable":307,"typeLabel":522},"latest_submission.form.id",{"name":1625,"type":544,"required":312,"description":1320,"nullable":312,"typeLabel":490},"latest_submission.form.id.value",{"name":1627,"type":1323,"required":312,"description":1324,"nullable":307,"typeLabel":490,"enumValues":1628},"latest_submission.form.id.provenance",[846,1326,1327,1328,861],{"name":1630,"type":522,"required":312,"description":1331,"nullable":307,"typeLabel":522},"latest_submission.form.name",{"name":1632,"type":544,"required":312,"description":1320,"nullable":312,"typeLabel":490},"latest_submission.form.name.value",{"name":1634,"type":1323,"required":312,"description":1324,"nullable":307,"typeLabel":490,"enumValues":1635},"latest_submission.form.name.provenance",[846,1326,1327,1328,861],{"name":1637,"type":522,"required":312,"description":1400,"nullable":307,"typeLabel":522},"latest_submission.creative",{"name":1639,"type":522,"required":312,"description":1317,"nullable":307,"typeLabel":522},"latest_submission.creative.id",{"name":1641,"type":544,"required":312,"description":1320,"nullable":312,"typeLabel":490},"latest_submission.creative.id.value",{"name":1643,"type":1323,"required":312,"description":1324,"nullable":307,"typeLabel":490,"enumValues":1644},"latest_submission.creative.id.provenance",[846,1326,1327,1328,861],{"name":1646,"type":522,"required":312,"description":1410,"nullable":307,"typeLabel":522},"latest_submission.asset_group",{"name":1648,"type":522,"required":312,"description":1317,"nullable":307,"typeLabel":522},"latest_submission.asset_group.id",{"name":1650,"type":544,"required":312,"description":1320,"nullable":312,"typeLabel":490},"latest_submission.asset_group.id.value",{"name":1652,"type":1323,"required":312,"description":1324,"nullable":307,"typeLabel":490,"enumValues":1653},"latest_submission.asset_group.id.provenance",[846,1326,1327,1328,861],{"name":1655,"type":724,"required":312,"description":1656,"nullable":312,"typeLabel":522},"latest_submission.utm","Its UTM keys, or null.",{"name":1658,"type":522,"required":312,"description":1440,"nullable":307,"typeLabel":522},"latest_submission.utm.source",{"name":1660,"type":544,"required":312,"description":1320,"nullable":312,"typeLabel":490},"latest_submission.utm.source.value",{"name":1662,"type":1323,"required":312,"description":1324,"nullable":307,"typeLabel":490,"enumValues":1663},"latest_submission.utm.source.provenance",[846,1326,1327,1328,861],{"name":1665,"type":522,"required":312,"description":1448,"nullable":307,"typeLabel":522},"latest_submission.utm.medium",{"name":1667,"type":544,"required":312,"description":1320,"nullable":312,"typeLabel":490},"latest_submission.utm.medium.value",{"name":1669,"type":1323,"required":312,"description":1324,"nullable":307,"typeLabel":490,"enumValues":1670},"latest_submission.utm.medium.provenance",[846,1326,1327,1328,861],{"name":1672,"type":522,"required":312,"description":1456,"nullable":307,"typeLabel":522},"latest_submission.utm.campaign",{"name":1674,"type":544,"required":312,"description":1320,"nullable":312,"typeLabel":490},"latest_submission.utm.campaign.value",{"name":1676,"type":1323,"required":312,"description":1324,"nullable":307,"typeLabel":490,"enumValues":1677},"latest_submission.utm.campaign.provenance",[846,1326,1327,1328,861],{"name":1679,"type":522,"required":312,"description":1464,"nullable":307,"typeLabel":522},"latest_submission.utm.term",{"name":1681,"type":544,"required":312,"description":1320,"nullable":312,"typeLabel":490},"latest_submission.utm.term.value",{"name":1683,"type":1323,"required":312,"description":1324,"nullable":307,"typeLabel":490,"enumValues":1684},"latest_submission.utm.term.provenance",[846,1326,1327,1328,861],{"name":1686,"type":522,"required":312,"description":1472,"nullable":307,"typeLabel":522},"latest_submission.utm.content",{"name":1688,"type":544,"required":312,"description":1320,"nullable":312,"typeLabel":490},"latest_submission.utm.content.value",{"name":1690,"type":1323,"required":312,"description":1324,"nullable":307,"typeLabel":490,"enumValues":1691},"latest_submission.utm.content.provenance",[846,1326,1327,1328,861],{"name":1693,"type":689,"required":312,"description":1694,"nullable":312,"typeLabel":490,"constraints":1695},"latest_submission.expires_at","When this submission stops being readable (Google Ads and LinkedIn keep it 90 days); null for Meta.",{"format":692},{"name":1697,"type":1547,"required":312,"description":1698,"nullable":312,"typeLabel":490,"enumValues":1699},"latest_submission_missing_reason","`not_captured` when `latest_submission` is null, otherwise null.",[861],{"name":145,"type":484,"required":312,"description":815,"nullable":307,"typeLabel":484,"constraints":1701},{"minimum":441},{"name":818,"type":811,"required":312,"description":819,"nullable":307,"typeLabel":490,"constraints":1703},{"format":692},{"id":550,"object":152,"livemode":307,"team":551,"original_capture":1705,"original_capture_missing_reason":311,"latest_submission":311,"latest_submission_missing_reason":861,"version":441,"updated_at":878},{"capture":841,"captured_at":570,"source":568,"source_hint":311,"source_channel":311,"external_provider":311,"received_at":570,"submitted_at":842,"origin":311,"campaign":1706,"ad":1709,"ad_set":1712,"ad_group":1715,"form":1717,"creative":1720,"asset_group":1722,"page":1724,"utm":311,"click_network":1727,"ad_referral":311,"family_origin":311,"audience":1728},{"id":1707,"name":1708},{"value":845,"provenance":846},{"value":848,"provenance":846},{"id":1710,"name":1711},{"value":851,"provenance":846},{"value":853,"provenance":846},{"id":1713,"name":1714},{"value":856,"provenance":846},{"value":858,"provenance":846},{"id":1716},{"value":311,"provenance":861},{"id":1718,"name":1719},{"value":864,"provenance":846},{"value":866,"provenance":846},{"id":1721},{"value":311,"provenance":861},{"id":1723},{"value":311,"provenance":861},{"id":1725,"name":1726},{"value":873,"provenance":846},{"value":555,"provenance":846},{"value":311,"provenance":861},{"value":311,"missing_reason":877},[],[],{"name":830,"description":1732,"fields":1733,"example":1793,"variants":1796,"sharedFields":1797},"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.",[1734,1737,1741,1742,1746,1750,1754,1757,1761,1768,1771,1775,1779,1786,1789,1791],{"name":602,"type":490,"required":312,"description":615,"nullable":307,"typeLabel":490,"constraints":1735},{"prefixes":1736},[606],{"name":522,"type":1738,"required":312,"description":1739,"nullable":307,"typeLabel":490,"enumValues":1740,"constant":312},"\"lead_response\"","Always `lead_response`.",[155],{"name":623,"type":540,"required":312,"description":624,"nullable":307,"typeLabel":540},{"name":626,"type":490,"required":312,"description":1743,"nullable":307,"typeLabel":490,"constraints":1744},"The team this record belongs to.",{"prefixes":1745},[513],{"name":1747,"type":689,"required":312,"description":1748,"nullable":312,"typeLabel":490,"constraints":1749},"last_inbound_at","The latest message from the customer on any of the lead's conversations (UTC), or null. Not counted: erased messages, imported WhatsApp history and web-chat visitor turns. Instagram shares cannot be told apart and count.",{"format":692},{"name":1751,"type":689,"required":312,"description":1752,"nullable":312,"typeLabel":490,"constraints":1753},"last_outbound_at","The latest message sent to the customer that did not fail, on any of the lead's conversations and whoever sent it (UTC), or null. Imported WhatsApp history counts.",{"format":692},{"name":1755,"type":540,"required":312,"description":1756,"nullable":307,"typeLabel":540},"awaiting_reply","True when `last_inbound_at` is newer than the latest reply on any of the lead's conversations. A reply is a sent message that did not fail and was recorded as a conversation reply or with no purpose; outreach, transactional messages (such as reminders) and imported history do not count. Most stored messages carry no purpose, so an automated send recorded without one also counts as a reply. False when the customer has never written.",{"name":1758,"type":689,"required":312,"description":1759,"nullable":312,"typeLabel":490,"constraints":1760},"last_answered_call_at","When the latest of the lead's calls whose `outcome` is `answered_human` or `answered_ai` started (UTC), or null. A connected outbound call on Totem's phone lines reads `unknown`, so it is not counted.",{"format":692},{"name":1762,"type":1763,"required":312,"description":1764,"nullable":312,"typeLabel":490,"enumValues":1765},"last_whatsapp_delivery_status","\"delivered\" | \"read\" | \"failed\" | null","`delivered`, `read` or `failed` for the latest message sent to the lead on WhatsApp. Null when that message has no receipt yet (`sent` is never stored) or the lead has no message sent on WhatsApp.",[1766,598,1767],"delivered","failed",{"name":1769,"type":522,"required":312,"description":1770,"nullable":307,"typeLabel":522},"coverage","What these facts were computed from.",{"name":1772,"type":484,"required":312,"description":1773,"nullable":307,"typeLabel":484,"constraints":1774},"coverage.conversations","The lead's conversations these facts were computed from, newest first; at most 20.",{"minimum":458,"maximum":430},{"name":1776,"type":484,"required":312,"description":1777,"nullable":307,"typeLabel":484,"constraints":1778},"coverage.calls","The lead's calls `last_answered_call_at` was computed from, newest first; at most 50.",{"minimum":458,"maximum":447},{"name":1780,"type":1781,"required":312,"description":1782,"nullable":307,"typeLabel":762,"enumValues":1783},"coverage.channels_without_delivery_data","Array\u003C\"sms\" | \"facebook\" | \"instagram\" | \"tiktok\" | \"chatbot\" | \"email\">","The channels of those conversations that store no delivery receipts (every channel but WhatsApp), sorted.",[1784,1495,1496,1785,794,181],"sms","tiktok",{"name":1787,"type":540,"required":312,"description":1788,"nullable":307,"typeLabel":540},"coverage.truncated","True 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_reply` can miss an older reply.",{"name":145,"type":484,"required":312,"description":815,"nullable":307,"typeLabel":484,"constraints":1790},{"minimum":441},{"name":818,"type":811,"required":312,"description":819,"nullable":307,"typeLabel":490,"constraints":1792},{"format":692},{"id":550,"object":155,"livemode":307,"team":551,"last_inbound_at":880,"last_outbound_at":881,"awaiting_reply":307,"last_answered_call_at":882,"last_whatsapp_delivery_status":598,"coverage":1794,"version":885,"updated_at":886},{"conversations":300,"calls":441,"channels_without_delivery_data":1795,"truncated":307},[181],[],[],{"name":966,"description":1799,"fields":1800,"example":1887,"variants":1891,"sharedFields":1952},"One stage, status or assignee transition of a lead. Activities never change once written.",[1801,1805,1809,1810,1818,1821,1825,1828,1832,1835,1840,1845,1848,1851,1859,1863,1868,1875,1879,1883,1885],{"name":602,"type":490,"required":312,"description":615,"nullable":307,"typeLabel":490,"constraints":1802},{"prefixes":1803},[1804],"act_",{"name":522,"type":1806,"required":312,"description":1807,"nullable":307,"typeLabel":490,"enumValues":1808,"constant":312},"\"activity\"","Always `activity`.",[975],{"name":623,"type":540,"required":312,"description":624,"nullable":307,"typeLabel":540},{"name":1811,"type":1812,"required":312,"description":190,"nullable":307,"typeLabel":490,"enumValues":1813},"type","\"status_changed\" | \"archived\" | \"unarchived\" | \"revived\" | \"stage_changed\" | \"assignees_changed\"",[1814,77,1815,1816,976,1817],"status_changed","unarchived","revived","assignees_changed",{"name":626,"type":490,"required":312,"description":1262,"nullable":307,"typeLabel":490,"constraints":1819},{"prefixes":1820},[513],{"name":23,"type":544,"required":312,"description":1822,"nullable":312,"typeLabel":490,"constraints":1823},"The lead that moved. Null only while Totem has not yet assigned the lead its id.",{"prefixes":1824},[606],{"name":257,"type":811,"required":312,"description":1826,"nullable":307,"typeLabel":490,"constraints":1827},"When the change was saved.",{"format":692},{"name":230,"type":1829,"required":312,"description":1830,"nullable":307,"typeLabel":490,"enumValues":1831},"\"human\" | \"ai\" | \"system\" | \"api\" | \"unknown\"","Who made the change: a person, the AI, Totem automation, an API caller, or unknown. Totem knows who made a change only when the same save wrote the lead's status, so a stage or assignee change made on its own reads unknown.",[234,238,242,246,250],{"name":1833,"type":724,"required":312,"description":1834,"nullable":312,"typeLabel":522},"stage_snapshot","The stage the lead was in after the change (for \"clear pipeline data\", the stage it left), or null.",{"name":1836,"type":544,"required":312,"description":1837,"nullable":312,"typeLabel":490,"constraints":1838},"stage_snapshot.stage","The stage.",{"prefixes":1839},[503],{"name":1841,"type":544,"required":312,"description":1842,"nullable":312,"typeLabel":490,"constraints":1843},"stage_snapshot.board","Its board, or null for a legacy stage without one.",{"prefixes":1844},[498],{"name":1846,"type":544,"required":312,"description":1847,"nullable":312,"typeLabel":490},"stage_snapshot.name","The stage name when the change was recorded, or null when the stage was already deleted.",{"name":1849,"type":749,"required":312,"description":1850,"nullable":312,"typeLabel":751},"value_snapshot","The estimated value at that moment, in major units, or null.",{"name":1852,"type":1853,"required":312,"description":1854,"nullable":312,"typeLabel":1855,"enumValues":1856,"constraints":1857},"from","\"new\" | \"contacted\" | \"qualified\" | \"negotiating\" | \"converted\" | \"lost\" | \"archived\" | \"unreachable\" | object | Array\u003Cstring> | null","The status before, or null when there was none. The stage and board before, or null when the lead had neither. The assigned members before, sorted.","string | object | Array\u003Cstring>",[58,62,65,68,71,74,77,80],{"prefixes":1858},[778],{"name":1860,"type":544,"required":312,"description":1837,"nullable":312,"typeLabel":490,"constraints":1861},"from.stage",{"prefixes":1862},[503],{"name":1864,"type":544,"required":312,"description":1865,"nullable":312,"typeLabel":490,"constraints":1866},"from.board","The board, or null for a legacy stage without one.",{"prefixes":1867},[498],{"name":1869,"type":1870,"required":312,"description":1871,"nullable":307,"typeLabel":1855,"enumValues":1872,"constraints":1873},"to","\"new\" | \"contacted\" | \"qualified\" | \"negotiating\" | \"converted\" | \"lost\" | \"archived\" | \"unreachable\" | object | Array\u003Cstring>","The status after. The stage and board after. The assigned members after, sorted.",[58,62,65,68,71,74,77,80],{"prefixes":1874},[778],{"name":1876,"type":544,"required":312,"description":1837,"nullable":312,"typeLabel":490,"constraints":1877},"to.stage",{"prefixes":1878},[503],{"name":1880,"type":544,"required":312,"description":1865,"nullable":312,"typeLabel":490,"constraints":1881},"to.board",{"prefixes":1882},[498],{"name":145,"type":484,"required":312,"description":815,"nullable":307,"typeLabel":484,"constraints":1884},{"minimum":441},{"name":818,"type":811,"required":312,"description":819,"nullable":307,"typeLabel":490,"constraints":1886},{"format":692},{"id":974,"object":975,"livemode":307,"type":976,"team":551,"lead":550,"occurred_at":977,"actor_kind":238,"stage_snapshot":1888,"value_snapshot":567,"from":1889,"to":1890,"version":441,"updated_at":983},{"stage":564,"board":563,"name":979},{"stage":981,"board":563},{"stage":564,"board":563},[1892,1908,1934],{"key":1893,"title":190,"description":1894,"discriminator":1895,"distinct":1897,"ownFields":1898},"type-status_changed","A status transition.",{"key":1811,"values":1896},[1814,77,1815,1816],[],[1899,1902,1905],{"name":1811,"type":1900,"required":312,"description":1901,"nullable":307,"typeLabel":490,"enumValues":1896},"\"status_changed\" | \"archived\" | \"unarchived\" | \"revived\"","`status_changed`, `archived`, `unarchived`, or `revived` (the contact came back on their own and reopened an archived lead).",{"name":1852,"type":657,"required":312,"description":1903,"nullable":312,"typeLabel":490,"enumValues":1904},"The status before, or null when there was none.",[58,62,65,68,71,74,77,80],{"name":1869,"type":505,"required":312,"description":1906,"nullable":307,"typeLabel":490,"enumValues":1907},"The status after.",[58,62,65,68,71,74,77,80],{"key":1909,"title":190,"description":1910,"discriminator":1911,"distinct":1913,"ownFields":1914},"type-stage_changed","A stage move.",{"key":1811,"values":1912},[976],[],[1915,1918,1920,1923,1926,1928,1931],{"name":1811,"type":1916,"required":312,"description":1917,"nullable":307,"typeLabel":490,"enumValues":1912,"constant":312},"\"stage_changed\"","Always `stage_changed`.",{"name":1852,"type":724,"required":312,"description":1919,"nullable":312,"typeLabel":522},"The stage and board before, or null when the lead had neither.",{"name":1860,"type":544,"required":312,"description":1837,"nullable":312,"typeLabel":490,"constraints":1921},{"prefixes":1922},[503],{"name":1864,"type":544,"required":312,"description":1865,"nullable":312,"typeLabel":490,"constraints":1924},{"prefixes":1925},[498],{"name":1869,"type":522,"required":312,"description":1927,"nullable":307,"typeLabel":522},"The stage and board after.",{"name":1876,"type":544,"required":312,"description":1837,"nullable":312,"typeLabel":490,"constraints":1929},{"prefixes":1930},[503],{"name":1880,"type":544,"required":312,"description":1865,"nullable":312,"typeLabel":490,"constraints":1932},{"prefixes":1933},[498],{"key":1935,"title":190,"description":1936,"discriminator":1937,"distinct":1939,"ownFields":1940},"type-assignees_changed","A change of assigned members.",{"key":1811,"values":1938},[1817],[],[1941,1944,1948],{"name":1811,"type":1942,"required":312,"description":1943,"nullable":307,"typeLabel":490,"enumValues":1938,"constant":312},"\"assignees_changed\"","Always `assignees_changed`.",{"name":1852,"type":762,"required":312,"description":1945,"nullable":307,"typeLabel":762,"constraints":1946},"The assigned members before, sorted.",{"prefixes":1947},[778],{"name":1869,"type":762,"required":312,"description":1949,"nullable":307,"typeLabel":762,"constraints":1950},"The assigned members after, sorted.",{"prefixes":1951},[778],[1953,1956,1958,1959,1962,1965,1967,1969,1970,1973,1976,1977,1978,1980],{"name":602,"type":490,"required":312,"description":615,"nullable":307,"typeLabel":490,"constraints":1954},{"prefixes":1955},[1804],{"name":522,"type":1806,"required":312,"description":1807,"nullable":307,"typeLabel":490,"enumValues":1957,"constant":312},[975],{"name":623,"type":540,"required":312,"description":624,"nullable":307,"typeLabel":540},{"name":626,"type":490,"required":312,"description":1262,"nullable":307,"typeLabel":490,"constraints":1960},{"prefixes":1961},[513],{"name":23,"type":544,"required":312,"description":1822,"nullable":312,"typeLabel":490,"constraints":1963},{"prefixes":1964},[606],{"name":257,"type":811,"required":312,"description":1826,"nullable":307,"typeLabel":490,"constraints":1966},{"format":692},{"name":230,"type":1829,"required":312,"description":1830,"nullable":307,"typeLabel":490,"enumValues":1968},[234,238,242,246,250],{"name":1833,"type":724,"required":312,"description":1834,"nullable":312,"typeLabel":522},{"name":1836,"type":544,"required":312,"description":1837,"nullable":312,"typeLabel":490,"constraints":1971},{"prefixes":1972},[503],{"name":1841,"type":544,"required":312,"description":1842,"nullable":312,"typeLabel":490,"constraints":1974},{"prefixes":1975},[498],{"name":1846,"type":544,"required":312,"description":1847,"nullable":312,"typeLabel":490},{"name":1849,"type":749,"required":312,"description":1850,"nullable":312,"typeLabel":751},{"name":145,"type":484,"required":312,"description":815,"nullable":307,"typeLabel":484,"constraints":1979},{"minimum":441},{"name":818,"type":811,"required":312,"description":819,"nullable":307,"typeLabel":490,"constraints":1981},{"format":692},{"name":1012,"description":1983,"fields":1984,"example":2049,"variants":2054,"sharedFields":2055},"A board with its stages in pipeline order.",[1985,1988,1992,1993,1996,1999,2002,2005,2010,2014,2019,2024,2028,2031,2034,2037,2040,2045,2047],{"name":602,"type":490,"required":312,"description":615,"nullable":307,"typeLabel":490,"constraints":1986},{"prefixes":1987},[498],{"name":522,"type":1989,"required":312,"description":1990,"nullable":307,"typeLabel":490,"enumValues":1991,"constant":312},"\"board\"","Always `board`.",[28],{"name":623,"type":540,"required":312,"description":624,"nullable":307,"typeLabel":540},{"name":626,"type":490,"required":312,"description":1743,"nullable":307,"typeLabel":490,"constraints":1994},{"prefixes":1995},[513],{"name":637,"type":544,"required":312,"description":1997,"nullable":312,"typeLabel":490,"constraints":1998},"The board's name, or null when none is stored.",{"minLength":441},{"name":2000,"type":540,"required":312,"description":2001,"nullable":307,"typeLabel":540},"is_default","True for the team's default board, where new leads land unless routed elsewhere.",{"name":2003,"type":540,"required":312,"description":2004,"nullable":307,"typeLabel":540},"is_archived","True when the board is archived (hidden from the board selector). Its leads still export.",{"name":2006,"type":544,"required":312,"description":2007,"nullable":312,"typeLabel":490,"constraints":2008},"appointment_booked_stage","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.",{"prefixes":2009},[503],{"name":2011,"type":2012,"required":312,"description":2013,"nullable":307,"typeLabel":2012},"stages","Array\u003Cobject>","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.",{"name":2015,"type":2016,"required":312,"description":2017,"nullable":307,"typeLabel":490,"enumValues":2018,"constant":312},"stages[].object","\"stage\"","Always `stage`.",[32],{"name":2020,"type":490,"required":312,"description":2021,"nullable":307,"typeLabel":490,"constraints":2022},"stages[].id","Public id of the stage; a lead's `stage` names it.",{"prefixes":2023},[503],{"name":2025,"type":544,"required":312,"description":2026,"nullable":312,"typeLabel":490,"constraints":2027},"stages[].name","The stage's name, or null when none is stored.",{"minLength":441},{"name":2029,"type":749,"required":312,"description":2030,"nullable":312,"typeLabel":751},"stages[].position","The stage's position on its board, left to right; null when the stored position is not a number. Stages are listed in this order.",{"name":2032,"type":540,"required":312,"description":2033,"nullable":307,"typeLabel":540},"stages[].is_default","True for the stage new leads of this board enter.",{"name":2035,"type":540,"required":312,"description":2036,"nullable":307,"typeLabel":540},"stages[].is_final","True for a final stage: moving a lead here marks it converted.",{"name":2038,"type":540,"required":312,"description":2039,"nullable":307,"typeLabel":540},"stages[].is_archive","True for an archive stage, whose leads are hidden from the main board view.",{"name":2041,"type":2042,"required":312,"description":2043,"nullable":312,"typeLabel":490,"enumValues":2044},"stages[].mode","\"standard\" | \"supervised\" | \"automated\" | null","Who moves leads: `standard` (people only), `supervised` (AI may move leads in, people move them out) or `automated` (AI runs outreach and moves leads in and out); null for a value this version does not know.",[277,281,285],{"name":145,"type":484,"required":312,"description":815,"nullable":307,"typeLabel":484,"constraints":2046},{"minimum":441},{"name":818,"type":811,"required":312,"description":819,"nullable":307,"typeLabel":490,"constraints":2048},{"format":692},{"id":563,"object":28,"livemode":307,"team":551,"name":1020,"is_default":312,"is_archived":307,"appointment_booked_stage":1021,"stages":2050,"version":1028,"updated_at":1029},[2051,2052,2053],{"object":32,"id":981,"name":1024,"position":458,"is_default":312,"is_final":307,"is_archive":307,"mode":285},{"object":32,"id":564,"name":979,"position":441,"is_default":307,"is_final":307,"is_archive":307,"mode":281},{"object":32,"id":1021,"name":1027,"position":300,"is_default":307,"is_final":312,"is_archive":307,"mode":277},[],[],[2057,2064,2068,2072,2078,2082,2088,2094,2098,2102,2107,2111,2116,2122,2129,2135,2141,2148,2152,2158,2163],{"code":574,"status":2058,"title":2059,"wireTitle":2059,"action":2060,"description":2061,"fix":2062,"retryable":307,"retry":2063},400,"Invalid request","fix_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.","no",{"code":586,"status":2058,"title":2065,"wireTitle":2065,"action":2060,"description":2066,"fix":2067,"retryable":307,"retry":2063},"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":575,"status":2058,"title":2069,"wireTitle":2069,"action":2060,"description":2070,"fix":2071,"retryable":307,"retry":2063},"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":576,"status":2073,"title":2074,"wireTitle":2074,"action":2075,"description":2076,"fix":2077,"retryable":307,"retry":2063},401,"Invalid credentials","check_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":577,"status":2073,"title":2079,"wireTitle":2079,"action":2075,"description":2080,"fix":2081,"retryable":307,"retry":2063},"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":578,"status":2083,"title":2084,"wireTitle":2084,"action":2085,"description":2086,"fix":2087,"retryable":307,"retry":2063},403,"Insufficient scope","contact_support","The key lacks a permission this endpoint needs. Every v1.0a key holds the full read set, so this should not happen.","Contact support and quote the `Totem-Request-Id` of the response.",{"code":579,"status":2083,"title":2089,"wireTitle":2089,"action":2090,"description":2091,"fix":2092,"retryable":312,"retry":2093},"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":580,"status":2083,"title":2095,"wireTitle":2095,"action":2075,"description":2096,"fix":2097,"retryable":307,"retry":2063},"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":588,"status":2083,"title":2099,"wireTitle":2099,"action":2090,"description":2100,"fix":2101,"retryable":312,"retry":2093},"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":589,"status":2083,"title":2103,"wireTitle":2103,"action":2090,"description":2104,"fix":2105,"retryable":307,"retry":2106},"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":581,"status":2083,"title":2108,"wireTitle":2108,"action":2090,"description":2109,"fix":2110,"retryable":312,"retry":2093},"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":888,"status":2112,"title":2113,"wireTitle":2113,"action":2060,"description":2114,"fix":2115,"retryable":307,"retry":2063},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":587,"status":2112,"title":2117,"wireTitle":2117,"action":2118,"description":2119,"fix":2120,"retryable":307,"retry":2121},"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":2123,"status":2124,"title":2125,"wireTitle":2125,"action":2126,"description":2127,"fix":2128,"retryable":307,"retry":2063},"resync_required",409,"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":590,"status":2124,"title":2130,"wireTitle":2130,"action":2131,"description":2132,"fix":2133,"retryable":312,"retry":2134},"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":2136,"status":2137,"title":2138,"wireTitle":2138,"action":2126,"description":2139,"fix":2140,"retryable":307,"retry":2063},"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":582,"status":2142,"title":2143,"wireTitle":2143,"action":2144,"description":2145,"fix":2146,"retryable":312,"retry":2147},429,"Rate limited","retry_after","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.","after",{"code":591,"status":2142,"title":2149,"wireTitle":2149,"action":2144,"description":2150,"fix":2151,"retryable":312,"retry":2147},"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":583,"status":2153,"title":2154,"wireTitle":2154,"action":2155,"description":2156,"fix":2157,"retryable":312,"retry":2155},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":584,"status":2159,"title":2160,"wireTitle":2160,"action":2155,"description":2161,"fix":2162,"retryable":312,"retry":2155},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":585,"status":2159,"title":2164,"wireTitle":2164,"action":2155,"description":2165,"fix":2166,"retryable":312,"retry":2155},"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.",[574,575,576,577,578,579,580,581,582,583,584,585],{"type":2169,"title":2113,"status":2112,"code":888,"request_id":2170,"doc_url":2169},"https:\u002F\u002Ftotemstudio.ai\u002Fdevelopers\u002Ferrors#resource_missing","req_0f6b2c1e-8d4a-4b7e-9c3f-5a2d1e7b9c40",[2172,2173,2174,2175,2176,2177,2178,2179,2180,2181,2182,2183,2184,2185,2186,2187],{"id":14,"text":15,"depth":300},{"id":124,"text":125,"depth":297},{"id":164,"text":165,"depth":297},{"id":217,"text":218,"depth":297},{"id":261,"text":262,"depth":297},{"id":472,"text":475,"depth":300},{"id":593,"text":595,"depth":300},{"id":890,"text":893,"depth":300},{"id":940,"text":942,"depth":300},{"id":986,"text":988,"depth":300},{"id":535,"text":535,"depth":300},{"id":833,"text":833,"depth":300},{"id":824,"text":824,"depth":300},{"id":830,"text":830,"depth":300},{"id":966,"text":966,"depth":300},{"id":1012,"text":1012,"depth":300},{"path":375,"title":376,"section":316},{"path":381,"title":382,"section":316},[2191,2192,2193,2194,2195],{"id":472,"method":473,"path":474,"summary":475},{"id":593,"method":473,"path":594,"summary":595},{"id":890,"method":891,"path":892,"summary":893},{"id":940,"method":473,"path":941,"summary":942},{"id":986,"method":473,"path":987,"summary":988},1792502789760]