Changes the customer-owned facts of one connected Gmail inbox: its display label, a context note, and the capture selection that decides what LAC keeps from the mailbox as accounting evidence. A Google grant alone selects nothing (capture_status: selection_required); the selection is made here or carried with the OAuth start, and the server stamps who chose it and when. Requires a write-scoped key or a signed-in company admin.
Portal API key minted in portal Settings → API access. Scope read or write; pinned to one company. Send as Authorization: Bearer lac_sk_....
Path Parameters
connection_id
integer<int64>
required
Body
application/json
customer_id
string
Target company. Optional for API keys.
label
string
context_note
string
capture
object
What LAC keeps from a connected Gmail inbox as accounting evidence. mailbox keeps every message (a designated receipts or invoices inbox), attachments keeps only messages carrying a file, label keeps only messages under one Gmail label. Read back on the connection list as capture with selected_by and selected_at, beside capture_status (selected_mailbox, selection_required, selection_invalid).
Show child attributes
Response
Update accepted; reread the connection list for the canonical state.
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"LAC Developers","description":"Developer documentation for Last Accounting Company customer API and MCP server.","colors":{"primary":"#1aa251","light":"#3ecf74","dark":"#16823f"},"logo":{"light":"https://mintcdn.com/lastaccountingcompany/t6yDKpFsZd7KsB-H/favicon.png?fit=max\u0026auto=format\u0026n=t6yDKpFsZd7KsB-H\u0026q=85\u0026s=6284d1423b8824129348afb245217405","dark":"https://mintcdn.com/lastaccountingcompany/t6yDKpFsZd7KsB-H/favicon.png?fit=max\u0026auto=format\u0026n=t6yDKpFsZd7KsB-H\u0026q=85\u0026s=6284d1423b8824129348afb245217405"},"favicon":"https://mintcdn.com/lastaccountingcompany/t6yDKpFsZd7KsB-H/favicon.png?fit=max\u0026auto=format\u0026n=t6yDKpFsZd7KsB-H\u0026q=85\u0026s=6284d1423b8824129348afb245217405","navbar":{"links":[{"href":"https://app.lastaccountingcompany.com","label":"Portal"}]},"footer":{"links":[{"header":"Last Accounting Company","items":[{"label":"Home","href":"https://lastaccountingcompany.com"},{"label":"Customer portal","href":"https://app.lastaccountingcompany.com"},{"label":"Privacy","href":"https://lastaccountingcompany.com/privacy"},{"label":"Terms","href":"https://lastaccountingcompany.com/terms"}]}]},"contextual":{"options":["copy","view"],"display":"header"},"styling":{"latex":false},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"lastaccountingcompany","hasAudioNarration":false,"actualSubdomain":"lastaccountingcompany","customDomains":["docs.lastaccountingcompany.com"],"gitSource":{"type":"github","owner":"the-last-accounting-company","repo":"thelastaccountingcompany","deployBranch":"main","contentDirectory":"developer-docs","isPrivate":true,"mountPath":"","label":""},"entitlements":{},"buildId":"6ac89726f69e845f5b7c5fd6","clientVersion":"0.0.4270","searchFilterCounts":[{"language":"default","tag":"API reference","count":176},{"language":"default","tag":"Endpoints","count":174},{"language":"default","tag":"Invoicing","count":34},{"language":"default","tag":"Connections","count":27},{"language":"default","tag":"Payroll","count":15},{"language":"default","tag":"Accounting","count":14},{"language":"default","tag":"Documents","count":14},{"language":"default","tag":"Payments","count":13},{"language":"default","tag":"Filings","count":9},{"language":"default","tag":"Books","count":8}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableContextualStarterQuestions":false,"enableAskAiSearchBar":true},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-rbac-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"site-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"starter-pricing","enabled":true,"variant":{"name":"control","enabled":true,"payload":{"type":"string","value":"control"},"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"wildcard-email-auth","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[]}
{"page":{"pagePath":"api-reference/connections/update-a-gmail-inbox-connection","slug":"/api-reference/connections/update-a-gmail-inbox-connection","pageMetadata":{"title":"Update a Gmail inbox connection","description":"Changes the customer-owned facts of one connected Gmail inbox: its display label, a context note, and the capture selection that decides what LAC keeps from the mailbox as accounting evidence. A Google grant alone selects nothing (`capture_status: selection_required`); the selection is made here or carried with the OAuth start, and the server stamps who chose it and when. Requires a write-scoped key or a signed-in company admin.","deprecated":null,"version":null,"openapi":"/openapi.yaml patch /inbox-connections/{connection_id}","href":"/api-reference/connections/update-a-gmail-inbox-connection","autogeneratedByOpenApi":true},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx, jsxs: _jsxs} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n code: \"code\",\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsxs(_components.p, {\n children: [\"Changes the customer-owned facts of one connected Gmail inbox: its display label, a context note, and the capture selection that decides what LAC keeps from the mailbox as accounting evidence. A Google grant alone selects nothing (\", _jsx(_components.code, {\n children: \"capture_status: selection_required\"\n }), \"); the selection is made here or carried with the OAuth start, and the server stamps who chose it and when. Requires a write-scoped key or a signed-in company admin.\"]\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){return _jsx(_Fragment,{})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Update a Gmail inbox connection","description":"Changes the customer-owned facts of one connected Gmail inbox: its display label, a context note, and the capture selection that decides what LAC keeps from the mailbox as accounting evidence. A Google grant alone selects nothing (`capture_status: selection_required`); the selection is made here or carried with the OAuth start, and the server stamps who chose it and when. Requires a write-scoped key or a signed-in company admin.","deprecated":null,"version":null,"openapi":"/openapi.yaml patch /inbox-connections/{connection_id}","href":"/api-reference/connections/update-a-gmail-inbox-connection","autogeneratedByOpenApi":true}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":[],"openApiReferenceData":{"operation":{"operationId":"updateInboxConnection","tags":["Connections"],"summary":"Update a Gmail inbox connection","description":"Changes the customer-owned facts of one connected Gmail inbox: its display label, a context note, and the capture selection that decides what LAC keeps from the mailbox as accounting evidence. A Google grant alone selects nothing (`capture_status: selection_required`); the selection is made here or carried with the OAuth start, and the server stamps who chose it and when. Requires a write-scoped key or a signed-in company admin.","parameters":["ea2ce2c0-ff51-41ee-a13f-9dd1ddec6ea0"],"requestBody":"12430967-1aad-45ca-a129-6213b5755783","responses":{"202":"f6a8abae-82ab-45e5-b7c3-433500030fda","400":"22c2bb3d-40f8-4aa5-9229-c8cfad857299","401":"52913cfc-4c45-459e-9f3a-0edd6088b668","403":"ac0838e2-3391-4bbb-9d5a-9fecf8174dde","404":"175bbded-c885-4822-b8cc-7822677876ae","409":"dd05f5bc-5fb4-4f5d-ad47-caa8faa6d0f3"},"method":"patch","type":"path","servers":["c2b5025d-91e7-4eb9-8e47-1bbb79026229"],"security":["3ca8961e-60dc-4dcf-a1f3-962de80bfbd5"],"path":"/inbox-connections/{connection_id}","baseUrlOptions":["https://api.app.lastaccountingcompany.com/portal"],"title":"Update a Gmail inbox connection","codeSamples":[],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{"ea2ce2c0-ff51-41ee-a13f-9dd1ddec6ea0":{"name":"connection_id","in":"path","required":true,"schema":{"type":"integer","format":"int64","isRequired":true,"uniqueKey":"","typeLabel":"integer\u003cint64>"}}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"customer_id":{"type":"string","description":"Target company. Optional for API keys.","uniqueKey":"customer_id","typeLabel":"string"},"label":{"type":"string","uniqueKey":"label","typeLabel":"string"},"context_note":{"type":"string","uniqueKey":"context_note","typeLabel":"string"},"capture":{"type":"object","description":"What LAC keeps from a connected Gmail inbox as accounting evidence. `mailbox` keeps every message (a designated receipts or invoices inbox), `attachments` keeps only messages carrying a file, `label` keeps only messages under one Gmail label. Read back on the connection list as `capture` with `selected_by` and `selected_at`, beside `capture_status` (`selected_mailbox`, `selection_required`, `selection_invalid`).","required":["scope"],"properties":{"scope":{"type":"string","enum":["mailbox","attachments","label"],"isRequired":true,"uniqueKey":"capture.scope","typeLabel":"enum\u003cstring>"},"label_id":{"type":"string","description":"Gmail label id; required when scope is `label`.","uniqueKey":"capture.label_id","typeLabel":"string"},"label_name":{"type":"string","description":"Display name of the label at selection time.","uniqueKey":"capture.label_name","typeLabel":"string"}},"uniqueKey":"capture","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"customer_id":"\u003cstring>","label":"\u003cstring>","context_note":"\u003cstring>"}}},"exampleType":"generated"}},"exampleType":"generated"},"responses":{"f6a8abae-82ab-45e5-b7c3-433500030fda":{"description":"Update accepted; reread the connection list for the canonical state.","content":{"_mintlify/placeholder":{"schema":{"type":"object","description":""}}}},"22c2bb3d-40f8-4aa5-9229-c8cfad857299":{"description":"The selection is not one the rail can honor (unknown scope, missing or malformed label id, or a non-Gmail connection).","content":{"_mintlify/placeholder":{"schema":{"type":"object","description":""}}}},"52913cfc-4c45-459e-9f3a-0edd6088b668":{"description":"Missing or invalid bearer token.","content":{"application/json":{"schema":{"type":"object","description":"Standard error envelope.","properties":{"error":{"type":"string","description":"Machine-readable error message.","uniqueKey":"error","typeLabel":"string"},"detail":{"type":"string","description":"Human-readable detail.","uniqueKey":"detail","typeLabel":"string"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":"\u003cstring>","detail":"\u003cstring>"}}},"exampleType":"generated"}},"exampleType":"generated"},"ac0838e2-3391-4bbb-9d5a-9fecf8174dde":{"description":"Insufficient scope or role — e.g. a read-scoped key on a mutating method, or an API key on an interactive-session-only endpoint.","content":{"application/json":{"schema":{"type":"object","description":"Standard error envelope.","properties":{"error":{"type":"string","description":"Machine-readable error message.","uniqueKey":"error","typeLabel":"string"},"detail":{"type":"string","description":"Human-readable detail.","uniqueKey":"detail","typeLabel":"string"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":"\u003cstring>","detail":"\u003cstring>"}}},"exampleType":"generated"}},"exampleType":"generated"},"175bbded-c885-4822-b8cc-7822677876ae":{"description":"No Gmail connection with this id belongs to the company; a capture selection is never accepted for a connection that does not exist.","content":{"_mintlify/placeholder":{"schema":{"type":"object","description":""}}}},"dd05f5bc-5fb4-4f5d-ad47-caa8faa6d0f3":{"description":"The chosen label is not one of the mailbox's current labels. The stored label name is always the mailbox's own name for the label, never the caller's.","content":{"_mintlify/placeholder":{"schema":{"type":"object","description":""}}}}},"security":{"3ca8961e-60dc-4dcf-a1f3-962de80bfbd5":{"apiKey":{"type":"http","scheme":"bearer","bearerFormat":"lac_sk_...","description":"Portal API key minted in portal Settings → API access. Scope `read` or `write`; pinned to one company. Send as `Authorization: Bearer lac_sk_...`.","scopes":[],"schemeName":"apiKey"}}},"servers":{"c2b5025d-91e7-4eb9-8e47-1bbb79026229":{"url":"https://api.app.lastaccountingcompany.com/portal","description":"Production (note the /portal base path)."}},"processedSecurityOptions":[{"schemes":[{"scheme":{"type":"http","scheme":"bearer","bearerFormat":"lac_sk_...","description":"Portal API key minted in portal Settings → API access. Scope `read` or `write`; pinned to one company. Send as `Authorization: Bearer lac_sk_...`.","scopes":[],"schemeName":"apiKey"},"schema":{"title":"Bearer Auth","type":"string","isRequired":true,"description":"Portal API key minted in portal Settings → API access. Scope `read` or `write`; pinned to one company. Send as `Authorization: Bearer lac_sk_...`.","format":"bearer","typeLabel":"string\u003cbearer>","deprecated":false},"schemeName":"apiKey","name":"Authorization"}],"title":"apiKey"}]},"originalFileLocation":"openapi.yaml"},"subdomain":"lastaccountingcompany","siteName":"LAC Developers","title":"Update a Gmail inbox connection - LAC Developers","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-10-09T07:26:39.252Z","originalFileLocation":"api-reference/connections/update-a-gmail-inbox-connection.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Changes the customer-owned facts of one connected Gmail inbox: its display label, a context note, and the capture selection that decides what LAC keeps from the mailbox as accounting evidence. A Google grant alone selects nothing (capture_status: selection_required); the selection is made here or carried with the OAuth start, and the server stamps who chose it and when. Requires a write-scoped key or a signed-in company admin.\">\u003cmeta data-mint-head name=\"application-name\" content=\"LAC Developers\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/lastaccountingcompany/p6PlJEp_YIYYenvU/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/lastaccountingcompany/p6PlJEp_YIYYenvU/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/lastaccountingcompany/p6PlJEp_YIYYenvU/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/lastaccountingcompany/p6PlJEp_YIYYenvU/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/lastaccountingcompany/p6PlJEp_YIYYenvU/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/lastaccountingcompany/p6PlJEp_YIYYenvU/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/lastaccountingcompany/p6PlJEp_YIYYenvU/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/lastaccountingcompany/p6PlJEp_YIYYenvU/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/lastaccountingcompany/p6PlJEp_YIYYenvU/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Update a Gmail inbox connection - LAC Developers\">\u003cmeta data-mint-head property=\"og:description\" content=\"Changes the customer-owned facts of one connected Gmail inbox: its display label, a context note, and the capture selection that decides what LAC keeps from the mailbox as accounting evidence. A Google grant alone selects nothing (capture_status: selection_required); the selection is made here or carried with the OAuth start, and the server stamps who chose it and when. Requires a write-scoped key or a signed-in company admin.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"LAC Developers\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.lastaccountingcompany.com/api-reference/connections/update-a-gmail-inbox-connection\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://lastaccountingcompany.mintlify.site/_mintlify/api/og/v2?division=Connections\u0026amp;title=Update+a+Gmail+inbox+connection\u0026amp;description=Changes+the+customer-owned+facts+of+one+connected+Gmail+inbox%3A+its+display+label%2C+a+context+note%2C+and+the+capture+selection+that+decides+what+LAC+keeps+from+the\u0026amp;theme=714bc0c16859e58845045bb7\u0026amp;signature=8d2d886f5d31fdfee2337f2afbeea83d546d2705e15141b37498218739e1e713\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Update a Gmail inbox connection - LAC Developers\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Changes the customer-owned facts of one connected Gmail inbox: its display label, a context note, and the capture selection that decides what LAC keeps from the mailbox as accounting evidence. A Google grant alone selects nothing (capture_status: selection_required); the selection is made here or carried with the OAuth start, and the server stamps who chose it and when. Requires a write-scoped key or a signed-in company admin.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://lastaccountingcompany.mintlify.site/_mintlify/api/og/v2?division=Connections\u0026amp;title=Update+a+Gmail+inbox+connection\u0026amp;description=Changes+the+customer-owned+facts+of+one+connected+Gmail+inbox%3A+its+display+label%2C+a+context+note%2C+and+the+capture+selection+that+decides+what+LAC+keeps+from+the\u0026amp;theme=714bc0c16859e58845045bb7\u0026amp;signature=8d2d886f5d31fdfee2337f2afbeea83d546d2705e15141b37498218739e1e713\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/lastaccountingcompany/p6PlJEp_YIYYenvU/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"LAC Developers\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#1aa251\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.lastaccountingcompany.com/api-reference/connections/update-a-gmail-inbox-connection\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api-reference/connections/update-a-gmail-inbox-connection.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.lastaccountingcompany.com/#organization\",\"name\":\"LAC Developers\",\"url\":\"https://docs.lastaccountingcompany.com\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/lastaccountingcompany/t6yDKpFsZd7KsB-H/favicon.png?fit=max\u0026auto=format\u0026n=t6yDKpFsZd7KsB-H\u0026q=85\u0026s=6284d1423b8824129348afb245217405\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.lastaccountingcompany.com#website\",\"name\":\"LAC Developers\",\"url\":\"https://docs.lastaccountingcompany.com\",\"publisher\":{\"@id\":\"https://docs.lastaccountingcompany.com/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.lastaccountingcompany.com/api-reference/connections/update-a-gmail-inbox-connection#webpage\",\"url\":\"https://docs.lastaccountingcompany.com/api-reference/connections/update-a-gmail-inbox-connection\",\"name\":\"Update a Gmail inbox connection\",\"description\":\"Changes the customer-owned facts of one connected Gmail inbox: its display label, a context note, and the capture selection that decides what LAC keeps from the mailbox as accounting evidence. A Google grant alone selects nothing (capture_status: selection_required); the selection is made here or carried with the OAuth start, and the server stamps who chose it and when. Requires a write-scoped key or a signed-in company admin.\",\"dateModified\":\"2026-10-09T07:26:39.252Z\",\"isPartOf\":{\"@id\":\"https://docs.lastaccountingcompany.com#website\"},\"breadcrumb\":{\"@id\":\"https://docs.lastaccountingcompany.com/api-reference/connections/update-a-gmail-inbox-connection#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.lastaccountingcompany.com/api-reference/connections/update-a-gmail-inbox-connection#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Endpoints\",\"item\":\"https://docs.lastaccountingcompany.com/api-reference/company/get-the-authenticated-identity\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Connections\",\"item\":\"https://docs.lastaccountingcompany.com/api-reference/connections/what-one-connection-delivered\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Update a Gmail inbox connection\",\"item\":\"https://docs.lastaccountingcompany.com/api-reference/connections/update-a-gmail-inbox-connection\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.lastaccountingcompany.com/api-reference/connections/update-a-gmail-inbox-connection#apireference\",\"headline\":\"Update a Gmail inbox connection\",\"name\":\"Update a Gmail inbox connection\",\"description\":\"Changes the customer-owned facts of one connected Gmail inbox: its display label, a context note, and the capture selection that decides what LAC keeps from the mailbox as accounting evidence. A Google grant alone selects nothing (capture_status: selection_required); the selection is made here or carried with the OAuth start, and the server stamps who chose it and when. Requires a write-scoped key or a signed-in company admin.\",\"url\":\"https://docs.lastaccountingcompany.com/api-reference/connections/update-a-gmail-inbox-connection\",\"mainEntityOfPage\":{\"@id\":\"https://docs.lastaccountingcompany.com/api-reference/connections/update-a-gmail-inbox-connection#webpage\"},\"dateModified\":\"2026-10-09T07:26:39.252Z\",\"publisher\":{\"@id\":\"https://docs.lastaccountingcompany.com/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.lastaccountingcompany.com#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"LAC Developers\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"LAC Developers\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/api-reference/connections/update-a-gmail-inbox-connection.md","siteName":"LAC Developers","nav":{"global":null,"tabs":[{"tab":"Documentation","pages":[{"title":"Documentation","href":""}]},{"tab":"API reference","groups":[{"group":"API reference","pages":[{"title":"API reference","href":"/api-reference"}]},{"group":"Endpoints","pages":[{"group":"Company","pages":[{"title":"Get the authenticated identity","deprecated":null,"version":null,"openapi":"/openapi.yaml get /me","href":"/api-reference/company/get-the-authenticated-identity"},{"title":"List accessible companies","deprecated":null,"version":null,"openapi":"/openapi.yaml get /customers","href":"/api-reference/company/list-accessible-companies"},{"title":"Get the company profile","deprecated":null,"version":null,"openapi":"/openapi.yaml get /company","href":"/api-reference/company/get-the-company-profile"},{"title":"Update the customer-facing name or company settings","deprecated":null,"version":null,"openapi":"/openapi.yaml post /company/settings","href":"/api-reference/company/update-the-customer-facing-name-or-company-settings"},{"title":"Get the portal overview dashboard","deprecated":null,"version":null,"openapi":"/openapi.yaml get /overview","href":"/api-reference/company/get-the-portal-overview-dashboard"},{"title":"Get the accounting agent's status","deprecated":null,"version":null,"openapi":"/openapi.yaml get /status","href":"/api-reference/company/get-the-accounting-agents-status"}]},{"group":"Onboarding","pages":[{"title":"Get the saved company verification submission","deprecated":null,"version":null,"openapi":"/openapi.yaml get /onboarding/kyc","href":"/api-reference/onboarding/get-the-saved-company-verification-submission"},{"title":"Submit documents and continue onboarding","deprecated":null,"version":null,"openapi":"/openapi.yaml post /onboarding/kyc/submit","href":"/api-reference/onboarding/submit-documents-and-continue-onboarding"},{"title":"Get the saved onboarding journey","deprecated":null,"version":null,"openapi":"/openapi.yaml get /onboarding/journey","href":"/api-reference/onboarding/get-the-saved-onboarding-journey"},{"title":"Get the workspace release decision","deprecated":null,"version":null,"openapi":"/openapi.yaml get /platform-access","href":"/api-reference/onboarding/get-the-workspace-release-decision"},{"title":"Save one onboarding answer","deprecated":null,"version":null,"openapi":"/openapi.yaml put /onboarding/journey/answers/{key}","href":"/api-reference/onboarding/save-one-onboarding-answer"},{"title":"Replace the source inventory","deprecated":null,"version":null,"openapi":"/openapi.yaml put /onboarding/journey/sources","href":"/api-reference/onboarding/replace-the-source-inventory"},{"title":"Confirm the current source inventory","deprecated":null,"version":null,"openapi":"/openapi.yaml post /onboarding/journey/source-confirmation","href":"/api-reference/onboarding/confirm-the-current-source-inventory"},{"title":"Upload an onboarding statement","deprecated":null,"version":null,"openapi":"/openapi.yaml post /onboarding/journey/statements/{kind}","href":"/api-reference/onboarding/upload-an-onboarding-statement"}]},{"group":"Documents","pages":[{"title":"Get per-file ingest progress","deprecated":null,"version":null,"openapi":"/openapi.yaml get /ingest-status","href":"/api-reference/documents/get-per-file-ingest-progress"},{"title":"List evidence attached to one exact Books row","deprecated":null,"version":null,"openapi":"/openapi.yaml get /sheet/attachments","href":"/api-reference/documents/list-evidence-attached-to-one-exact-books-row"},{"title":"Attach evidence to one exact Books row","deprecated":null,"version":null,"openapi":"/openapi.yaml post /sheet/attachments","href":"/api-reference/documents/attach-evidence-to-one-exact-books-row"},{"title":"Download evidence from one exact Books row","deprecated":null,"version":null,"openapi":"/openapi.yaml get /sheet/attachments/{filename}","href":"/api-reference/documents/download-evidence-from-one-exact-books-row"},{"title":"Detach a portal upload from one exact Books row","deprecated":null,"version":null,"openapi":"/openapi.yaml delete /sheet/attachments/{filename}","href":"/api-reference/documents/detach-a-portal-upload-from-one-exact-books-row"},{"title":"Render retained invoice evidence as PDF","deprecated":null,"version":null,"openapi":"/openapi.yaml get /sheet/attachments/{filename}/invoice.pdf","href":"/api-reference/documents/render-retained-invoice-evidence-as-pdf"},{"title":"Render retained image evidence as JPEG","deprecated":null,"version":null,"openapi":"/openapi.yaml get /sheet/attachments/{filename}/preview.jpg","href":"/api-reference/documents/render-retained-image-evidence-as-jpeg"},{"title":"List uploaded files","deprecated":null,"version":null,"openapi":"/openapi.yaml get /uploads","href":"/api-reference/documents/list-uploaded-files"},{"title":"Upload documents","deprecated":null,"version":null,"openapi":"/openapi.yaml post /uploads","href":"/api-reference/documents/upload-documents"},{"title":"Export all uploads as a zip","deprecated":null,"version":null,"openapi":"/openapi.yaml get /uploads/export","href":"/api-reference/documents/export-all-uploads-as-a-zip"},{"title":"Render an uploaded JSON invoice as PDF","deprecated":null,"version":null,"openapi":"/openapi.yaml get /uploads/{filename}/invoice.pdf","href":"/api-reference/documents/render-an-uploaded-json-invoice-as-pdf"},{"title":"Download one uploaded file","deprecated":null,"version":null,"openapi":"/openapi.yaml get /uploads/{filename}","href":"/api-reference/documents/download-one-uploaded-file"},{"title":"Delete an uploaded file","deprecated":null,"version":null,"openapi":"/openapi.yaml delete /uploads/{filename}","href":"/api-reference/documents/delete-an-uploaded-file"},{"title":"Update an uploaded file's metadata","deprecated":null,"version":null,"openapi":"/openapi.yaml patch /uploads/{filename}","href":"/api-reference/documents/update-an-uploaded-files-metadata"}]},{"group":"Books","pages":[{"title":"Get the Books or VAT sheet","deprecated":null,"version":null,"openapi":"/openapi.yaml get /sheet","href":"/api-reference/books/get-the-books-or-vat-sheet"},{"title":"Get the audit history of one exact Books row","deprecated":null,"version":null,"openapi":"/openapi.yaml get /rows/{row_id}/history","href":"/api-reference/books/get-the-audit-history-of-one-exact-books-row"},{"title":"Get the customer Transactions timeline","deprecated":null,"version":null,"openapi":"/openapi.yaml get /activity","href":"/api-reference/books/get-the-customer-transactions-timeline"},{"title":"Record an answer about one transaction row","deprecated":null,"version":null,"openapi":"/openapi.yaml post /books/declarations","href":"/api-reference/books/record-an-answer-about-one-transaction-row"},{"title":"Get financial statements","deprecated":null,"version":null,"openapi":"/openapi.yaml get /statements","href":"/api-reference/books/get-financial-statements"},{"title":"Download an account-detailed financial report","deprecated":null,"version":null,"openapi":"/openapi.yaml get /statements/pdf","href":"/api-reference/books/download-an-account-detailed-financial-report"},{"title":"Drill into statement lines by account","deprecated":null,"version":null,"openapi":"/openapi.yaml get /statements/drill","href":"/api-reference/books/drill-into-statement-lines-by-account"},{"title":"Get ledger analytics","deprecated":null,"version":null,"openapi":"/openapi.yaml get /analytics","href":"/api-reference/books/get-ledger-analytics"}]},{"group":"Dimensions","pages":[{"title":"List dimension axes, values, and source coverage","deprecated":null,"version":null,"openapi":"/openapi.yaml get /dimensions","href":"/api-reference/dimensions/list-dimension-axes-values-and-source-coverage"}]},{"group":"Messages","pages":[{"title":"List chat messages","deprecated":null,"version":null,"openapi":"/openapi.yaml get /messages","href":"/api-reference/messages/list-chat-messages"},{"title":"Send a message to the accounting agent","deprecated":null,"version":null,"openapi":"/openapi.yaml post /messages","href":"/api-reference/messages/send-a-message-to-the-accounting-agent"},{"title":"Download one retained file referenced by chat","deprecated":null,"version":null,"openapi":"/openapi.yaml get /chat-artifacts/{document_id}","href":"/api-reference/messages/download-one-retained-file-referenced-by-chat"}]},{"group":"Work log","pages":[{"title":"List work log entries","deprecated":null,"version":null,"openapi":"/openapi.yaml get /worklog","href":"/api-reference/work-log/list-work-log-entries"},{"title":"Record hours worked","deprecated":null,"version":null,"openapi":"/openapi.yaml post /worklog","href":"/api-reference/work-log/record-hours-worked"},{"title":"Void a work log entry","deprecated":null,"version":null,"openapi":"/openapi.yaml post /worklog/{entry_id}/void","href":"/api-reference/work-log/void-a-work-log-entry"}]},{"group":"Filings","pages":[{"title":"Get the filing state","deprecated":null,"version":null,"openapi":"/openapi.yaml get /filings","href":"/api-reference/filings/get-the-filing-state"},{"title":"Read the next assigned VAT return and its exact draft","deprecated":null,"version":null,"openapi":"/openapi.yaml get /filings/upcoming","href":"/api-reference/filings/read-the-next-assigned-vat-return-and-its-exact-draft"},{"title":"Get the filing archive","deprecated":null,"version":null,"openapi":"/openapi.yaml get /filings/history","href":"/api-reference/filings/get-the-filing-archive"},{"title":"Download one filing archive document","deprecated":null,"version":null,"openapi":"/openapi.yaml get /filings/history/document","href":"/api-reference/filings/download-one-filing-archive-document"},{"title":"Set filing authorization","deprecated":null,"version":null,"openapi":"/openapi.yaml post /filings/authorization","href":"/api-reference/filings/set-filing-authorization"},{"title":"Request a filing review","deprecated":null,"version":null,"openapi":"/openapi.yaml post /filings/review-requests","href":"/api-reference/filings/request-a-filing-review"},{"title":"List output packages","deprecated":null,"version":null,"openapi":"/openapi.yaml get /outputs","href":"/api-reference/filings/list-output-packages"},{"title":"Get one output package","deprecated":null,"version":null,"openapi":"/openapi.yaml get /outputs/{output_id}","href":"/api-reference/filings/get-one-output-package"},{"title":"Download an output package file","deprecated":null,"version":null,"openapi":"/openapi.yaml get /outputs/{output_id}/files/{role}","href":"/api-reference/filings/download-an-output-package-file"}]},{"group":"Invoicing","pages":[{"title":"List sales invoices","deprecated":null,"version":null,"openapi":"/openapi.yaml get /invoices","href":"/api-reference/invoicing/list-sales-invoices"},{"title":"Create or update an invoice draft","deprecated":null,"version":null,"openapi":"/openapi.yaml post /invoices","href":"/api-reference/invoicing/create-or-update-an-invoice-draft"},{"title":"Get an invoice","deprecated":null,"version":null,"openapi":"/openapi.yaml get /invoices/{invoice_id}","href":"/api-reference/invoicing/get-an-invoice"},{"title":"Delete an invoice draft","deprecated":null,"version":null,"openapi":"/openapi.yaml delete /invoices/{invoice_id}","href":"/api-reference/invoicing/delete-an-invoice-draft"},{"title":"Download the invoice as Finvoice XML","deprecated":null,"version":null,"openapi":"/openapi.yaml get /invoices/{invoice_id}/finvoice","href":"/api-reference/invoicing/download-the-invoice-as-finvoice-xml"},{"title":"Download the invoice as PDF","deprecated":null,"version":null,"openapi":"/openapi.yaml get /invoices/{invoice_id}/pdf","href":"/api-reference/invoicing/download-the-invoice-as-pdf"},{"title":"Ask for approval of a draft invoice","deprecated":null,"version":null,"openapi":"/openapi.yaml post /invoices/{invoice_id}/request-approval","href":"/api-reference/invoicing/ask-for-approval-of-a-draft-invoice"},{"title":"Approve a draft invoice","deprecated":null,"version":null,"openapi":"/openapi.yaml post /invoices/{invoice_id}/approve","href":"/api-reference/invoicing/approve-a-draft-invoice"},{"title":"Send a draft invoice back","deprecated":null,"version":null,"openapi":"/openapi.yaml post /invoices/{invoice_id}/reject","href":"/api-reference/invoicing/send-a-draft-invoice-back"},{"title":"Confirm delivery for a purchase invoice","deprecated":null,"version":null,"openapi":"/openapi.yaml post /purchase-bills/{bill_id}/verify","href":"/api-reference/invoicing/confirm-delivery-for-a-purchase-invoice"},{"title":"Approve a purchase invoice","deprecated":null,"version":null,"openapi":"/openapi.yaml post /purchase-bills/{bill_id}/approve","href":"/api-reference/invoicing/approve-a-purchase-invoice"},{"title":"Read the exact current bill correction form","deprecated":null,"version":null,"openapi":"/openapi.yaml get /purchase-bills/entry","href":"/api-reference/invoicing/read-the-exact-current-bill-correction-form"},{"title":"Read the current original review and accounting calculation","deprecated":null,"version":null,"openapi":"/openapi.yaml get /purchase-bills/{bill_id}/original-review","href":"/api-reference/invoicing/read-the-current-original-review-and-accounting-calculation"},{"title":"Download the original purchase invoice","deprecated":null,"version":null,"openapi":"/openapi.yaml get /purchase-bills/{bill_id}/original","href":"/api-reference/invoicing/download-the-original-purchase-invoice"},{"title":"Attach a missing original to an imported purchase invoice","deprecated":null,"version":null,"openapi":"/openapi.yaml post /purchase-bills/{bill_id}/original","href":"/api-reference/invoicing/attach-a-missing-original-to-an-imported-purchase-invoice"},{"title":"Open a purchase invoice as PDF","deprecated":null,"version":null,"openapi":"/openapi.yaml get /purchase-bills/{bill_id}/pdf","href":"/api-reference/invoicing/open-a-purchase-invoice-as-pdf"},{"title":"Open purchase invoice evidence","deprecated":null,"version":null,"openapi":"/openapi.yaml get /purchase-bills/{bill_id}/evidence/{document_id}","href":"/api-reference/invoicing/open-purchase-invoice-evidence"},{"title":"Send an e-invoice","deprecated":null,"version":null,"openapi":"/openapi.yaml post /invoices/{invoice_id}/send","href":"/api-reference/invoicing/send-an-e-invoice"},{"title":"Finalize a PDF invoice","deprecated":null,"version":null,"openapi":"/openapi.yaml post /invoices/{invoice_id}/finalize","href":"/api-reference/invoicing/finalize-a-pdf-invoice"},{"title":"Retry sending an invoice","deprecated":null,"version":null,"openapi":"/openapi.yaml post /invoices/{invoice_id}/retry-send","href":"/api-reference/invoicing/retry-sending-an-invoice"},{"title":"Retry an ambiguous partner invoice copy","deprecated":null,"version":null,"openapi":"/openapi.yaml post /invoices/{invoice_id}/retry-partner-copy","href":"/api-reference/invoicing/retry-an-ambiguous-partner-invoice-copy"},{"title":"Credit and replace an issued invoice","deprecated":null,"version":null,"openapi":"/openapi.yaml post /invoices/{invoice_id}/credit-note","href":"/api-reference/invoicing/credit-and-replace-an-issued-invoice"},{"title":"Request a payment reminder","deprecated":null,"version":null,"openapi":"/openapi.yaml post /invoices/{invoice_id}/reminder","href":"/api-reference/invoicing/request-a-payment-reminder"},{"title":"Ask Björn to prefill a draft from a document","deprecated":null,"version":null,"openapi":"/openapi.yaml post /invoices/{invoice_id}/prefill","href":"/api-reference/invoicing/ask-björn-to-prefill-a-draft-from-a-document"},{"title":"Search e-invoice recipients","deprecated":null,"version":null,"openapi":"/openapi.yaml get /invoice-receivers","href":"/api-reference/invoicing/search-e-invoice-recipients"},{"title":"List partner seller profiles","deprecated":null,"version":null,"openapi":"/openapi.yaml get /seller-profiles","href":"/api-reference/invoicing/list-partner-seller-profiles"},{"title":"Create a partner seller profile","deprecated":null,"version":null,"openapi":"/openapi.yaml post /seller-profiles","href":"/api-reference/invoicing/create-a-partner-seller-profile"},{"title":"Update a partner seller profile","deprecated":null,"version":null,"openapi":"/openapi.yaml patch /seller-profiles/{profile_id}","href":"/api-reference/invoicing/update-a-partner-seller-profile"},{"title":"List invoice customers","deprecated":null,"version":null,"openapi":"/openapi.yaml get /invoice-customers","href":"/api-reference/invoicing/list-invoice-customers"},{"title":"Create or update an invoice customer","deprecated":null,"version":null,"openapi":"/openapi.yaml post /invoice-customers","href":"/api-reference/invoicing/create-or-update-an-invoice-customer"},{"title":"List recurring invoice templates","deprecated":null,"version":null,"openapi":"/openapi.yaml get /invoice-recurring","href":"/api-reference/invoicing/list-recurring-invoice-templates"},{"title":"Create or update a recurring invoice template","deprecated":null,"version":null,"openapi":"/openapi.yaml post /invoice-recurring","href":"/api-reference/invoicing/create-or-update-a-recurring-invoice-template"},{"title":"Update a recurring template's status or schedule","deprecated":null,"version":null,"openapi":"/openapi.yaml patch /invoice-recurring/{template_id}","href":"/api-reference/invoicing/update-a-recurring-templates-status-or-schedule"},{"title":"Draft the next invoice from a template","deprecated":null,"version":null,"openapi":"/openapi.yaml post /invoice-recurring/{template_id}/draft-next","href":"/api-reference/invoicing/draft-the-next-invoice-from-a-template"}]},{"group":"Expenses","pages":[{"title":"Read an exact expense claim and its payment state","deprecated":null,"version":null,"openapi":"/openapi.yaml get /expenses/{claim_id}","href":"/api-reference/expenses/read-an-exact-expense-claim-and-its-payment-state"}]},{"group":"Payroll","pages":[{"title":"Get the payroll workspace","deprecated":null,"version":null,"openapi":"/openapi.yaml get /payroll","href":"/api-reference/payroll/get-the-payroll-workspace"},{"title":"Add an employee","deprecated":null,"version":null,"openapi":"/openapi.yaml post /payroll/employees","href":"/api-reference/payroll/add-an-employee"},{"title":"Update an employee","deprecated":null,"version":null,"openapi":"/openapi.yaml patch /payroll/employees","href":"/api-reference/payroll/update-an-employee"},{"title":"Update an employee's tax card","deprecated":null,"version":null,"openapi":"/openapi.yaml patch /payroll/employees/tax-card","href":"/api-reference/payroll/update-an-employees-tax-card"},{"title":"Fetch an employee's wage tax card from Vero","deprecated":null,"version":null,"openapi":"/openapi.yaml post /payroll/employees/tax-card/fetch","href":"/api-reference/payroll/fetch-an-employees-wage-tax-card-from-vero"},{"title":"Update employer payroll settings","deprecated":null,"version":null,"openapi":"/openapi.yaml patch /payroll/settings","href":"/api-reference/payroll/update-employer-payroll-settings"},{"title":"Draft a payroll run","deprecated":null,"version":null,"openapi":"/openapi.yaml post /payroll/draft","href":"/api-reference/payroll/draft-a-payroll-run"},{"title":"Approve a payroll run","deprecated":null,"version":null,"openapi":"/openapi.yaml post /payroll/approve","href":"/api-reference/payroll/approve-a-payroll-run"},{"title":"Confirm an imported bank payment against an approved payroll","deprecated":null,"version":null,"openapi":"/openapi.yaml post /payroll/payment-confirm","href":"/api-reference/payroll/confirm-an-imported-bank-payment-against-an-approved-payroll"},{"title":"Correct an approved payroll run's payday before payment","deprecated":null,"version":null,"openapi":"/openapi.yaml post /payroll/payment-date","href":"/api-reference/payroll/correct-an-approved-payroll-runs-payday-before-payment"},{"title":"Get an employee's payslip","deprecated":null,"version":null,"openapi":"/openapi.yaml get /payroll/payslip","href":"/api-reference/payroll/get-an-employees-payslip"},{"title":"Download an approved payslip","deprecated":null,"version":null,"openapi":"/openapi.yaml get /payroll/payslip/pdf","href":"/api-reference/payroll/download-an-approved-payslip"},{"title":"Download the employer calculation of an approved payroll","deprecated":null,"version":null,"openapi":"/openapi.yaml get /payroll/employer-calculation/pdf","href":"/api-reference/payroll/download-the-employer-calculation-of-an-approved-payroll"},{"title":"Download a sent Incomes Register report","deprecated":null,"version":null,"openapi":"/openapi.yaml get /payroll/report/pdf","href":"/api-reference/payroll/download-a-sent-incomes-register-report"},{"title":"Download an employee's finalized payroll files","deprecated":null,"version":null,"openapi":"/openapi.yaml get /payroll/export","href":"/api-reference/payroll/download-an-employees-finalized-payroll-files"}]},{"group":"Connections","pages":[{"title":"What one connection delivered","deprecated":null,"version":null,"openapi":"/openapi.yaml get /connections/{connection_id}/data","href":"/api-reference/connections/what-one-connection-delivered"},{"title":"The records inside one group","deprecated":null,"version":null,"openapi":"/openapi.yaml get /connections/{connection_id}/data/objects","href":"/api-reference/connections/the-records-inside-one-group"},{"title":"List bank connections","deprecated":null,"version":null,"openapi":"/openapi.yaml get /bank-connections","href":"/api-reference/connections/list-bank-connections"},{"title":"List PayPal settlement connections","deprecated":null,"version":null,"openapi":"/openapi.yaml get /paypal-connections","href":"/api-reference/connections/list-paypal-settlement-connections"},{"title":"Start PayPal partner consent","deprecated":null,"version":null,"openapi":"/openapi.yaml post /paypal-connections/oauth/start","href":"/api-reference/connections/start-paypal-partner-consent"},{"title":"Connect PayPal with the company's own PayPal app","deprecated":null,"version":null,"openapi":"/openapi.yaml post /paypal-connections/api-key","href":"/api-reference/connections/connect-paypal-with-the-companys-own-paypal-app"},{"title":"Recheck a stored PayPal app","deprecated":null,"version":null,"openapi":"/openapi.yaml post /paypal-connections/{connection_id}/revalidate","href":"/api-reference/connections/recheck-a-stored-paypal-app"},{"title":"List Vipps MobilePay settlement connections","deprecated":null,"version":null,"openapi":"/openapi.yaml get /vipps-mobilepay-connections","href":"/api-reference/connections/list-vipps-mobilepay-settlement-connections"},{"title":"Verify and activate a Vipps MobilePay accounting grant","deprecated":null,"version":null,"openapi":"/openapi.yaml post /vipps-mobilepay-connections/activate","href":"/api-reference/connections/verify-and-activate-a-vipps-mobilepay-accounting-grant"},{"title":"List Adyen settlement connections","deprecated":null,"version":null,"openapi":"/openapi.yaml get /adyen-connections","href":"/api-reference/connections/list-adyen-settlement-connections"},{"title":"Connect an Adyen merchant account","deprecated":null,"version":null,"openapi":"/openapi.yaml post /adyen-connections/api-key","href":"/api-reference/connections/connect-an-adyen-merchant-account"},{"title":"Recheck a stored Adyen key","deprecated":null,"version":null,"openapi":"/openapi.yaml post /adyen-connections/{connection_id}/revalidate","href":"/api-reference/connections/recheck-a-stored-adyen-key"},{"title":"List Stripe connections","deprecated":null,"version":null,"openapi":"/openapi.yaml get /stripe-connections","href":"/api-reference/connections/list-stripe-connections"},{"title":"Trigger a Stripe sync","deprecated":null,"version":null,"openapi":"/openapi.yaml post /stripe-connections/{connection_id}/sync","href":"/api-reference/connections/trigger-a-stripe-sync"},{"title":"List Fiest connections","deprecated":null,"version":null,"openapi":"/openapi.yaml get /fiest-connections","href":"/api-reference/connections/list-fiest-connections"},{"title":"Authorize or upgrade a Fiest restaurant connection","deprecated":null,"version":null,"openapi":"/openapi.yaml post /fiest-connections/oauth/start","href":"/api-reference/connections/authorize-or-upgrade-a-fiest-restaurant-connection"},{"title":"Trigger a Fiest sync","deprecated":null,"version":null,"openapi":"/openapi.yaml post /fiest-connections/{connection_id}/sync","href":"/api-reference/connections/trigger-a-fiest-sync"},{"title":"List Procountor connections","deprecated":null,"version":null,"openapi":"/openapi.yaml get /procountor-connections","href":"/api-reference/connections/list-procountor-connections"},{"title":"Trigger a Procountor sync","deprecated":null,"version":null,"openapi":"/openapi.yaml post /procountor-connections/{connection_id}/sync","href":"/api-reference/connections/trigger-a-procountor-sync"},{"title":"List Fennoa connections","deprecated":null,"version":null,"openapi":"/openapi.yaml get /fennoa-connections","href":"/api-reference/connections/list-fennoa-connections"},{"title":"Trigger a Fennoa sync","deprecated":null,"version":null,"openapi":"/openapi.yaml post /fennoa-connections/{connection_id}/sync","href":"/api-reference/connections/trigger-a-fennoa-sync"},{"title":"List inbox (email) connections","description":"Lists the company's inbox connections (e.g. Gmail) with setup metadata. Establishing one uses a browser-interactive OAuth flow available only in the portal UI.","deprecated":null,"version":null,"openapi":"/openapi.yaml get /inbox-connections","href":"/api-reference/connections/list-inbox-email-connections"},{"title":"Update a Gmail inbox connection","deprecated":null,"version":null,"openapi":"/openapi.yaml patch /inbox-connections/{connection_id}","href":"/api-reference/connections/update-a-gmail-inbox-connection"},{"title":"List a connected Gmail inbox's own labels","description":"Reads the user-created labels of one connected Gmail inbox through its bound read-only grant, so the customer can choose one as the capture selection. Gmail system categories are not offered. The grant is exchanged once per call and never returned.","deprecated":null,"version":null,"openapi":"/openapi.yaml get /inbox-connections/{connection_id}/labels","href":"/api-reference/connections/list-a-connected-gmail-inboxs-own-labels"},{"title":"List Google Sheets connections","deprecated":null,"version":null,"openapi":"/openapi.yaml get /gsheet-connections","href":"/api-reference/connections/list-google-sheets-connections"},{"title":"Request a service connection change","deprecated":null,"version":null,"openapi":"/openapi.yaml post /service-connections/requests","href":"/api-reference/connections/request-a-service-connection-change"},{"title":"Confirm or retract a service-connection step","deprecated":null,"version":null,"openapi":"/openapi.yaml post /service-connections/confirmations","href":"/api-reference/connections/confirm-or-retract-a-service-connection-step"}]},{"group":"Shopify App","pages":[{"title":"Render the embedded Shopify App Home","deprecated":null,"version":null,"openapi":"/openapi.yaml get /shopify/app","href":"/api-reference/shopify-app/render-the-embedded-shopify-app-home"},{"title":"Load the embedded Shopify App Home script","deprecated":null,"version":null,"openapi":"/openapi.yaml get /shopify/app.js","href":"/api-reference/shopify-app/load-the-embedded-shopify-app-home-script"},{"title":"Resolve the store's App Bridge connection state","deprecated":null,"version":null,"openapi":"/openapi.yaml post /shopify/app/session","href":"/api-reference/shopify-app/resolve-the-stores-app-bridge-connection-state"},{"title":"Exchange an App Bridge JWT for offline read access","deprecated":null,"version":null,"openapi":"/openapi.yaml post /shopify/app/complete","href":"/api-reference/shopify-app/exchange-an-app-bridge-jwt-for-offline-read-access"},{"title":"Receive a mandatory Shopify privacy webhook","deprecated":null,"version":null,"openapi":"/openapi.yaml post /shopify/privacy/webhooks","href":"/api-reference/shopify-app/receive-a-mandatory-shopify-privacy-webhook"},{"title":"Start installation from the permanent public app listing","deprecated":null,"version":null,"openapi":"/openapi.yaml post /shopify-connections/install/start","href":"/api-reference/shopify-app/start-installation-from-the-permanent-public-app-listing"},{"title":"Verify Shopify's signed App Home handoff","deprecated":null,"version":null,"openapi":"/openapi.yaml post /shopify-connections/install/verify","href":"/api-reference/shopify-app/verify-shopifys-signed-app-home-handoff"},{"title":"Bind a verified Shopify store to one LAC tenant","deprecated":null,"version":null,"openapi":"/openapi.yaml post /shopify-connections/oauth/start","href":"/api-reference/shopify-app/bind-a-verified-shopify-store-to-one-lac-tenant"}]},{"group":"Imports","pages":[{"title":"List import runs","deprecated":null,"version":null,"openapi":"/openapi.yaml get /imports","href":"/api-reference/imports/list-import-runs"},{"title":"Get an import run","deprecated":null,"version":null,"openapi":"/openapi.yaml get /imports/{run_id}","href":"/api-reference/imports/get-an-import-run"},{"title":"Download an import run's raw package","deprecated":null,"version":null,"openapi":"/openapi.yaml get /import-runs/{run_id}/raw-package","href":"/api-reference/imports/download-an-import-runs-raw-package"}]},{"group":"API keys","pages":[{"title":"List API keys (admin, interactive session only)","deprecated":null,"version":null,"openapi":"/openapi.yaml get /api-keys","href":"/api-reference/api-keys/list-api-keys-admin-interactive-session-only"},{"title":"Create an API key (admin, interactive session only)","deprecated":null,"version":null,"openapi":"/openapi.yaml post /api-keys","href":"/api-reference/api-keys/create-an-api-key-admin-interactive-session-only"},{"title":"Revoke an API key (admin, interactive session only)","deprecated":null,"version":null,"openapi":"/openapi.yaml delete /api-keys/{key_id}","href":"/api-reference/api-keys/revoke-an-api-key-admin-interactive-session-only"}]},{"group":"Lens","pages":[{"title":"Get the transactions window","deprecated":null,"version":null,"openapi":"/openapi.yaml get /lens/transactions","href":"/api-reference/lens/get-the-transactions-window"},{"title":"Get how one row was booked","deprecated":null,"version":null,"openapi":"/openapi.yaml get /lens/booking","href":"/api-reference/lens/get-how-one-row-was-booked"},{"title":"Get data coverage per real source","deprecated":null,"version":null,"openapi":"/openapi.yaml get /lens/data-coverage","href":"/api-reference/lens/get-data-coverage-per-real-source"},{"title":"Get the add-source catalog","deprecated":null,"version":null,"openapi":"/openapi.yaml get /lens/connections-catalog","href":"/api-reference/lens/get-the-add-source-catalog"}]},{"group":"Accounting","pages":[{"title":"Download an account-by-account general ledger","deprecated":null,"version":null,"openapi":"/openapi.yaml get /lens/general-ledger.csv","href":"/api-reference/accounting/download-an-account-by-account-general-ledger"},{"title":"Get the customer-visible general ledger","deprecated":null,"version":null,"openapi":"/openapi.yaml get /lens/general-ledger","href":"/api-reference/accounting/get-the-customer-visible-general-ledger"},{"title":"Drill from a customer-visible GL account to journal entries","deprecated":null,"version":null,"openapi":"/openapi.yaml get /lens/journal-entries","href":"/api-reference/accounting/drill-from-a-customer-visible-gl-account-to-journal-entries"},{"title":"Open one customer-visible journal entry","deprecated":null,"version":null,"openapi":"/openapi.yaml get /lens/journal-entries/{id}","href":"/api-reference/accounting/open-one-customer-visible-journal-entry"},{"title":"Get the monthly, custom-range, or all-time general-ledger view","deprecated":null,"version":null,"openapi":"/openapi.yaml get /accounting/gl","href":"/api-reference/accounting/get-the-monthly-custom-range-or-all-time-general-ledger-view"},{"title":"List journal entries (keyset window)","deprecated":null,"version":null,"openapi":"/openapi.yaml get /accounting/journal-entries","href":"/api-reference/accounting/list-journal-entries-keyset-window"},{"title":"Get one journal entry fully opened","deprecated":null,"version":null,"openapi":"/openapi.yaml get /accounting/journal-entries/{id}","href":"/api-reference/accounting/get-one-journal-entry-fully-opened"},{"title":"Get the context view","deprecated":null,"version":null,"openapi":"/openapi.yaml get /accounting/context","href":"/api-reference/accounting/get-the-context-view"},{"title":"Get the customer-request review queue","deprecated":null,"version":null,"openapi":"/openapi.yaml get /accounting/requests","href":"/api-reference/accounting/get-the-customer-request-review-queue"},{"title":"Decide one proposed customer request","deprecated":null,"version":null,"openapi":"/openapi.yaml post /accounting/requests/review","href":"/api-reference/accounting/decide-one-proposed-customer-request"},{"title":"Get the filings strip","deprecated":null,"version":null,"openapi":"/openapi.yaml get /accounting/filings","href":"/api-reference/accounting/get-the-filings-strip"},{"title":"Preview one filing draft","deprecated":null,"version":null,"openapi":"/openapi.yaml get /accounting/filings/{id}/preview","href":"/api-reference/accounting/preview-one-filing-draft"},{"title":"Get the explorer table catalog","deprecated":null,"version":null,"openapi":"/openapi.yaml get /accounting/explorer/catalog","href":"/api-reference/accounting/get-the-explorer-table-catalog"},{"title":"Run one read-only SQL statement","deprecated":null,"version":null,"openapi":"/openapi.yaml post /accounting/explorer/query","href":"/api-reference/accounting/run-one-read-only-sql-statement"}]},{"group":"Payments","pages":[{"title":"Get the native Open Payments setup and supported Finnish banks","deprecated":null,"version":null,"openapi":"/openapi.yaml get /payment-settings","href":"/api-reference/payments/get-the-native-open-payments-setup-and-supported-finnish-banks"},{"title":"Configure the company paying account and accept current Open Payments terms","deprecated":null,"version":null,"openapi":"/openapi.yaml patch /payment-settings","href":"/api-reference/payments/configure-the-company-paying-account-and-accept-current-open-payments-terms"},{"title":"Open the exact retained Open Payments terms document","deprecated":null,"version":null,"openapi":"/openapi.yaml get /payment-settings/terms","href":"/api-reference/payments/open-the-exact-retained-open-payments-terms-document"},{"title":"Start hosted Open Payments company verification","deprecated":null,"version":null,"openapi":"/openapi.yaml post /payment-settings/verification","href":"/api-reference/payments/start-hosted-open-payments-company-verification"},{"title":"Move the paying account's Nordea Business connection forward","deprecated":null,"version":null,"openapi":"/openapi.yaml post /payment-settings/bank-connection","href":"/api-reference/payments/move-the-paying-accounts-nordea-business-connection-forward"},{"title":"List explicit named-member payment release authority","deprecated":null,"version":null,"openapi":"/openapi.yaml get /payment-settings/release-authority","href":"/api-reference/payments/list-explicit-named-member-payment-release-authority"},{"title":"Grant or revoke explicit payment release authority","deprecated":null,"version":null,"openapi":"/openapi.yaml patch /payment-settings/release-authority","href":"/api-reference/payments/grant-or-revoke-explicit-payment-release-authority"},{"title":"Get one exact contextual payment source and its active batch","deprecated":null,"version":null,"openapi":"/openapi.yaml get /payment-sources/{kind}/{source_id}","href":"/api-reference/payments/get-one-exact-contextual-payment-source-and-its-active-batch"},{"title":"Read one exact payment batch including older settled history","deprecated":null,"version":null,"openapi":"/openapi.yaml get /payment-batches/{batch_id}","href":"/api-reference/payments/read-one-exact-payment-batch-including-older-settled-history"},{"title":"Release one exact immutable source-bound payment batch","deprecated":null,"version":null,"openapi":"/openapi.yaml post /payment-batches/{batch_id}/release","href":"/api-reference/payments/release-one-exact-immutable-source-bound-payment-batch"},{"title":"Poll an already submitted direct payment","deprecated":null,"version":null,"openapi":"/openapi.yaml post /payment-batches/{batch_id}/poll","href":"/api-reference/payments/poll-an-already-submitted-direct-payment"},{"title":"Resolve one ambiguous direct submission from bank evidence","deprecated":null,"version":null,"openapi":"/openapi.yaml post /payment-batches/{batch_id}/resolve","href":"/api-reference/payments/resolve-one-ambiguous-direct-submission-from-bank-evidence"},{"title":"Everything the company can pay, is paying, or has paid","deprecated":null,"version":null,"openapi":"/openapi.yaml get /payments","href":"/api-reference/payments/everything-the-company-can-pay-is-paying-or-has-paid"}]}]}]}]},"basePath":"","title":"Update a Gmail inbox connection - LAC Developers","deploymentId":"dpl_DyXGnKeCjZyA3sUdfMJ7FjkdBefg","buildId":"dpl_DyXGnKeCjZyA3sUdfMJ7FjkdBefg","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-CiUHMMOm.js","snippetPresets-BgfXU7Bw.js","utils-DWvOwgy_.js","style-to-object-BY3JEAdk.js","utils-BN7RXSMJ.js","v4-DIgz8zy6.js","addUniqueKeysToSchema-CFw8bq89.js","conditional-requirements-CFM0id0Q.js","cloneDeep-CAwdfOU2.js","_Uint8Array-BJr8e-ZL.js","isObject-FP1Yky1u.js","ApiExamples-XX0UgMZK.js","usePlaygroundInputsStore-DXDFSa1V.js","shallow-CdX5aREi.js","isEqual-CoOaxexF.js","CodeSnippets-Cg2wpzWm.js","CodeSnippet-D_HwgQO_.js","getApiPlaygroundDisplay-CmCoerhe.js","Page-CVJ-f_k1.js","DynamicMarkdown-CQM9Bhbv.js","SectionHeading-DpbrP8nQ.js","icon-BPCgijHy.js","MethodPill-GQ8DuY0c.js","getPastedJson-Cb5mT31m.js","Check2Icon-a7bUI6e8.js","axios-CsQoIw0U.js","Markdown-CX2QY19L.js","AssistantPageLink-CY3bFglh.js","dist-Dl6_zDnT.js","lib-DMeTj1gb.js","lib-B8HbPgcC.js","katex-Dbtb6Wk7.js","html-void-elements-mCSPHezU.js","marked.esm-CZWythHk.js"]}