Skip to main content
PATCH
Update a Gmail inbox connection

Authorizations

Authorization
string
header
required

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).

Response

Update accepted; reread the connection list for the canonical state.