Set Person Account
set_person_accountUpsert a platform account on a Dayze Contact (Instagram, Dayze, ChatGPT, …). Multiple accounts per platform are allowed (kind + optional label + is_primary). Pass account_id to update a specific row; otherwise upsert by person+platform+handle+kind. Agents may set status likely|self_reported|unknown (default likely); verified is reserved for server derivation. source is stored as agent. platform=other requires label (site name). ($0.05; API key required)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | No | ||
| kind | No | personal | work | portfolio | other (default personal) | |
| label | No | Free-text note (e.g. photography). Required site name when platform=other. | |
| notes | No | ||
| handle | No | ||
| status | No | likely | self_reported | unknown (verified is server-only) | |
| platform | Yes | dayze|chatgpt|claude|codex|cursor|gemini|instagram|facebook|linkedin|x|tiktok|youtube|github|threads|telegram|whatsapp|lawve|other | |
| person_id | Yes | ||
| account_id | No | Optional. Update this person_accounts row instead of upserting by key. | |
| is_primary | No | At most one primary per platform. Setting true unsets the previous primary. | |
| request_id | No | Client idempotency key (retries return original result). | |
| idempotency_key | No | Alias for request_id. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| account | No | person_accounts row: id, platform, kind, label, handle, url, status, source, is_primary, linked_profile_id, notes. Multiple accounts per platform allowed. | |
| created | No | ||
| message | No | ||
| updated | No | ||
| unchanged | No | ||
| provenance | No | Which connector wrote the record and which connected Dayze account received it. |