Create View
Create a Live View - a saved account filter with live actions that run as new accounts match it.
Before you call this, gather the IDs and field names you need:
GET /api/v2/account/filters- the validfiltersfield names and their allowed values (e.g.funding_stage_include,country_include,employee_count_range_include,signal_include). Unknown filter fields are rejected with a 400. Omitfiltersto match every account in your workspace.GET /api/v1/views/options- the Slack channels, CRM users, and Amplemarket sequences you can reference inslack_notifications.channel_id,crm_assignment.assignee_id/assignee_ids/override_owner_ids, andamplemarket_sequencing.sequence_id.
Actions:
slack_notifications- alert via DM (target: "dm") or in a channel (target: "channel"+channel_id). Requires the OpenFunnel Slack app to be installed.webhook_notifications- POST insight alerts to an HTTPS URL. The response includeswebhook_secret(the HMAC signing secret) exactly once - store it securely; it is never returned again.crm_assignment- sync matching accounts into your connected CRM and assign them to one user (mode: "single"+assignee_id) or rotate across users (mode: "round_robin"+assignee_ids). The CRM type (Salesforce or HubSpot) is detected automatically from your integration.override_owner_idslists owners whose accounts may be reassigned; accounts owned by anyone else keep their owner. Enabling this immediately starts a one-time background sync of all currently-matching accounts.amplemarket_sequencing- auto-add new matching people to an Amplemarket sequence.is_default- make this the default view (clears the previous default).
When do notifications fire? Slack and webhook alerts are live updates: they are sent when a signal run produces new insights for accounts matching the view - never for the pre-existing backlog. CRM assignment is the exception: it backfills the currently-matching accounts right away.
Errors: 400 with an actionable message for invalid or unconnected integrations, 409 if a view with the same name already exists.
Headers
Body
Request to create a saved view (Live View).
View name (unique per user)
1Account filters using the field names from GET /api/v2/account/filters (e.g. funding_stage_include, country_include, signal_include). Omit to match every account in the workspace.
Set this view as the default view (clears any previous default)
Slack notification settings for a view.
Webhook notification settings for a view.
CRM assignment settings for a view.
The CRM type (Salesforce or HubSpot) is detected automatically from the connected CRM integration - it does not need to be specified.
Amplemarket sequencing settings for a view.
Response
Successful Response