Filter the list of customers by attribute(s).
Include the attribute name in the brackets followed by an equal sign and the value you want to filter by. You can use commas (,) to separate multiple values for the same attribute.
-
Allowed attributes: id, skType
-
Example: ?filter[sKType]=TEST
-
Example (multiple values): ?filter[id]=id_1,id_2,id_3
Include the attribute name in the brackets followed by an equal sign and the value you want to filter by. You can use commas (,) to separate multiple values for the same attribute.
-
Allowed attributes: email, firstName, lastName, phone
-
Example: ?filter[email][email protected] (returns all emails containing @example.com)
-
Example: ?filter[firstName]=john (returns all first names containing john)
-
Example: ?filter[phone]=8940 (returns all phone numbers containing string 8940, e.g. "+17186238940")
Follow the "=" with a comparison operator and the value you want to filter by.
-
Available operators: =, !=, <, <=, >, >=.
-
Allowed attributes: dateOfBirth, createdAt, updatedAt
-
Example (greater than): ?filter[dateOfBirth]=>1990
-
Example (greater than or equal to): ?filter[dateOfBirth]=>=1995-06-02
-
Example (less than): ?filter[createdAt]=<2025-05-29T00:00:00Z
Filter by specific conditions defined in the model.
-
Allowed scopes: dateOfBirthBetween, createdBetween, updatedBetween
-
Example: ?filter[dateOfBirthBetween]=1990,1995
-
Example: ?filter[createdBetween]=2025-05-29,2025-05-30