Skip to content
Tinbox

CLI command

tinbox upsert-contact

Register a person in the contacts registry (add-or-update by email). Use to save someone you found or were asked to track. Provide `sourceUrl` + `confidence` when the contact came from web research. Auto-commits (reversible via undo).

Generated from tool: upsert_contact

Usage

sh
tinbox upsert-contact --email <email> --name <name> --attribs <attribs> [--vip] --labels <labels> --sourceUrl <sourceUrl> --confidence <confidence> --lifecycle <lifecycle>

Flags

NameTypeRequiredDefaultDescription
--emailstringyes—The contact's email (the unique key).
--namestringyes—Display name.
--attribsstringyes—Structured contact attributes; CLI passes a JSON object.
--vipbooleanno—Mark as VIP.
--labelsstringyes—Label names to apply (created if new).
--sourceUrlstringyes—Where this contact came from (e.g. a web-research URL).
--confidencestringyes—0–100 confidence in the data (for researched contacts).
--lifecyclestringyes—Override the lifecycle (default: prospect for agent adds).