List Saved Views
List the saved views you can use. Send one as saved_view on any list enrichment to run it on just that view's contacts.
POST /list_saved_views
A saved view is a named set of leads-table filters (the View, the ICP, the search box and the filter rules) saved in the Parvenu app. This endpoint lists the saved views you can use.
To run a list enrichment on just the contacts in a view, send the view's name (any case) or its id as saved_view on any _list endpoint, for example Find Email Address List Lookup.
Headers
Content-Type
application/json
Body
api_key
string
Your API Key.
listname
string
Optional. Only the saved views you can use on this list: the ones saved on it, plus the ones saved for any list. Leave it out to see all of them.
Response
The views are under saved_views. total is how many were returned. See Response Format for the fields every endpoint returns.
id
number
The view's id. You can send it as saved_view (as text).
name
string
The view's name. Send it as saved_view (any case).
list_name
string or null
The list it was saved on. null when it can be used on any list.
any_list
boolean
true when the view can be used on every list.
view
string
The leads-table View it keeps, for example all or verified.
icp
string
The ICP it keeps. all means no ICP rule.
search
string
The search box text it keeps. Left out when there is none.
share_with_team
boolean
true when your whole team can use it. false means only you can see it.
Example
Using a saved view on a list enrichment
Add saved_view to the body of any _list endpoint:
The run then reads only the contacts in that view. A few rules apply on every endpoint:
Don't mix it with your own row filters. Sending
saved_viewtogether with a non-defaultview, afilter_stackor asearchreturns a 400:Send saved_view, or view / filter_stack / search, not both.The view must be one you can use on that list. A view that does not exist on the list, or that you cannot see, returns a 404.
Nothing is charged when the lookup fails. If the saved view cannot be looked up, you get a 502 and nothing is queued or charged. Try again.
The acknowledgement includes
saved_viewwith the view's name, so you can see which view the run used.