Skip to main content
If you want to know more about User Profiles, visit the User Profiles section.
Searching User Profiles through the Chameleon API allows you to:
  • Search for a user by id, uid and email.
  • Search for users or get the Count of Users by any of the properties you have sent to us.
  • Search for users by any of the interactions they had with Chameleon (answered a Microsurvey etc.).
Note: Rate Limiting applies according to the table below.

Schema

See the full User Profile schema.

Examples

All of these examples are based directly on the full schema of Segmentation Filter Expressions.
Note: A fully-fledged version of these examples is implemented in the Chameleon Builder section for Segments.
Each example below is used as the value for the filters key in the JSON request body:

1. User Profiles that Completed a Tour

2. User Profiles that exited a Tour within last 3 days

cond - A secondary time-based filter operator. int - A secondary time-based filter # of days.

3. User Profiles that are an NPS promoter

mod - A secondary matching condition for range. range - A secondary matching range (in this case, button index).
Note: For a 11-button NPS, value range are 0,1,2,3,4,5,6,7,8,9,10.

4. User Profiles that answered negatively to CES Microsurvey

mod - A secondary matching condition for range. range - A secondary matching range (in this case, button index).
Note: For a 5-button CES, value range are 0,1,2,3,4.

5. User Profiles that were most recently active more than 7 days ago

6. Admins AND are responsible for 3 or more user invites

Full example using filters_op=or: Admins OR are responsible for 3 or more user invites

Query for users where either role is admin OR invited 3 or more users

Full example using filters_op=or and filter Groups

Query for users where either Admins AND are in a Non-North-American timezone

Full example using filters_op=or and filter Groups

Query for users where either Admins AND are either com the Acme account or have an Acme email address.

Searching Users

HTTP Request

Using the expand parameter

Notes:
  • A profile key will always be present with an object value. The company (embedded within profile) will be missing when the User Profile is not attached to a Company, otherwise it will be an object.

Example: Segment ID

Example: Segmentation filter expressions

See examples above

HTTP Response


Counting Users

HTTP Request

Use the same params / request body as Searching Users

HTTP Response