Update a contact
Patches fields on the contact ({ fields: { <name>: <value> } } — core columns or custom fields) and/or records marketing consent provenance ({ consent: { source, capturedAt?, policyVersion?, evidence? } }, never re-subscribing an opt-out). Send one or both. Returns { contact, updated } where updated lists the field names that changed (consent included). fields.subscribed: false unsubscribes; true on a contact who opted out is a 422 RESUBSCRIBE_NOT_ALLOWED (they re-subscribe through their own action, or from their contact page in the Brew app).
Authorizations
Send your Brew API key as Authorization: Bearer brew_xxx.
Headers
The brand this request acts on. REQUIRED for organization-scoped credentials (otherwise 400 BRAND_ID_REQUIRED — there is no default brand); list ids with GET /v1/brands. Brand-scoped credentials may omit it, and sending a different brand returns 403 BRAND_SCOPE_MISMATCH. A brand outside your organization returns 404 BRAND_NOT_FOUND.
1 - 64Path Parameters
The contact’s email address (URL-encoded). Email is the contact primary key.
1 - 320"jane%40example.com"
Body
Was this page helpful?