Skip to main content
GET
/
database
/
filters
Get Database Filters
curl --request GET \
  --url https://api.lemlist.com/api/database/filters \
  --header 'Authorization: Basic <encoded-value>'
[
  {
    "filterId": "country",
    "description": "Filter by country",
    "mode": [
      "leads",
      "companies"
    ],
    "type": "text",
    "helper": "Use free text search"
  }
]
Please, note that:
  • you will not be able to use a filter for a People database query if the leads keyword is not listed in the mode property
  • you will not be able to use a filter for a Companies database query if the companies keyword is not listed in the mode property

Authorizations

Authorization
string
header
required

Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.

Response

Success

_id
string
name
string
criteria
object