Skip to main content
For a full list of your User / Company Properties see the Properties API

The Chameleon User Profiles API allows you to:
  • Create / Update custom User properties
  • Retrieve a user by id, uid and email.
  • Search for users or get the count of users using any of the properties you have sent to us.
  • Clear or reset a specific user’s data.
  • Delete a user permanently

Schema

Fully-expanded profile when listed directly or embedded with expand param specified properly

Non-expanded profile when embedded in another (i.e. Microsurvey response)

Create or Update a User

See the User Profiles Webhook for sending User data to Chameleon

Retrieve a specific User

HTTP Request

Only one of these parameters is required. Users matched are uniquely identified based on these keys (no two users have the same uid or email) When using a GET request with parameters:
When using a POST request send one of these properties:

HTTP Response

Clear or Reset a User Profile

Clearing a profile consists of:
  • Resetting the properties such as browser width, last seen time, sessions count, etc..
  • Removing Microsurvey responses.
  • Reverts summary data from any actions this user took (i.e. Tour Started counts decremented appropriately).
  • Removes and resets any Events that were tracked for this user.
  • A new percent is assigned and last_cleared_at is updated to "$now".
  • A few other internal cleanup items.
It is also possible to clear a user profile through the Chameleon Dashboard but is limited to profiles associated with the currently logged-in Chameleon Admin. To clear any profile on your account use this API.

HTTP Request

DELETE
or
DELETE

HTTP Response

Delete a User Profile permanently

The ability to delete a User Permanently is part of our effort to allow your users to opt-out of continued data storage by Chameleon and its partners. The key actions taken directly after deleting a User, is to remove Associated data before then removing the User profile data. Associated data includes records of Chameleon Experiences, Events logged and any other internal metrics associated with actions the user has taken. At the end of the process no record of this user exists in our database. Additionally, any data stored in backups relating to user profile data in our database has a retention of 3 months.

HTTP Request

DELETE
or
DELETE

HTTP Response

The Deletion is an internal Chameleon record that can be referenced as proof of initiating this request.

Delete many User Profiles

Please use this gist to delete users via a CSV!