Saved views
Save a set of filters as a view and open it again in one click.
List, create, mark and delete saved views from your own code. A view is a name plus a query string of the same filter parameters GET /v3/leads takes. Authenticated with ?privateKey=YOUR_KEY (see Authentication).
| GET | /admin/filters | Get saved filters for website |
| POST | /admin/filters | Create new filter with name and URL |
| PATCH | /admin/filters/{id} | Update a saved filter (e.g. toggle favorite) |
| DELETE | /admin/filters/{id} | Delete filter |
curl -X GET "https://rest-dash.revealid.xyz/admin/filters?privateKey=YOUR_KEY&websiteId=64b7f0a1c2d3e4f5a6b7c8d9"What each field accepts
| Field | Type | Limits and format | Accepted values |
|---|---|---|---|
| websiteId* | string | pattern ^[0-9a-fA-F]{24}$ | any |
Use case: List your saved views
GET /admin/filters?websiteId=… returns each view with its name and its url (the filters as a query string).
Use case: Save a view
POST /admin/filters with { "websiteId": …, "name": "US software visitors", "url": "?visitorLocation=US&industries=Software&tag=HOT" }. Date and page parameters are dropped before saving, so the view applies to any period. Saving the same name twice creates two views.
Use case: Delete a view an automation uses
DELETE /admin/filters/{id} also switches any automation that used the view as its segment to all leads; check your automations first.