For a full list of your User / Company Properties see the Properties API
Schema
Fully-expanded Company when listed directly or embedded with expand param specified properly
Non-expanded Company when embedded in another (i.e. Microsurvey response)
Create or Update a Company
See the Companies Webhook for sending User data to ChameleonRetrieve a Company
Retrieve a single Company.HTTP Request
GET
GET
List Companies
List all Companies.HTTP Request
Using the expand parameter
HTTP Response
Search Companies
Searching Companies through the Chameleon API allows you to:- Search for a company by
id,uid, or any custom company property you have sent to us. - Filter companies using Segmentation Filter Expressions with the
propertyandgroupkinds. - Sort the matching companies by any company property.
- Get the Count of Companies matching a set of filters.
Note: Rate Limiting applies according to the table below.
HTTP Request
Note: Company filters support only thepropertyandgroupfilter kinds. Theevent,tour, andsurveykinds available for profile search are not supported for companies.
Note: Whenfiltersorsort_byis provided, results are paginated with an offset-basedcursor. Pass the returnedoffsetback on the next request to fetch the following page:
filters or sort_by, companies use the standard before / after cursor pagination shown under List Companies.
Examples
All of these examples are based directly on the full schema of Segmentation Filter Expressions. Each example below is showing the value for thefilters key in the JSON request body:
Companies that have a specific uid
Find the company with theuid of 123:
Companies matching multiple properties
Find companies on theenterprise plan or with a lifetime value (clv) greater than 100000, combining two property filters with filters_op:
Companies sorted by profile count
Return companies ordered byprofile_count, highest first:
Counting Companies
Return the number of companies matching a set of filters, without fetching the companies themselves.HTTP Request
Counting uses the same
filters / filters_op as Search Companies; sort_by, sort_dir, limit, and offset do not apply.
HTTP Response
Delete a Company
When deleting a company, the company record itself is deleted and company is removed from all profiles associated with it. The associated profiles can also be removed by passingcascade=profiles with the request.
HTTP Request
Eitherid or uid is required.
DELETE
DELETE
HTTP Response
The endpoint returnsid of the Deletion record.
The Deletion is an internal Chameleon record that can be referenced as proof of initiating this request.
Deleting a company and all profiles associated with it
Deleting a company and all profiles associated with it can be done by passingcascade=profiles:
DELETE
DELETE
HTTP Response
When cascade deletion is requested, the endpoint also returns deletion ids of all the profiles associated with the company underdeletions key.

