With the Chameleon API, you can list Tour Interactions that follow the specified parameters.
Schema
| Property | Type | Description |
|---|---|---|
id | ID | The Chameleon ID |
created_at | timestamp | When this happened or when this was added to the Database |
updated_at | timestamp | The last time any property was updated |
state | string | The current state of this Tour Interaction: One of started, completed, exited, or displayed |
tour_id | ID | The Chameleon ID of the Tour |
group_id | ID | The Chameleon ID of the parent Experience that triggered this Tour Interaction to begin (Launcher, Tour etc.) |
group_kind | string | The kind of parent Experience that triggered this Tour Interaction to begin: One of link, api_js, launcher, experiment, or campaign |
defer_count | number | The number of times this Tour was snoozed until later |
defer_until | none | The timestamp of when the snoozed ends |
goal_at | timestamp | The timestamp of when the configured Goal was met |
profile | object | An expandable Profile model |
profile.company | none | An expandable Company model embedded in the profile |
List Tour Interactions
HTTP Request
| param | - | description |
|---|---|---|
id | required | The Chameleon ID of the Tour |
limit | optional | Defaults to 50 with a maximum of 500 |
before | optional | Used when paginating, use directly from the cursor object from the previous response |
before | optional | Read as “created before” and can be given as a timestamp to get only limit items that were created before this time |
after | optional | Read as “created after” and can be given as a timestamp or ID to get only limit items that were created after this time |
order | optional | One of created_at or updated_at. Defaults to created_at (the ID encodes this information). |
expand | optional | Object that specifies relationships to include/exclude. Supported keys are profile and company |
expand.profile | optional | use values of all, min or skip to control the properties present in the profile. Defaults to min |
expand.company | optional | use values of all, min or skip to control the properties present in the company. Defaults to min |
Using the expand parameter
- A
profilekey will always be present with an object value. Thecompany(embedded withinprofile) will be missing when the User Profile is not attached to a Company, otherwise it will be an object. - The combination of
beforeandaftercan be used to limit pagination to “stop” at your most recently cached Tour Interaction (send the max ID from your last import as theafterparameter).

