Update Preferences
update_preferencesChange the user's saved Agent Preferences: agent_preferences (default creator criteria for every search, max 2,000 characters, null clears), accept_no_email_leads, and the excluded creators list (add_excluded_emails / remove_excluded_emails, up to 2,000 each, 5,000 total). Changes show in the app immediately. Only call when the user explicitly asks to change saved settings; a one-off search constraint belongs in the search request. Free.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| uid | No | Optional Firebase uid. Must match the URL uid unless local fallback is enabled. | |
| bearer_token | No | Optional Firebase ID token. Hosted clients normally authenticate with an API key header or ?uid= in the URL instead. | |
| idempotency_key | No | Optional. Reuse the same value when retrying this exact call after a timeout so the write happens once; omit for a new write. | |
| agent_preferences | No | ||
| add_excluded_emails | No | ||
| accept_no_email_leads | No | ||
| remove_excluded_emails | No |