Save workspace person
upsert_workspace_personCreates or updates a person in the workspace's mention list (the people the upload flow can @mention per platform). The person is matched by name, ignoring case. A new name creates a person. For an existing person, the handles you pass replace the stored ones for those platforms and the rest are kept; with merge_existing=false the existing person is returned unchanged. Use this to fill in a podcast guest's LinkedIn/Facebook/YouTube handles before the user drafts a post, so the mention popover in the upload flow has them ready. Keys in handles must be one of: instagram, tiktok, youtube, facebook, twitter, linkedin, threads, bluesky, pinterest, mastodon.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Display name (e.g. 'John Smith'). Max 100 chars, cannot contain [ or ]. Uniqueness is enforced case-insensitively within the workspace, so 'John Smith' and 'john smith' are treated as the same person. | |
| handles | No | Per-platform handle strings. Empty string clears a stored handle. Any handle for a platform not in instagram, tiktok, youtube, facebook, twitter, linkedin, threads, bluesky, pinterest, mastodon is rejected. LinkedIn handles are stored as-typed; the URN lookup only fires from the ShortSync UI. | |
| workspace_id | Yes | Workspace to add the person to. Get from list_workspaces. The user must be a member. | |
| platform_urns | No | Pre-resolved platform URNs (currently only LinkedIn 'urn:li:organization:...' / 'urn:li:member:...'). Only set this if you already have the resolved URN; otherwise leave empty and let the ShortSync UI resolve it when the user next opens the person. | |
| merge_existing | No | When true (default), an existing person's handles/URNs are merged: keys you provide overwrite, keys you omit are kept. When false, existing rows are left untouched and the response says reused_existing=true. | |
| idempotency_key | No | Optional client-generated key (e.g., a UUID) to make retries safe. Identical calls with the same key within 10 minutes return the original result instead of running the write twice. |