Skip to main content

An Embeddable is displayed when:
  • URL matching - the page must match the configured URL conditions.
  • Segmentation matches - User is the right person (required but can be set to match All Users).
  • Element targeting - Embeddables are rendered relative to a specific element on the page.
To know more about Embeddables, visit our product documentation.
With the Chameleon API for Embeddables, you can:
  • List all the Embeddables that follow a specified set of parameters.
  • Retrieve a single Embeddable based on the id.
  • Update an Embeddable to change Environments or publish/unpublish it.

Schema

List Embeddables

List all the Embeddables that follow a specified set of parameters.

HTTP Request

GET

HTTP Response

Retrieve an Embeddable

Retrieve a single Embeddable.

HTTP Request

GET

Update an Embeddable

Update a single Embeddable to change its properties or to Publish it.

HTTP Request

PATCH
To Publish the Embeddable send the current timestamp in iso8601 format
To Unpublish the Embeddable set the published_at to null
To add the 5e3c4232c712de666d55632a Environment use a + prefix
To remove the 5e3c4232c712de666d55632a Environment use a - prefix

Filtering by Segment

See Listing Related models