Documentation
NAV Navbar
  • Automation API Reference
  • Automation API Reference

    Introduction

    The Automation API is a REST API that allows almost every action that is possible via our standard (web-based) user interfaces to be also triggered and performed programmatically. This means that you can write your own software / code interacting with our platform, harnessing all of its features and capabilities. As an example, some of our customers took advantage of this API to implement bridges between Kameleoon and their own Git repositories, so that Kameleoon variations code can be managed directly on their usual version control system. You could also design your own dashboard and fill it with experiment results directly obtained from Kameleoon. Building custom systems operating or interfacing with Kameleoon is easy thanks to this API.

    This is the reference documentation for version 0.9-beta of the Automation API. Code samples are on the right section. This API is a REST compliant API, so you can call it with any REST capable framework in any language (Java, C#, NodeJS, Python, etc). We conform to REST conventions and any developer familiar with those should feel at ease here.

    Authentication

    The Automation API uses the OAuth 2.0 framework to manage authorization. It's an industry-standard protocol nowadays for web applications, so a lot of developers should already be familiar with it. The most important thing to understand with OAuth 2.0 is that this framework supports several flows (or use cases).

    With respect to Kameleoon, there are two flows that are relevant for the Automation API:

    Client Credentials Flow

    The Client Credentials Flow is the simplest flow. For this flow, you only need to obtain an access token by providing a client_id and a client_secret to an authorization end-point. You will then be able to access the Automation API by using this token as a Bearer Token present in a Authorization HTTP request header.

    Obtaining an access_token

    Authorization request

    
    curl \
    -H "Content-Type: application/x-www-form-urlencoded" \
    -d 'grant_type=client_credentials&client_id=YOUR_CLIENT_ID&client_secret=YOUR_CLIENT_SECRET' \
    "https://api.kameleoon.com/oauth/token"
    
    

    Authorization response

    {
        "access_token": "eyJhbGciOiJIUzUxMiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJLQU1FTEVPT05fQkFDS19PRkZJQ0UiLCJzdWIiOiJtaWNrYWVsLmdAYWxsb3BuZXVzLmNvbSIsImF1ZCI6IkJBQ0tfT0ZGSUNFIiwidHlwIjoiQUNDRVNTX1RPS0VOIiwiZXhwIjoxNTc3MzY1Nzc3fQ.Ulfz_dw1zGbyRJZMZwpn5STzWCVnrbXbL2UYQ6VhFb1sN81cVHJuljl3RsIMbTLz8NwyCUfMTQLZkLBz2ChnDA"
    }
    

    You send a POST request to the https://api.kameleoon.com/oauth/token endpoint. Your client_id and client_secret should be sent as parameters in the body. The authorization server then replies with a JSON object, containing an access_token.

    Using the access_token to access the API

    REST API example request

    
    curl \
    -H "Authorization: Bearer eyJhbGciOiJIUzUxMiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJLQU1FTEVPT05fQkFDS19PRkZJQ0UiLCJzdWIiOiJtaWNrYWVsLmdAYWxsb3BuZXVzLmNvbSIsImF1ZCI6IkJBQ0tfT0ZGSUNFIiwidHlwIjoiQUNDRVNTX1RPS0VOIiwiZXhwIjoxNTc3MzY1Nzc3fQ.Ulfz_dw1zGbyRJZMZwpn5STzWCVnrbXbL2UYQ6VhFb1sN81cVHJuljl3RsIMbTLz8NwyCUfMTQLZkLBz2ChnDA" \
    -H "Content-Type: application/json" \
    "https://api.kameleoon.com/experiments"
    

    Using the access_token, you can make standard REST web API calls. It should be supplied in the Authorization request header to prove your identity.

    The general Automation API endpoint is https://api.kameleoon.com.

    Authorization Code Flow

    This flow / use case will be available soon (September 2020).

    Rate Limiting

    Rate limiting of the automation API is primarily on a per-user basis — or more accurately described, per user access token.

    5 Minute Windows

    Rate limits are divided into 5 minute intervals. All endpoints require authentication, so there is no concept of unauthenticated calls and rate limits.

    Use the HTTP header in order to understand where the application is at for a given rate limit. Note that the HTTP headers are contextual. When using user-based auth, they indicate the rate limit for that user-application context.

    X-Rate-Limit-Remaining: the rate limit remaining: the number of requests left for the 5 minute window

    When an application exceeds the rate limit for a given standard API endpoint, the API will return a HTTP 429 “Too Many Requests” response code.

    GET and POST Request Limits

    IntervalHTTP MethodNumber of requests
    5 minuteGET1000
    1 dayGET100000
    1 dayPOST100000

    Tips to avoid being Rate Limited

    The tips below are there to help you code defensively and reduce the possibility of being rate limited. Some application features that you may want to provide are simply impossible in light of rate limiting, especially around the freshness of results. If real-time information is an aim of your application, look into the Data API.

    Caching

    Store API responses in your application or on your site if you expect a lot of use. For example, don’t try to call the Automation API on every page load of your website landing page. Instead, call the API infrequently and load the response into a local cache. When users hit your website load the cached version of the results.

    HTTP status codes

    CodeStatusDescription
    200OKYour request was correctly formatted and the resource you requested is returned
    201CreatedReturned when a POST request was successful
    400BadRequestCan happen if your request did not have a valid JSON body. It might help to specify a Content-Type: application/json header in your request. If you sent valid JSON, the error may also reference specific fields that were invalid
    401UnauthorizedYour API token was missing or not in the correct format
    403ForbiddenYou provided an API token but it was invalid or revoked or you don't have read/write access to the entity you're trying to view/edit
    5xxServer ErrorSomething went wrong! Kameleoon engineers have been informed, but please don't hesitate to contact us.

    API usage

    Accounts

    This is an object representing a Kameleoon account. You can retrieve it to see properties on the account like its current e-mail address or locale. With proper authorization your application can read and update an account and profile settings.

    List of accounts

    Example request

    curl -H "Authorization: Bearer qwerty123456789" \
      "https://api.kameleoon.com/accounts"
    

    GET /accounts

    Get list of accounts

    Example response

    [ {
      "id" : "123456789",
      "username" : "string",
      "firstName" : "string",
      "lastName" : "string",
      "email" : "string",
      "dateCreated" : "2020-10-22T10:28:55.643955",
      "preferredLocale" : "ENGLISH",
      "imageURL" : "string",
      "isPasswordExpired" : "false"
    } ]
    
    Response body

    Account
    NameTypeDescription
    idlongThe unique identifier of the given account
    usernamestringThe user name of the given account
    firstNamestringThe first name of the user of the given account
    lastNamestringThe last name of the user of the given account
    emailstringThe email of the given account
    dateCreateddatetimeDate when the account was created
    preferredLocaleenumThe used locale of the given account. Can be [ENGLISH, FRENCH, GERMAN]
    imageURLstringThe image URL of the user
    isPasswordExpiredbooleanPassword regeneration required

    Get personal account data

    Example request

    curl -H "Authorization: Bearer qwerty123456789" \
      "https://api.kameleoon.com/accounts/me"
    

    GET /accounts/me

    Get personal account data

    Example response

    {
      "id" : "123456789",
      "username" : "string",
      "firstName" : "string",
      "lastName" : "string",
      "email" : "string",
      "dateCreated" : "2020-10-22T10:28:55.643955",
      "preferredLocale" : "ENGLISH",
      "imageURL" : "string",
      "isPasswordExpired" : "false"
    }
    
    Response body

    Account
    NameTypeDescription
    idlongThe unique identifier of the given account
    usernamestringThe user name of the given account
    firstNamestringThe first name of the user of the given account
    lastNamestringThe last name of the user of the given account
    emailstringThe email of the given account
    dateCreateddatetimeDate when the account was created
    preferredLocaleenumThe used locale of the given account. Can be [ENGLISH, FRENCH, GERMAN]
    imageURLstringThe image URL of the user
    isPasswordExpiredbooleanPassword regeneration required

    Get one account

    Example request

    curl -H "Authorization: Bearer qwerty123456789" \
      "https://api.kameleoon.com/accounts/{accountId}"
    

    GET /accounts/{accountId}

    Get one account with given id

    Request arguments
    NamePlaceTypeDescription
    accountIdpathlongThe ID of the account object

    Example response

    {
      "id" : "123456789",
      "username" : "string",
      "firstName" : "string",
      "lastName" : "string",
      "email" : "string",
      "dateCreated" : "2020-10-22T10:28:55.643955",
      "preferredLocale" : "ENGLISH",
      "imageURL" : "string",
      "isPasswordExpired" : "false"
    }
    
    Response body

    Account
    NameTypeDescription
    idlongThe unique identifier of the given account
    usernamestringThe user name of the given account
    firstNamestringThe first name of the user of the given account
    lastNamestringThe last name of the user of the given account
    emailstringThe email of the given account
    dateCreateddatetimeDate when the account was created
    preferredLocaleenumThe used locale of the given account. Can be [ENGLISH, FRENCH, GERMAN]
    imageURLstringThe image URL of the user
    isPasswordExpiredbooleanPassword regeneration required

    Audiences

    Audience is statistical info about how many visits, conversions and other statistics a segment has. Getting insight about audience of your site is crucial for adjusting efficient segments

    Get detailed audience

    Example request

    curl -H "Authorization: Bearer qwerty123456789" \
      "https://api.kameleoon.com/audiences/detailed"
    

    GET /audiences/detailed

    Get detailed statistics for one segment

    Request arguments
    NamePlaceTypeDescription
    segmentIdquerylongSegment for which you wish to get statistics
    siteIdquerylongSite on which audience is configured
    startDatequerydateAudience will be calculated since the date YYYY-MM-DD
    endDatequerydateAudience will be calculated till the date YYYY-MM-DD

    Example response

    {
      "globalStats" : {
        "visits" : "123456789",
        "conversions" : "123456789",
        "convertedVisits" : "123456789",
        "conversionRate" : "132.987",
        "revenue" : "132.987",
        "averageRevenuePerVisit" : "132.987",
        "averageRevenuePerConversion" : "132.987",
        "averageConversionPerVisit" : "132.987",
        "startDate" : "2020-10-22",
        "endDate" : "2020-10-22",
        "visitsGapTotal" : "132.987",
        "revenueGapTotal" : "132.987",
        "averageRevenuePerConversionGapTotal" : "132.987",
        "conversionRateEvolution" : "132.987",
        "visitsEvolution" : "132.987",
        "revenueEvolution" : "132.987",
        "averageRevenuePerVisitEvolution" : "132.987",
        "averageRevenuePerConversionEvolution" : "132.987"
      },
      "segmentStats" : {
        "segmentInfo" : {
          "accountUserFirstName" : "string",
          "accountUserLastName" : "string",
          "accountUsername" : "string",
          "dateCreated" : "2020-10-22T10:28:55.643955",
          "id" : "123456789",
          "isFavorite" : "false",
          "name" : "string",
          "type" : "CREATED_BY_USER"
        },
        "visits" : "123456789",
        "conversions" : "123456789",
        "convertedVisits" : "123456789",
        "conversionRate" : "132.987",
        "revenue" : "132.987",
        "averageRevenuePerVisit" : "132.987",
        "averageRevenuePerConversion" : "132.987",
        "averageConversionPerVisit" : "132.987",
        "startDate" : "2020-10-22",
        "endDate" : "2020-10-22",
        "visitsGapTotal" : "132.987",
        "revenueGapTotal" : "132.987",
        "averageRevenuePerConversionGapTotal" : "132.987",
        "conversionRateEvolution" : "132.987",
        "visitsEvolution" : "132.987",
        "revenueEvolution" : "132.987",
        "averageRevenuePerVisitEvolution" : "132.987",
        "averageRevenuePerConversionEvolution" : "132.987"
      },
      "periodStats" : [ {
        "visits" : "123456789",
        "conversions" : "123456789",
        "convertedVisits" : "123456789",
        "conversionRate" : "132.987",
        "revenue" : "132.987",
        "averageRevenuePerVisit" : "132.987",
        "averageRevenuePerConversion" : "132.987",
        "averageConversionPerVisit" : "132.987",
        "startDate" : "2020-10-22",
        "endDate" : "2020-10-22"
      } ],
      "breakdownStats" : ""
    }
    
    Response body

    DetailedAudience
    NameTypeDescription
    globalStatsGlobalStatsSummed up calculations for all tracked segments
    segmentStatsSegmentStatsCalculations for the requested segment summed up by the whole picked period
    periodStatsarray[PeriodStats]Calculations separated by day interval
    breakdownStatsmapCalculations separated by breakdowns

    GlobalStats
    NameTypeDescription
    visitslongAmount of tracked visits
    conversionslongAmount of tracked conversions
    convertedVisitslongAmount of tracked converted visits
    conversionRatedoubleHow often visits are being converted. It's being calculated as convertedVisits/visits
    revenuedoubleAmount of revenue. It can be tracked by kameleoon.js. Or it can be calculated based on audience configuration settings. If you set default amount of revenue per 1 conversion then revenue will be = conversions * the default revenue
    averageRevenuePerVisitdoublerevenue/visits
    averageRevenuePerConversiondoublerevenue/conversions
    averageConversionPerVisitdoubleconversions/visits
    startDatedateThe start of the period for which statistics are calculated. YYYY-MM-DD
    endDatedateThe end of the period for which statistics are calculated. YYYY-MM-DD
    visitsGapTotaldoublePercentage of the current number of visits to the total one
    revenueGapTotaldoublePercentage of the current revenue to the total one
    averageRevenuePerConversionGapTotaldoublePercentage of the current average revenue per conversion to the total one
    conversionRateEvolutiondoubleHow much conversion rate for current period changed according to previous period in percents
    visitsEvolutiondoubleHow much amount of visits for current period changed according to previous period in percents
    revenueEvolutiondoubleHow much amount of revenue for current period changed according to previous period in percents
    averageRevenuePerVisitEvolutiondoubleHow much revenue per visit for current period changed according to previous period in percents
    averageRevenuePerConversionEvolutiondoubleHow much revenue per conversion for current period changed according to previous period in percents

    SegmentStats
    NameTypeDescription
    segmentInfoTargetingSegmentInfoInformation about segment origin
    visitslongAmount of tracked visits
    conversionslongAmount of tracked conversions
    convertedVisitslongAmount of tracked converted visits
    conversionRatedoubleHow often visits are being converted. It's being calculated as convertedVisits/visits
    revenuedoubleAmount of revenue. It can be tracked by kameleoon.js. Or it can be calculated based on audience configuration settings. If you set default amount of revenue per 1 conversion then revenue will be = conversions * the default revenue
    averageRevenuePerVisitdoublerevenue/visits
    averageRevenuePerConversiondoublerevenue/conversions
    averageConversionPerVisitdoubleconversions/visits
    startDatedateThe start of the period for which statistics are calculated. YYYY-MM-DD
    endDatedateThe end of the period for which statistics are calculated. YYYY-MM-DD
    visitsGapTotaldoublePercentage of the current number of visits to the total one
    revenueGapTotaldoublePercentage of the current revenue to the total one
    averageRevenuePerConversionGapTotaldoublePercentage of the current average revenue per conversion to the total one
    conversionRateEvolutiondoubleHow much conversion rate for current period changed according to previous period in percents
    visitsEvolutiondoubleHow much amount of visits for current period changed according to previous period in percents
    revenueEvolutiondoubleHow much amount of revenue for current period changed according to previous period in percents
    averageRevenuePerVisitEvolutiondoubleHow much revenue per visit for current period changed according to previous period in percents
    averageRevenuePerConversionEvolutiondoubleHow much revenue per conversion for current period changed according to previous period in percents

    TargetingSegmentInfo
    NameTypeDescription
    accountUserFirstNamestringFirst name of the user who created the segment
    accountUserLastNamestringLast name of the user who created the segment
    accountUsernamestringUsername of the user who created the segment
    dateCreateddatetimeWhen the segment was created
    idlongIdentifier of the segment for which the stats was tracked
    isFavoritebooleanTrue if the segment is marked as favorite
    namestringName of the segment for which the stats was tracked
    typeenum. Can be [CREATED_BY_USER, PREDEFINED_SEGMENT]

    PeriodStats
    NameTypeDescription
    visitslongAmount of tracked visits
    conversionslongAmount of tracked conversions
    convertedVisitslongAmount of tracked converted visits
    conversionRatedoubleHow often visits are being converted. It's being calculated as convertedVisits/visits
    revenuedoubleAmount of revenue. It can be tracked by kameleoon.js. Or it can be calculated based on audience configuration settings. If you set default amount of revenue per 1 conversion then revenue will be = conversions * the default revenue
    averageRevenuePerVisitdoublerevenue/visits
    averageRevenuePerConversiondoublerevenue/conversions
    averageConversionPerVisitdoubleconversions/visits
    startDatedateThe start of the period for which statistics are calculated. YYYY-MM-DD
    endDatedateThe end of the period for which statistics are calculated. YYYY-MM-DD

    Get global audience

    Example request

    curl -H "Authorization: Bearer qwerty123456789" \
      "https://api.kameleoon.com/audiences/global"
    

    GET /audiences/global

    Get global statistics for all tracked segments

    Request arguments
    NamePlaceTypeDescription
    startDatequerydateAudience will be calculated since the date YYYY-MM-DD
    siteIdquerylongAudience are calculated for segments configured in audience config for a site
    isFavoritequerybooleanSet true if you wish to get audience only for favorite segments. False by default
    endDatequerydateAudience will be calculated till the date YYYY-MM-DD

    Example response

    {
      "globalStats" : {
        "visits" : "123456789",
        "conversions" : "123456789",
        "convertedVisits" : "123456789",
        "conversionRate" : "132.987",
        "revenue" : "132.987",
        "averageRevenuePerVisit" : "132.987",
        "averageRevenuePerConversion" : "132.987",
        "averageConversionPerVisit" : "132.987",
        "startDate" : "2020-10-22",
        "endDate" : "2020-10-22",
        "visitsGapTotal" : "132.987",
        "revenueGapTotal" : "132.987",
        "averageRevenuePerConversionGapTotal" : "132.987",
        "conversionRateEvolution" : "132.987",
        "visitsEvolution" : "132.987",
        "revenueEvolution" : "132.987",
        "averageRevenuePerVisitEvolution" : "132.987",
        "averageRevenuePerConversionEvolution" : "132.987"
      },
      "segmentStats" : [ {
        "segmentInfo" : {
          "accountUserFirstName" : "string",
          "accountUserLastName" : "string",
          "accountUsername" : "string",
          "dateCreated" : "2020-10-22T10:28:55.643955",
          "id" : "123456789",
          "isFavorite" : "false",
          "name" : "string",
          "type" : "CREATED_BY_USER"
        },
        "visits" : "123456789",
        "conversions" : "123456789",
        "convertedVisits" : "123456789",
        "conversionRate" : "132.987",
        "revenue" : "132.987",
        "averageRevenuePerVisit" : "132.987",
        "averageRevenuePerConversion" : "132.987",
        "averageConversionPerVisit" : "132.987",
        "startDate" : "2020-10-22",
        "endDate" : "2020-10-22",
        "visitsGapTotal" : "132.987",
        "revenueGapTotal" : "132.987",
        "averageRevenuePerConversionGapTotal" : "132.987",
        "conversionRateEvolution" : "132.987",
        "visitsEvolution" : "132.987",
        "revenueEvolution" : "132.987",
        "averageRevenuePerVisitEvolution" : "132.987",
        "averageRevenuePerConversionEvolution" : "132.987"
      } ]
    }
    
    Response body

    GlobalAudience
    NameTypeDescription
    globalStatsGlobalStatsSummed up calculations for all tracked segments
    segmentStatsarray[SegmentStats]Calculations per every segment

    GlobalStats
    NameTypeDescription
    visitslongAmount of tracked visits
    conversionslongAmount of tracked conversions
    convertedVisitslongAmount of tracked converted visits
    conversionRatedoubleHow often visits are being converted. It's being calculated as convertedVisits/visits
    revenuedoubleAmount of revenue. It can be tracked by kameleoon.js. Or it can be calculated based on audience configuration settings. If you set default amount of revenue per 1 conversion then revenue will be = conversions * the default revenue
    averageRevenuePerVisitdoublerevenue/visits
    averageRevenuePerConversiondoublerevenue/conversions
    averageConversionPerVisitdoubleconversions/visits
    startDatedateThe start of the period for which statistics are calculated. YYYY-MM-DD
    endDatedateThe end of the period for which statistics are calculated. YYYY-MM-DD
    visitsGapTotaldoublePercentage of the current number of visits to the total one
    revenueGapTotaldoublePercentage of the current revenue to the total one
    averageRevenuePerConversionGapTotaldoublePercentage of the current average revenue per conversion to the total one
    conversionRateEvolutiondoubleHow much conversion rate for current period changed according to previous period in percents
    visitsEvolutiondoubleHow much amount of visits for current period changed according to previous period in percents
    revenueEvolutiondoubleHow much amount of revenue for current period changed according to previous period in percents
    averageRevenuePerVisitEvolutiondoubleHow much revenue per visit for current period changed according to previous period in percents
    averageRevenuePerConversionEvolutiondoubleHow much revenue per conversion for current period changed according to previous period in percents

    SegmentStats
    NameTypeDescription
    segmentInfoTargetingSegmentInfoInformation about segment origin
    visitslongAmount of tracked visits
    conversionslongAmount of tracked conversions
    convertedVisitslongAmount of tracked converted visits
    conversionRatedoubleHow often visits are being converted. It's being calculated as convertedVisits/visits
    revenuedoubleAmount of revenue. It can be tracked by kameleoon.js. Or it can be calculated based on audience configuration settings. If you set default amount of revenue per 1 conversion then revenue will be = conversions * the default revenue
    averageRevenuePerVisitdoublerevenue/visits
    averageRevenuePerConversiondoublerevenue/conversions
    averageConversionPerVisitdoubleconversions/visits
    startDatedateThe start of the period for which statistics are calculated. YYYY-MM-DD
    endDatedateThe end of the period for which statistics are calculated. YYYY-MM-DD
    visitsGapTotaldoublePercentage of the current number of visits to the total one
    revenueGapTotaldoublePercentage of the current revenue to the total one
    averageRevenuePerConversionGapTotaldoublePercentage of the current average revenue per conversion to the total one
    conversionRateEvolutiondoubleHow much conversion rate for current period changed according to previous period in percents
    visitsEvolutiondoubleHow much amount of visits for current period changed according to previous period in percents
    revenueEvolutiondoubleHow much amount of revenue for current period changed according to previous period in percents
    averageRevenuePerVisitEvolutiondoubleHow much revenue per visit for current period changed according to previous period in percents
    averageRevenuePerConversionEvolutiondoubleHow much revenue per conversion for current period changed according to previous period in percents

    TargetingSegmentInfo
    NameTypeDescription
    accountUserFirstNamestringFirst name of the user who created the segment
    accountUserLastNamestringLast name of the user who created the segment
    accountUsernamestringUsername of the user who created the segment
    dateCreateddatetimeWhen the segment was created
    idlongIdentifier of the segment for which the stats was tracked
    isFavoritebooleanTrue if the segment is marked as favorite
    namestringName of the segment for which the stats was tracked
    typeenum. Can be [CREATED_BY_USER, PREDEFINED_SEGMENT]

    Custom datas

    List custom data

    Example request

    curl -H "Authorization: Bearer qwerty123456789" \
      "https://api.kameleoon.com/custom-datas"
    

    GET /custom-datas

    Get the list of all custom data

    Example response

    [ {
      "id" : "123456789",
      "isConstant" : "false",
      "customEvalCode" : "string",
      "isFiltrableVentilable" : "false",
      "gtmVariableName" : "string",
      "learnable" : "false",
      "isLocalOnly" : "false",
      "name" : "string",
      "method" : "string",
      "siteId" : "123456789",
      "tcVariableName" : "string",
      "tealiumVariableName" : "string",
      "type" : "string",
      "tags" : "string",
      "creationDate" : "2020-10-22T10:28:55.643955",
      "modificationDate" : "2020-10-22T10:28:55.643955"
    } ]
    
    Response body

    CustomData
    NameTypeDescription
    idlongThe unique identifier of the given custom data
    isConstantbooleanIndicates whether custom data is a constant
    customEvalCodestringCustom code that will be executed
    isFiltrableVentilablebooleanIndicates whether custom data should be filtered and marked available for a breakdown
    gtmVariableNamestringVariable name of the Google Tag Manager
    learnablebooleanIndicates whether this data should be included in Kameleoon machine learning
    isLocalOnlybooleanIndicates whether this data is stored on a user's device only
    namestringThe name for the given custom data
    methodstringA method through which a custom data will be transmitted
    siteIdlongUnique site identifier assigned with the record
    tcVariableNamestringVariable name for the tag commander data layer, if it is selected as a transmission method
    tealiumVariableNamestringVariable name for the Tealium, if it is selected as a transmission method
    typestringFormat of data to be retrieved
    tagsstringThis fields stores tags that are associated with this record
    creationDatedatetimeDate and time a record is created
    modificationDatedatetimeDate and time a record is modified

    Create a new custom data

    Example request

    curl -X POST \
      -H "Authorization: Bearer qwerty123456789" \
      -H "Content-Type: application/json" -d @- \
      "https://api.kameleoon.com/custom-datas"
    {
      "id" : "123456789",
      "isConstant" : "false",
      "customEvalCode" : "string",
      "isFiltrableVentilable" : "false",
      "gtmVariableName" : "string",
      "learnable" : "false",
      "isLocalOnly" : "false",
      "name" : "string",
      "method" : "string",
      "siteId" : "123456789",
      "tcVariableName" : "string",
      "tealiumVariableName" : "string",
      "type" : "string",
      "tags" : "string",
      "creationDate" : "2020-10-22T10:28:55.643955",
      "modificationDate" : "2020-10-22T10:28:55.643955"
    }
    

    POST /custom-datas

    Create new custom data with given parameters

    Request body

    CustomData
    NameTypeDescription
    id
    *read only
    longThe unique identifier of the given custom data
    isConstantbooleanIndicates whether custom data is a constant
    customEvalCodestringCustom code that will be executed
    isFiltrableVentilablebooleanIndicates whether custom data should be filtered and marked available for a breakdown
    gtmVariableNamestringVariable name of the Google Tag Manager
    learnablebooleanIndicates whether this data should be included in Kameleoon machine learning
    isLocalOnlybooleanIndicates whether this data is stored on a user's device only
    namestringThe name for the given custom data
    methodstringA method through which a custom data will be transmitted
    siteIdlongUnique site identifier assigned with the record
    tcVariableNamestringVariable name for the tag commander data layer, if it is selected as a transmission method
    tealiumVariableNamestringVariable name for the Tealium, if it is selected as a transmission method
    typestringFormat of data to be retrieved
    tagsstringThis fields stores tags that are associated with this record
    creationDate
    *read only
    datetimeDate and time a record is created
    modificationDate
    *read only
    datetimeDate and time a record is modified

    Example response

    {
      "id" : "123456789",
      "isConstant" : "false",
      "customEvalCode" : "string",
      "isFiltrableVentilable" : "false",
      "gtmVariableName" : "string",
      "learnable" : "false",
      "isLocalOnly" : "false",
      "name" : "string",
      "method" : "string",
      "siteId" : "123456789",
      "tcVariableName" : "string",
      "tealiumVariableName" : "string",
      "type" : "string",
      "tags" : "string",
      "creationDate" : "2020-10-22T10:28:55.643955",
      "modificationDate" : "2020-10-22T10:28:55.643955"
    }
    
    Response body

    CustomData
    NameTypeDescription
    idlongThe unique identifier of the given custom data
    isConstantbooleanIndicates whether custom data is a constant
    customEvalCodestringCustom code that will be executed
    isFiltrableVentilablebooleanIndicates whether custom data should be filtered and marked available for a breakdown
    gtmVariableNamestringVariable name of the Google Tag Manager
    learnablebooleanIndicates whether this data should be included in Kameleoon machine learning
    isLocalOnlybooleanIndicates whether this data is stored on a user's device only
    namestringThe name for the given custom data
    methodstringA method through which a custom data will be transmitted
    siteIdlongUnique site identifier assigned with the record
    tcVariableNamestringVariable name for the tag commander data layer, if it is selected as a transmission method
    tealiumVariableNamestringVariable name for the Tealium, if it is selected as a transmission method
    typestringFormat of data to be retrieved
    tagsstringThis fields stores tags that are associated with this record
    creationDatedatetimeDate and time a record is created
    modificationDatedatetimeDate and time a record is modified

    Get one custom data

    Example request

    curl -H "Authorization: Bearer qwerty123456789" \
      "https://api.kameleoon.com/custom-datas/{customDataId}"
    

    GET /custom-datas/{customDataId}

    Get one custom data with the given id

    Request arguments
    NamePlaceTypeDescription
    customDataIdpathlongThe ID of the custom data object

    Example response

    {
      "id" : "123456789",
      "isConstant" : "false",
      "customEvalCode" : "string",
      "isFiltrableVentilable" : "false",
      "gtmVariableName" : "string",
      "learnable" : "false",
      "isLocalOnly" : "false",
      "name" : "string",
      "method" : "string",
      "siteId" : "123456789",
      "tcVariableName" : "string",
      "tealiumVariableName" : "string",
      "type" : "string",
      "tags" : "string",
      "creationDate" : "2020-10-22T10:28:55.643955",
      "modificationDate" : "2020-10-22T10:28:55.643955"
    }
    
    Response body

    CustomData
    NameTypeDescription
    idlongThe unique identifier of the given custom data
    isConstantbooleanIndicates whether custom data is a constant
    customEvalCodestringCustom code that will be executed
    isFiltrableVentilablebooleanIndicates whether custom data should be filtered and marked available for a breakdown
    gtmVariableNamestringVariable name of the Google Tag Manager
    learnablebooleanIndicates whether this data should be included in Kameleoon machine learning
    isLocalOnlybooleanIndicates whether this data is stored on a user's device only
    namestringThe name for the given custom data
    methodstringA method through which a custom data will be transmitted
    siteIdlongUnique site identifier assigned with the record
    tcVariableNamestringVariable name for the tag commander data layer, if it is selected as a transmission method
    tealiumVariableNamestringVariable name for the Tealium, if it is selected as a transmission method
    typestringFormat of data to be retrieved
    tagsstringThis fields stores tags that are associated with this record
    creationDatedatetimeDate and time a record is created
    modificationDatedatetimeDate and time a record is modified

    Update custom data

    Example request

    curl -X PUT \
      -H "Authorization: Bearer qwerty123456789" \
      -H "Content-Type: application/json" -d @- \
      "https://api.kameleoon.com/custom-datas/{customDataId}"
    {
      "id" : "123456789",
      "isConstant" : "false",
      "customEvalCode" : "string",
      "isFiltrableVentilable" : "false",
      "gtmVariableName" : "string",
      "learnable" : "false",
      "isLocalOnly" : "false",
      "name" : "string",
      "method" : "string",
      "siteId" : "123456789",
      "tcVariableName" : "string",
      "tealiumVariableName" : "string",
      "type" : "string",
      "tags" : "string",
      "creationDate" : "2020-10-22T10:28:55.643955",
      "modificationDate" : "2020-10-22T10:28:55.643955"
    }
    

    PUT /custom-datas/{customDataId}

    Update custom data with given id

    Request arguments
    NamePlaceTypeDescription
    customDataIdpathlongThe ID of the custom data object
    Request body

    CustomData
    NameTypeDescription
    id
    *read only
    longThe unique identifier of the given custom data
    isConstantbooleanIndicates whether custom data is a constant
    customEvalCodestringCustom code that will be executed
    isFiltrableVentilablebooleanIndicates whether custom data should be filtered and marked available for a breakdown
    gtmVariableNamestringVariable name of the Google Tag Manager
    learnablebooleanIndicates whether this data should be included in Kameleoon machine learning
    isLocalOnlybooleanIndicates whether this data is stored on a user's device only
    namestringThe name for the given custom data
    methodstringA method through which a custom data will be transmitted
    siteIdlongUnique site identifier assigned with the record
    tcVariableNamestringVariable name for the tag commander data layer, if it is selected as a transmission method
    tealiumVariableNamestringVariable name for the Tealium, if it is selected as a transmission method
    typestringFormat of data to be retrieved
    tagsstringThis fields stores tags that are associated with this record
    creationDate
    *read only
    datetimeDate and time a record is created
    modificationDate
    *read only
    datetimeDate and time a record is modified

    Example response

    {
      "id" : "123456789",
      "isConstant" : "false",
      "customEvalCode" : "string",
      "isFiltrableVentilable" : "false",
      "gtmVariableName" : "string",
      "learnable" : "false",
      "isLocalOnly" : "false",
      "name" : "string",
      "method" : "string",
      "siteId" : "123456789",
      "tcVariableName" : "string",
      "tealiumVariableName" : "string",
      "type" : "string",
      "tags" : "string",
      "creationDate" : "2020-10-22T10:28:55.643955",
      "modificationDate" : "2020-10-22T10:28:55.643955"
    }
    
    Response body

    CustomData
    NameTypeDescription
    idlongThe unique identifier of the given custom data
    isConstantbooleanIndicates whether custom data is a constant
    customEvalCodestringCustom code that will be executed
    isFiltrableVentilablebooleanIndicates whether custom data should be filtered and marked available for a breakdown
    gtmVariableNamestringVariable name of the Google Tag Manager
    learnablebooleanIndicates whether this data should be included in Kameleoon machine learning
    isLocalOnlybooleanIndicates whether this data is stored on a user's device only
    namestringThe name for the given custom data
    methodstringA method through which a custom data will be transmitted
    siteIdlongUnique site identifier assigned with the record
    tcVariableNamestringVariable name for the tag commander data layer, if it is selected as a transmission method
    tealiumVariableNamestringVariable name for the Tealium, if it is selected as a transmission method
    typestringFormat of data to be retrieved
    tagsstringThis fields stores tags that are associated with this record
    creationDatedatetimeDate and time a record is created
    modificationDatedatetimeDate and time a record is modified

    Remove custom data

    Example request

    curl -X DELETE \
      -H "Authorization: Bearer qwerty123456789" \
      "https://api.kameleoon.com/custom-datas/{customDataId}"
    

    DELETE /custom-datas/{customDataId}

    Remove custom data with given id

    Request arguments
    NamePlaceTypeDescription
    customDataIdpathlongThe ID of the custom data object

    Partial update custom data

    Example request

    curl -X PATCH \
      -H "Authorization: Bearer qwerty123456789" \
      -H "Content-Type: application/json" -d @- \
      "https://api.kameleoon.com/custom-datas/{customDataId}"
    {
      "isConstant" : "false",
      "name" : "string",
      "customEvalCode" : "string",
      "isFiltrableVentilable" : "false",
      "gtmVariableName" : "string",
      "learnable" : "false",
      "isLocalOnly" : "false",
      "method" : "string",
      "tcVariableName" : "string",
      "tealiumVariableName" : "string",
      "type" : "string",
      "tags" : "string"
    }
    

    PATCH /custom-datas/{customDataId}

    Update several fields of custom data

    Request arguments
    NamePlaceTypeDescription
    customDataIdpathlongThe ID of the custom data object
    Request body

    CustomDataUpdate
    NameTypeDescription
    isConstantbooleanIndicates whether custom data is a constant
    namestringThe name for the given custom data
    customEvalCodestringCustom code that will be executed
    isFiltrableVentilablebooleanIndicates whether custom data should be filtered and marked available for a breakdown
    gtmVariableNamestringVariable name of the Google Tag Manager
    learnablebooleanIndicates whether this data should be included in Kameleoon machine learning
    isLocalOnlybooleanIndicates whether this data is stored on a user's device only
    methodstringA method through which a custom data will be transmitted
    tcVariableNamestringVariable name for the tag commander data layer, if it is selected as a transmission method
    tealiumVariableNamestringVariable name for the Tealium, if it is selected as a transmission method
    typestringFormat of data to be retrieved
    tagsstringThis fields stores tags that are associated with this record

    Example response

    {
      "id" : "123456789",
      "isConstant" : "false",
      "customEvalCode" : "string",
      "isFiltrableVentilable" : "false",
      "gtmVariableName" : "string",
      "learnable" : "false",
      "isLocalOnly" : "false",
      "name" : "string",
      "method" : "string",
      "siteId" : "123456789",
      "tcVariableName" : "string",
      "tealiumVariableName" : "string",
      "type" : "string",
      "tags" : "string",
      "creationDate" : "2020-10-22T10:28:55.643955",
      "modificationDate" : "2020-10-22T10:28:55.643955"
    }
    
    Response body

    CustomData
    NameTypeDescription
    idlongThe unique identifier of the given custom data
    isConstantbooleanIndicates whether custom data is a constant
    customEvalCodestringCustom code that will be executed
    isFiltrableVentilablebooleanIndicates whether custom data should be filtered and marked available for a breakdown
    gtmVariableNamestringVariable name of the Google Tag Manager
    learnablebooleanIndicates whether this data should be included in Kameleoon machine learning
    isLocalOnlybooleanIndicates whether this data is stored on a user's device only
    namestringThe name for the given custom data
    methodstringA method through which a custom data will be transmitted
    siteIdlongUnique site identifier assigned with the record
    tcVariableNamestringVariable name for the tag commander data layer, if it is selected as a transmission method
    tealiumVariableNamestringVariable name for the Tealium, if it is selected as a transmission method
    typestringFormat of data to be retrieved
    tagsstringThis fields stores tags that are associated with this record
    creationDatedatetimeDate and time a record is created
    modificationDatedatetimeDate and time a record is modified

    Customers

    When you first sign up with Kameleoon, you have just one account and customer, your main account. But you can also create more accounts. Customer object represents basic information that were used to set up your customer account.

    Get personal customer data

    Example request

    curl -H "Authorization: Bearer qwerty123456789" \
      "https://api.kameleoon.com/customers/me"
    

    GET /customers/me

    Get personal customer data

    Example response

    {
      "id" : "123456789",
      "name" : "string",
      "status" : "ACTIVE",
      "level" : "FREE",
      "country" : "FRANCE",
      "timeZone" : "string",
      "products" : [ "ABTESTING" ],
      "passwordExpirationPolicy" : "2020-10-22T10:28:55.643955",
      "dateCreated" : "2020-10-22T10:28:55.643955"
    }
    
    Response body

    Customer
    NameTypeDescription
    idlongThe unique identifier of the given customer
    namestringThe name of the given customer
    statusenumThe current status of the given customer. Can be [ACTIVE, SUBSCRIBED_AUDIENCE_EXCEEDED, QUOTA_RESET, UNSUBSCRIBED_ENTREPRISE_PLAN]
    levelenumThe plan of the given customer. Can be [FREE, PREMIUM, FREEMIUM, BRONZE, SILVER, GOLD, PLATINUM, ENTERPRISE, CUSTOM]
    countryenumThe country of the given customer. Can be [FRANCE, RUSSIA, GERMANY, UNITED_KINGDOM, UNITED_STATES, OTHER]
    timeZonestringThe default time zone of the given customer
    productsarrayThe available modules of the given customer. Can be [ABTESTING, PERSONALIZATION, PREDICTIVE, AUDIENCE_DISCOVERY, INTERESTS, PRODUCT, WIDGET_TEMPLATE]
    passwordExpirationPolicydatetimeThe number of days before password expires
    dateCreateddatetimeDate when the customer was created

    Get one customer

    Example request

    curl -H "Authorization: Bearer qwerty123456789" \
      "https://api.kameleoon.com/customers/{customerId}"
    

    GET /customers/{customerId}

    Get one customer with given id

    Request arguments
    NamePlaceTypeDescription
    customerIdpathlongThe unique identifier of the given customer

    Example response

    {
      "id" : "123456789",
      "name" : "string",
      "status" : "ACTIVE",
      "level" : "FREE",
      "country" : "FRANCE",
      "timeZone" : "string",
      "products" : [ "ABTESTING" ],
      "passwordExpirationPolicy" : "2020-10-22T10:28:55.643955",
      "dateCreated" : "2020-10-22T10:28:55.643955"
    }
    
    Response body

    Customer
    NameTypeDescription
    idlongThe unique identifier of the given customer
    namestringThe name of the given customer
    statusenumThe current status of the given customer. Can be [ACTIVE, SUBSCRIBED_AUDIENCE_EXCEEDED, QUOTA_RESET, UNSUBSCRIBED_ENTREPRISE_PLAN]
    levelenumThe plan of the given customer. Can be [FREE, PREMIUM, FREEMIUM, BRONZE, SILVER, GOLD, PLATINUM, ENTERPRISE, CUSTOM]
    countryenumThe country of the given customer. Can be [FRANCE, RUSSIA, GERMANY, UNITED_KINGDOM, UNITED_STATES, OTHER]
    timeZonestringThe default time zone of the given customer
    productsarrayThe available modules of the given customer. Can be [ABTESTING, PERSONALIZATION, PREDICTIVE, AUDIENCE_DISCOVERY, INTERESTS, PRODUCT, WIDGET_TEMPLATE]
    passwordExpirationPolicydatetimeThe number of days before password expires
    dateCreateddatetimeDate when the customer was created

    Experiments

    Experiment is an A/B test which can be targeted to a specific audience or everyone. Kameleoon has several types of experiments: Classic, Multivariate test (MVT), Server-side and the one that suits the best can be used to achieve the best results.

    List experiments

    Example request

    curl -H "Authorization: Bearer qwerty123456789" \
      "https://api.kameleoon.com/experiments"
    

    GET /experiments

    Get the list of all experiments

    Example response

    [ {
      "id" : "123456789",
      "name" : "string",
      "siteId" : "123456789",
      "baseURL" : "string",
      "type" : "CLASSIC",
      "description" : "string",
      "tags" : [ "[]" ],
      "trackingTools" : [ {
        "adobeOmnitureObject" : "string",
        "comScoreCustomerId" : "string",
        "comScoreDomain" : "string",
        "customVariable" : "1234",
        "eulerianUserCentricParameter" : "string",
        "googleAnalyticsTracker" : "string",
        "heatMapPageWidth" : "1234",
        "reportingScript" : "string",
        "type" : "GOOGLE_ANALYTICS",
        "universalAnalyticsDimension" : "1234"
      } ],
      "status" : "string",
      "dateCreated" : "2020-10-22T10:28:55.643955",
      "goals" : [ "[]" ],
      "targetingSegmentId" : "123456789",
      "mainGoalId" : "123456789",
      "autoOptimized" : "false",
      "deviations" : "",
      "respoolTime" : "",
      "targetingConfiguration" : "SITE",
      "variationsId" : [ "[]" ],
      "dateModified" : "2020-10-22T10:28:55.643955",
      "dateStarted" : "2020-10-22T10:28:55.643955",
      "dateStatusModified" : "2020-10-22T10:28:55.643955",
      "isArchived" : "false",
      "createdBy" : "123456789",
      "commonCSSCode" : "string",
      "commonJavaScriptCode" : "string"
    } ]
    
    Response body

    Experiment
    NameTypeDescription
    idlongThis field is generated by the system to uniquely identify an experiment
    namestringThe name of the experiment
    siteIdlongThe website id that an experiment belongs to
    baseURLstring
    typeenum. Can be [CLASSIC, SERVER_SIDE, DEVELOPER, MVT, HYBRID]
    descriptionstring
    tagsarray
    trackingToolsarray[TrackingTool]
    statusstringThe status of the given experiment
    dateCreateddatetime
    goalsarray
    targetingSegmentIdlong
    mainGoalIdlong
    autoOptimizedboolean
    deviationsmapTraffic allocation per variation. Key can be 'origin'(for original page) or variation id. Value is percent of traffic which will be routed to the variation. Values has to be double numbers in range from 0(0%) to 1(100%).
    respoolTimemap
    targetingConfigurationenum. Can be [SITE, PAGE, URL, SAVED_TEMPLATE]
    variationsIdarrayList of associated variations id for this experiment
    dateModifieddatetime
    dateStarteddatetime
    dateStatusModifieddatetime
    isArchivedboolean
    createdBylongAccount id to whom created this experiment
    commonCSSCodestringCSS code specific to all variations
    commonJavaScriptCodestringJavaScript code specific to all variations

    TrackingTool
    NameTypeDescription
    adobeOmnitureObjectstring
    comScoreCustomerIdstring
    comScoreDomainstring
    customVariableinteger
    eulerianUserCentricParameterstring
    googleAnalyticsTrackerstring
    heatMapPageWidthinteger
    reportingScriptstring
    typeenum. Can be [GOOGLE_ANALYTICS, UNIVERSAL_ANALYTICS, ECONDA, AT_INTERNET, SMART_TAG, ADOBE_OMNITURE, EULERIAN, WEBTRENDS, HEATMAP, KISS_METRICS, PIWIK, CRAZY_EGG, COM_SCORE, TEALIUM, YSANCE, M_PATHY, MANDRILL, MAILPERFORMANCE, SMARTFOCUS, MAILJET, MAILUP, EMARSYS, EXPERT_SENDER, TAG_COMMANDER, GOOGLE_TAG_MANAGER, CONTENT_SQUARE, WEBTREKK, CUSTOM_INTEGRATION, HEAP, SEGMENT, MIXPANEL, KAMELEOON_TRACKING, CUSTOM_TRACKING]
    universalAnalyticsDimensioninteger

    Create a new experiment

    Example request

    curl -X POST \
      -H "Authorization: Bearer qwerty123456789" \
      -H "Content-Type: application/json" -d @- \
      "https://api.kameleoon.com/experiments"
    {
      "id" : "123456789",
      "name" : "string",
      "siteId" : "123456789",
      "baseURL" : "string",
      "type" : "CLASSIC",
      "description" : "string",
      "tags" : [ "[]" ],
      "trackingTools" : [ {
        "adobeOmnitureObject" : "string",
        "comScoreCustomerId" : "string",
        "comScoreDomain" : "string",
        "customVariable" : "1234",
        "eulerianUserCentricParameter" : "string",
        "googleAnalyticsTracker" : "string",
        "heatMapPageWidth" : "1234",
        "reportingScript" : "string",
        "type" : "GOOGLE_ANALYTICS",
        "universalAnalyticsDimension" : "1234"
      } ],
      "status" : "string",
      "dateCreated" : "2020-10-22T10:28:55.643955",
      "goals" : [ "[]" ],
      "targetingSegmentId" : "123456789",
      "mainGoalId" : "123456789",
      "autoOptimized" : "false",
      "deviations" : "",
      "respoolTime" : "",
      "targetingConfiguration" : "SITE",
      "variationsId" : [ "[]" ],
      "dateModified" : "2020-10-22T10:28:55.643955",
      "dateStarted" : "2020-10-22T10:28:55.643955",
      "dateStatusModified" : "2020-10-22T10:28:55.643955",
      "isArchived" : "false",
      "createdBy" : "123456789",
      "commonCSSCode" : "string",
      "commonJavaScriptCode" : "string"
    }
    

    POST /experiments

    Create a new experiment with the given parameters

    Request body

    Experiment
    NameTypeDescription
    id
    *read only
    longThis field is generated by the system to uniquely identify an experiment
    name
    *required
    stringThe name of the experiment
    siteId
    *required
    longThe website id that an experiment belongs to
    baseURLstring
    typeenum. Can be [CLASSIC, SERVER_SIDE, DEVELOPER, MVT, HYBRID]
    descriptionstring
    tagsarray
    trackingToolsarray[TrackingTool]
    status
    *read only
    stringThe status of the given experiment
    dateCreated
    *read only
    datetime
    goalsarray
    targetingSegmentIdlong
    mainGoalIdlong
    autoOptimizedboolean
    deviationsmapTraffic allocation per variation. Key can be 'origin'(for original page) or variation id. Value is percent of traffic which will be routed to the variation. Values has to be double numbers in range from 0(0%) to 1(100%).
    respoolTimemap
    targetingConfigurationenum. Can be [SITE, PAGE, URL, SAVED_TEMPLATE]
    variationsIdarrayList of associated variations id for this experiment
    dateModified
    *read only
    datetime
    dateStarted
    *read only
    datetime
    dateStatusModified
    *read only
    datetime
    isArchivedboolean
    createdBy
    *read only
    longAccount id to whom created this experiment
    commonCSSCodestringCSS code specific to all variations
    commonJavaScriptCodestringJavaScript code specific to all variations

    TrackingTool
    NameTypeDescription
    adobeOmnitureObjectstring
    comScoreCustomerIdstring
    comScoreDomainstring
    customVariableinteger
    eulerianUserCentricParameterstring
    googleAnalyticsTrackerstring
    heatMapPageWidthinteger
    reportingScriptstring
    typeenum. Can be [GOOGLE_ANALYTICS, UNIVERSAL_ANALYTICS, ECONDA, AT_INTERNET, SMART_TAG, ADOBE_OMNITURE, EULERIAN, WEBTRENDS, HEATMAP, KISS_METRICS, PIWIK, CRAZY_EGG, COM_SCORE, TEALIUM, YSANCE, M_PATHY, MANDRILL, MAILPERFORMANCE, SMARTFOCUS, MAILJET, MAILUP, EMARSYS, EXPERT_SENDER, TAG_COMMANDER, GOOGLE_TAG_MANAGER, CONTENT_SQUARE, WEBTREKK, CUSTOM_INTEGRATION, HEAP, SEGMENT, MIXPANEL, KAMELEOON_TRACKING, CUSTOM_TRACKING]
    universalAnalyticsDimensioninteger

    Example response

    {
      "id" : "123456789",
      "name" : "string",
      "siteId" : "123456789",
      "baseURL" : "string",
      "type" : "CLASSIC",
      "description" : "string",
      "tags" : [ "[]" ],
      "trackingTools" : [ {
        "adobeOmnitureObject" : "string",
        "comScoreCustomerId" : "string",
        "comScoreDomain" : "string",
        "customVariable" : "1234",
        "eulerianUserCentricParameter" : "string",
        "googleAnalyticsTracker" : "string",
        "heatMapPageWidth" : "1234",
        "reportingScript" : "string",
        "type" : "GOOGLE_ANALYTICS",
        "universalAnalyticsDimension" : "1234"
      } ],
      "status" : "string",
      "dateCreated" : "2020-10-22T10:28:55.643955",
      "goals" : [ "[]" ],
      "targetingSegmentId" : "123456789",
      "mainGoalId" : "123456789",
      "autoOptimized" : "false",
      "deviations" : "",
      "respoolTime" : "",
      "targetingConfiguration" : "SITE",
      "variationsId" : [ "[]" ],
      "dateModified" : "2020-10-22T10:28:55.643955",
      "dateStarted" : "2020-10-22T10:28:55.643955",
      "dateStatusModified" : "2020-10-22T10:28:55.643955",
      "isArchived" : "false",
      "createdBy" : "123456789",
      "commonCSSCode" : "string",
      "commonJavaScriptCode" : "string"
    }
    
    Response body

    Experiment
    NameTypeDescription
    idlongThis field is generated by the system to uniquely identify an experiment
    namestringThe name of the experiment
    siteIdlongThe website id that an experiment belongs to
    baseURLstring
    typeenum. Can be [CLASSIC, SERVER_SIDE, DEVELOPER, MVT, HYBRID]
    descriptionstring
    tagsarray
    trackingToolsarray[TrackingTool]
    statusstringThe status of the given experiment
    dateCreateddatetime
    goalsarray
    targetingSegmentIdlong
    mainGoalIdlong
    autoOptimizedboolean
    deviationsmapTraffic allocation per variation. Key can be 'origin'(for original page) or variation id. Value is percent of traffic which will be routed to the variation. Values has to be double numbers in range from 0(0%) to 1(100%).
    respoolTimemap
    targetingConfigurationenum. Can be [SITE, PAGE, URL, SAVED_TEMPLATE]
    variationsIdarrayList of associated variations id for this experiment
    dateModifieddatetime
    dateStarteddatetime
    dateStatusModifieddatetime
    isArchivedboolean
    createdBylongAccount id to whom created this experiment
    commonCSSCodestringCSS code specific to all variations
    commonJavaScriptCodestringJavaScript code specific to all variations

    TrackingTool
    NameTypeDescription
    adobeOmnitureObjectstring
    comScoreCustomerIdstring
    comScoreDomainstring
    customVariableinteger
    eulerianUserCentricParameterstring
    googleAnalyticsTrackerstring
    heatMapPageWidthinteger
    reportingScriptstring
    typeenum. Can be [GOOGLE_ANALYTICS, UNIVERSAL_ANALYTICS, ECONDA, AT_INTERNET, SMART_TAG, ADOBE_OMNITURE, EULERIAN, WEBTRENDS, HEATMAP, KISS_METRICS, PIWIK, CRAZY_EGG, COM_SCORE, TEALIUM, YSANCE, M_PATHY, MANDRILL, MAILPERFORMANCE, SMARTFOCUS, MAILJET, MAILUP, EMARSYS, EXPERT_SENDER, TAG_COMMANDER, GOOGLE_TAG_MANAGER, CONTENT_SQUARE, WEBTREKK, CUSTOM_INTEGRATION, HEAP, SEGMENT, MIXPANEL, KAMELEOON_TRACKING, CUSTOM_TRACKING]
    universalAnalyticsDimensioninteger

    Get one experiment

    Example request

    curl -H "Authorization: Bearer qwerty123456789" \
      "https://api.kameleoon.com/experiments/{experimentId}"
    

    GET /experiments/{experimentId}

    Get one experiment with given id

    Request arguments
    NamePlaceTypeDescription
    experimentIdpathlongexperimentId

    Example response

    {
      "id" : "123456789",
      "name" : "string",
      "siteId" : "123456789",
      "baseURL" : "string",
      "type" : "CLASSIC",
      "description" : "string",
      "tags" : [ "[]" ],
      "trackingTools" : [ {
        "adobeOmnitureObject" : "string",
        "comScoreCustomerId" : "string",
        "comScoreDomain" : "string",
        "customVariable" : "1234",
        "eulerianUserCentricParameter" : "string",
        "googleAnalyticsTracker" : "string",
        "heatMapPageWidth" : "1234",
        "reportingScript" : "string",
        "type" : "GOOGLE_ANALYTICS",
        "universalAnalyticsDimension" : "1234"
      } ],
      "status" : "string",
      "dateCreated" : "2020-10-22T10:28:55.643955",
      "goals" : [ "[]" ],
      "targetingSegmentId" : "123456789",
      "mainGoalId" : "123456789",
      "autoOptimized" : "false",
      "deviations" : "",
      "respoolTime" : "",
      "targetingConfiguration" : "SITE",
      "variationsId" : [ "[]" ],
      "dateModified" : "2020-10-22T10:28:55.643955",
      "dateStarted" : "2020-10-22T10:28:55.643955",
      "dateStatusModified" : "2020-10-22T10:28:55.643955",
      "isArchived" : "false",
      "createdBy" : "123456789",
      "commonCSSCode" : "string",
      "commonJavaScriptCode" : "string"
    }
    
    Response body

    Experiment
    NameTypeDescription
    idlongThis field is generated by the system to uniquely identify an experiment
    namestringThe name of the experiment
    siteIdlongThe website id that an experiment belongs to
    baseURLstring
    typeenum. Can be [CLASSIC, SERVER_SIDE, DEVELOPER, MVT, HYBRID]
    descriptionstring
    tagsarray
    trackingToolsarray[TrackingTool]
    statusstringThe status of the given experiment
    dateCreateddatetime
    goalsarray
    targetingSegmentIdlong
    mainGoalIdlong
    autoOptimizedboolean
    deviationsmapTraffic allocation per variation. Key can be 'origin'(for original page) or variation id. Value is percent of traffic which will be routed to the variation. Values has to be double numbers in range from 0(0%) to 1(100%).
    respoolTimemap
    targetingConfigurationenum. Can be [SITE, PAGE, URL, SAVED_TEMPLATE]
    variationsIdarrayList of associated variations id for this experiment
    dateModifieddatetime
    dateStarteddatetime
    dateStatusModifieddatetime
    isArchivedboolean
    createdBylongAccount id to whom created this experiment
    commonCSSCodestringCSS code specific to all variations
    commonJavaScriptCodestringJavaScript code specific to all variations

    TrackingTool
    NameTypeDescription
    adobeOmnitureObjectstring
    comScoreCustomerIdstring
    comScoreDomainstring
    customVariableinteger
    eulerianUserCentricParameterstring
    googleAnalyticsTrackerstring
    heatMapPageWidthinteger
    reportingScriptstring
    typeenum. Can be [GOOGLE_ANALYTICS, UNIVERSAL_ANALYTICS, ECONDA, AT_INTERNET, SMART_TAG, ADOBE_OMNITURE, EULERIAN, WEBTRENDS, HEATMAP, KISS_METRICS, PIWIK, CRAZY_EGG, COM_SCORE, TEALIUM, YSANCE, M_PATHY, MANDRILL, MAILPERFORMANCE, SMARTFOCUS, MAILJET, MAILUP, EMARSYS, EXPERT_SENDER, TAG_COMMANDER, GOOGLE_TAG_MANAGER, CONTENT_SQUARE, WEBTREKK, CUSTOM_INTEGRATION, HEAP, SEGMENT, MIXPANEL, KAMELEOON_TRACKING, CUSTOM_TRACKING]
    universalAnalyticsDimensioninteger

    Remove an experiment

    Example request

    curl -X DELETE \
      -H "Authorization: Bearer qwerty123456789" \
      "https://api.kameleoon.com/experiments/{experimentId}"
    

    DELETE /experiments/{experimentId}

    Remove experiment with given id

    Request arguments
    NamePlaceTypeDescription
    experimentIdpathlongexperimentId

    Partial update an experiment

    Example request

    curl -X PATCH \
      -H "Authorization: Bearer qwerty123456789" \
      -H "Content-Type: application/json" -d @- \
      "https://api.kameleoon.com/experiments/{experimentId}"
    {
      "autoOptimized" : "false",
      "baseURL" : "string",
      "commonCSSCode" : "string",
      "commonJavaScriptCode" : "string",
      "description" : "string",
      "deviations" : "",
      "featureFlagSdkLanguageType" : "ANDROID",
      "goals" : [ "[]" ],
      "identificationKey" : "string",
      "name" : "string",
      "respoolTime" : "",
      "tags" : [ "[]" ],
      "targetingConfiguration" : "SITE",
      "targetingSegmentId" : "123456789",
      "trackingTools" : [ {
        "adobeOmnitureObject" : "string",
        "comScoreCustomerId" : "string",
        "comScoreDomain" : "string",
        "customVariable" : "1234",
        "eulerianUserCentricParameter" : "string",
        "googleAnalyticsTracker" : "string",
        "heatMapPageWidth" : "1234",
        "reportingScript" : "string",
        "type" : "GOOGLE_ANALYTICS",
        "universalAnalyticsDimension" : "1234"
      } ]
    }
    

    PATCH /experiments/{experimentId}

    Update several fields of an experiment

    Request arguments
    NamePlaceTypeDescription
    actionquerystringAction to change the status of experiment
    experimentIdpathlongexperimentId
    Request body

    ExperimentUpdate
    NameTypeDescription
    autoOptimizedboolean
    baseURLstring
    commonCSSCodestringCSS code specific to all variations
    commonJavaScriptCodestringJavaScript code specific to all variations
    descriptionstring
    deviationsmapTraffic allocation per variation. Key can be 'origin'(for original page) or variation id. Value is percent of traffic which will be routed to the variation. Values has to be double numbers in range from 0(0%) to 1(100%).
    featureFlagSdkLanguageTypeenum. Can be [ANDROID, SWIFT, JAVA, CSHARP, NODEJS, PHP]
    goalsarray
    identificationKeystring
    namestringThe name of the experiment
    respoolTimemap
    tagsarray
    targetingConfigurationenum. Can be [SITE, PAGE, URL, SAVED_TEMPLATE]
    targetingSegmentIdlong
    trackingToolsarray[TrackingTool]

    TrackingTool
    NameTypeDescription
    adobeOmnitureObjectstring
    comScoreCustomerIdstring
    comScoreDomainstring
    customVariableinteger
    eulerianUserCentricParameterstring
    googleAnalyticsTrackerstring
    heatMapPageWidthinteger
    reportingScriptstring
    typeenum. Can be [GOOGLE_ANALYTICS, UNIVERSAL_ANALYTICS, ECONDA, AT_INTERNET, SMART_TAG, ADOBE_OMNITURE, EULERIAN, WEBTRENDS, HEATMAP, KISS_METRICS, PIWIK, CRAZY_EGG, COM_SCORE, TEALIUM, YSANCE, M_PATHY, MANDRILL, MAILPERFORMANCE, SMARTFOCUS, MAILJET, MAILUP, EMARSYS, EXPERT_SENDER, TAG_COMMANDER, GOOGLE_TAG_MANAGER, CONTENT_SQUARE, WEBTREKK, CUSTOM_INTEGRATION, HEAP, SEGMENT, MIXPANEL, KAMELEOON_TRACKING, CUSTOM_TRACKING]
    universalAnalyticsDimensioninteger

    Example response

    {
      "id" : "123456789",
      "name" : "string",
      "siteId" : "123456789",
      "baseURL" : "string",
      "type" : "CLASSIC",
      "description" : "string",
      "tags" : [ "[]" ],
      "trackingTools" : [ {
        "adobeOmnitureObject" : "string",
        "comScoreCustomerId" : "string",
        "comScoreDomain" : "string",
        "customVariable" : "1234",
        "eulerianUserCentricParameter" : "string",
        "googleAnalyticsTracker" : "string",
        "heatMapPageWidth" : "1234",
        "reportingScript" : "string",
        "type" : "GOOGLE_ANALYTICS",
        "universalAnalyticsDimension" : "1234"
      } ],
      "status" : "string",
      "dateCreated" : "2020-10-22T10:28:55.643955",
      "goals" : [ "[]" ],
      "targetingSegmentId" : "123456789",
      "mainGoalId" : "123456789",
      "autoOptimized" : "false",
      "deviations" : "",
      "respoolTime" : "",
      "targetingConfiguration" : "SITE",
      "variationsId" : [ "[]" ],
      "dateModified" : "2020-10-22T10:28:55.643955",
      "dateStarted" : "2020-10-22T10:28:55.643955",
      "dateStatusModified" : "2020-10-22T10:28:55.643955",
      "isArchived" : "false",
      "createdBy" : "123456789",
      "commonCSSCode" : "string",
      "commonJavaScriptCode" : "string"
    }
    
    Response body

    Experiment
    NameTypeDescription
    idlongThis field is generated by the system to uniquely identify an experiment
    namestringThe name of the experiment
    siteIdlongThe website id that an experiment belongs to
    baseURLstring
    typeenum. Can be [CLASSIC, SERVER_SIDE, DEVELOPER, MVT, HYBRID]
    descriptionstring
    tagsarray
    trackingToolsarray[TrackingTool]
    statusstringThe status of the given experiment
    dateCreateddatetime
    goalsarray
    targetingSegmentIdlong
    mainGoalIdlong
    autoOptimizedboolean
    deviationsmapTraffic allocation per variation. Key can be 'origin'(for original page) or variation id. Value is percent of traffic which will be routed to the variation. Values has to be double numbers in range from 0(0%) to 1(100%).
    respoolTimemap
    targetingConfigurationenum. Can be [SITE, PAGE, URL, SAVED_TEMPLATE]
    variationsIdarrayList of associated variations id for this experiment
    dateModifieddatetime
    dateStarteddatetime
    dateStatusModifieddatetime
    isArchivedboolean
    createdBylongAccount id to whom created this experiment
    commonCSSCodestringCSS code specific to all variations
    commonJavaScriptCodestringJavaScript code specific to all variations

    TrackingTool
    NameTypeDescription
    adobeOmnitureObjectstring
    comScoreCustomerIdstring
    comScoreDomainstring
    customVariableinteger
    eulerianUserCentricParameterstring
    googleAnalyticsTrackerstring
    heatMapPageWidthinteger
    reportingScriptstring
    typeenum. Can be [GOOGLE_ANALYTICS, UNIVERSAL_ANALYTICS, ECONDA, AT_INTERNET, SMART_TAG, ADOBE_OMNITURE, EULERIAN, WEBTRENDS, HEATMAP, KISS_METRICS, PIWIK, CRAZY_EGG, COM_SCORE, TEALIUM, YSANCE, M_PATHY, MANDRILL, MAILPERFORMANCE, SMARTFOCUS, MAILJET, MAILUP, EMARSYS, EXPERT_SENDER, TAG_COMMANDER, GOOGLE_TAG_MANAGER, CONTENT_SQUARE, WEBTREKK, CUSTOM_INTEGRATION, HEAP, SEGMENT, MIXPANEL, KAMELEOON_TRACKING, CUSTOM_TRACKING]
    universalAnalyticsDimensioninteger

    Request experiment's results

    Example request

    curl -X POST \
      -H "Authorization: Bearer qwerty123456789" \
      -H "Content-Type: application/json" -d @- \
      "https://api.kameleoon.com/experiments/{experimentId}/results"
    {
      "allVariationsData" : "false",
      "breakdown" : {
        "type" : "BROWSER"
      },
      "callbackUrl" : "string",
      "dateIntervals" : [ {
        "end" : "2020-10-22T10:28:55.643955",
        "start" : "2020-10-22T10:28:55.643955"
      } ],
      "filters" : [ { } ],
      "interval" : "HOUR",
      "stringForHash" : "string",
      "visitorData" : "false"
    }
    

    POST /experiments/{experimentId}/results

    Send a request to generate the report for the results of the given experiment

    Request arguments
    NamePlaceTypeDescription
    experimentIdpathlongexperimentId
    Request body

    DataRequestParams
    NameTypeDescription
    allVariationsDataboolean
    breakdownBreakdown
    callbackUrlstring
    dateIntervalsarray[DateInterval]
    filtersarray[Filter]
    intervalenum. Can be [HOUR, DAY, WEEK, MONTH, YEAR]
    stringForHashstring
    visitorDataboolean

    Breakdown
    NameTypeDescription
    typeenum. Can be [BROWSER, CUSTOM_DATA, DEVICE_TYPE, NEW_VISITOR, GOAL_REACHED, PAGE_URL, FIRST_REFERRER, ORIGIN_TYPE, OPERATING_SYSTEM, PAGE_TITLE, PAGES_VIEWED, LANDING_PAGE_URL, AD_BLOCKER, DAY_OF_WEEK, WORKWEEK_OR_WEEKEND, VISIT_DURATION, BROWSER_LANGUAGE, SKY_CONDITION, DAY_OR_NIGHT, WEATHER_TEMPERATURES, NUMBER_OF_VISITS, REFERRING_WEBSITE_URL, TABS_NUMBER]

    CustomDataBreakdown
    NameTypeDescription
    indexinteger
    typeenum. Can be [BROWSER, CUSTOM_DATA, DEVICE_TYPE, NEW_VISITOR, GOAL_REACHED, PAGE_URL, FIRST_REFERRER, ORIGIN_TYPE, OPERATING_SYSTEM, PAGE_TITLE, PAGES_VIEWED, LANDING_PAGE_URL, AD_BLOCKER, DAY_OF_WEEK, WORKWEEK_OR_WEEKEND, VISIT_DURATION, BROWSER_LANGUAGE, SKY_CONDITION, DAY_OR_NIGHT, WEATHER_TEMPERATURES, NUMBER_OF_VISITS, REFERRING_WEBSITE_URL, TABS_NUMBER]

    DateInterval
    NameTypeDescription
    enddatetime
    startdatetime

    DeviceTypeFilter
    NameTypeDescription
    includeboolean
    valuesarray. Can be [DESKTOP, TABLET, PHONE]

    NewVisitorFilter
    NameTypeDescription
    visitorsTypeenum. Can be [NEW_VISITORS, RETURNING_VISITORS]

    BrowserFilter
    NameTypeDescription
    includeboolean
    valuesarray. Can be [CHROME, EXPLORER, FIREFOX, SAFARI, OPERA]

    CustomDataFilter
    NameTypeDescription
    customDataIdlong
    includeboolean
    valuestring

    OperatingSystemFilter
    NameTypeDescription
    includeboolean
    valuesarray. Can be [WINDOWS, MAC_OS, LINUX, I_OS]

    Example response

    {
      "dataCode" : "string"
    }
    
    Response body

    DataCodeResponseIO
    NameTypeDescription
    dataCodestring

    Feature flags

    Feature flag is used to help our clients to implement new features, test and deploy them via our SDK. This service allows you to create and configure the feature flag which will be used in the source code of your feature.

    List feature flags

    Example request

    curl -H "Authorization: Bearer qwerty123456789" \
      "https://api.kameleoon.com/feature-flags"
    

    GET /feature-flags

    Get the list of all feature flags

    Example response

    [ {
      "id" : "123456789",
      "name" : "string",
      "identificationKey" : "string",
      "description" : "string",
      "tags" : [ "[]" ],
      "siteId" : "123456789",
      "expositionRate" : "132.987",
      "targetingSegmentId" : "123456789",
      "goals" : [ "[]" ],
      "sdkLanguageType" : "ANDROID",
      "status" : "string",
      "dateCreated" : "2020-10-22T10:28:55.643955",
      "dateModified" : "2020-10-22T10:28:55.643955"
    } ]
    
    Response body

    FeatureFlag
    NameTypeDescription
    idlongThis field is generated by the system to uniquely identify a feature flag
    namestringThe name of the feature flag
    identificationKeystring
    descriptionstring
    tagsarray
    siteIdlongThe website id that a feature flag belongs to
    expositionRatedoubleRate of the feature flag that will be exposed
    targetingSegmentIdlong
    goalsarray
    sdkLanguageTypeenum. Can be [ANDROID, SWIFT, JAVA, CSHARP, NODEJS, PHP]
    statusstringThe status of the given feature flag
    dateCreateddatetime
    dateModifieddatetime

    Create new feature flag

    Example request

    curl -X POST \
      -H "Authorization: Bearer qwerty123456789" \
      -H "Content-Type: application/json" -d @- \
      "https://api.kameleoon.com/feature-flags"
    {
      "id" : "123456789",
      "name" : "string",
      "identificationKey" : "string",
      "description" : "string",
      "tags" : [ "[]" ],
      "siteId" : "123456789",
      "expositionRate" : "132.987",
      "targetingSegmentId" : "123456789",
      "goals" : [ "[]" ],
      "sdkLanguageType" : "ANDROID",
      "status" : "string",
      "dateCreated" : "2020-10-22T10:28:55.643955",
      "dateModified" : "2020-10-22T10:28:55.643955"
    }
    

    POST /feature-flags

    Create new feature flag with given parameters

    Request body

    FeatureFlag
    NameTypeDescription
    id
    *read only
    longThis field is generated by the system to uniquely identify a feature flag
    name
    *required
    stringThe name of the feature flag
    identificationKeystring
    descriptionstring
    tagsarray
    siteId
    *required
    longThe website id that a feature flag belongs to
    expositionRatedoubleRate of the feature flag that will be exposed
    targetingSegmentIdlong
    goalsarray
    sdkLanguageTypeenum. Can be [ANDROID, SWIFT, JAVA, CSHARP, NODEJS, PHP]
    status
    *read only
    stringThe status of the given feature flag
    dateCreated
    *read only
    datetime
    dateModified
    *read only
    datetime

    Example response

    {
      "id" : "123456789",
      "name" : "string",
      "identificationKey" : "string",
      "description" : "string",
      "tags" : [ "[]" ],
      "siteId" : "123456789",
      "expositionRate" : "132.987",
      "targetingSegmentId" : "123456789",
      "goals" : [ "[]" ],
      "sdkLanguageType" : "ANDROID",
      "status" : "string",
      "dateCreated" : "2020-10-22T10:28:55.643955",
      "dateModified" : "2020-10-22T10:28:55.643955"
    }
    
    Response body

    FeatureFlag
    NameTypeDescription
    idlongThis field is generated by the system to uniquely identify a feature flag
    namestringThe name of the feature flag
    identificationKeystring
    descriptionstring
    tagsarray
    siteIdlongThe website id that a feature flag belongs to
    expositionRatedoubleRate of the feature flag that will be exposed
    targetingSegmentIdlong
    goalsarray
    sdkLanguageTypeenum. Can be [ANDROID, SWIFT, JAVA, CSHARP, NODEJS, PHP]
    statusstringThe status of the given feature flag
    dateCreateddatetime
    dateModifieddatetime

    Get one feature flag

    Example request

    curl -H "Authorization: Bearer qwerty123456789" \
      "https://api.kameleoon.com/feature-flags/{featureFlagId}"
    

    GET /feature-flags/{featureFlagId}

    Get one feature flag with given id

    Request arguments
    NamePlaceTypeDescription
    featureFlagIdpathlongfeatureFlagId

    Example response

    {
      "id" : "123456789",
      "name" : "string",
      "identificationKey" : "string",
      "description" : "string",
      "tags" : [ "[]" ],
      "siteId" : "123456789",
      "expositionRate" : "132.987",
      "targetingSegmentId" : "123456789",
      "goals" : [ "[]" ],
      "sdkLanguageType" : "ANDROID",
      "status" : "string",
      "dateCreated" : "2020-10-22T10:28:55.643955",
      "dateModified" : "2020-10-22T10:28:55.643955"
    }
    
    Response body

    FeatureFlag
    NameTypeDescription
    idlongThis field is generated by the system to uniquely identify a feature flag
    namestringThe name of the feature flag
    identificationKeystring
    descriptionstring
    tagsarray
    siteIdlongThe website id that a feature flag belongs to
    expositionRatedoubleRate of the feature flag that will be exposed
    targetingSegmentIdlong
    goalsarray
    sdkLanguageTypeenum. Can be [ANDROID, SWIFT, JAVA, CSHARP, NODEJS, PHP]
    statusstringThe status of the given feature flag
    dateCreateddatetime
    dateModifieddatetime

    Remove feature flag

    Example request

    curl -X DELETE \
      -H "Authorization: Bearer qwerty123456789" \
      "https://api.kameleoon.com/feature-flags/{featureFlagId}"
    

    DELETE /feature-flags/{featureFlagId}

    Remove feature flag with given id

    Request arguments
    NamePlaceTypeDescription
    featureFlagIdpathlongfeatureFlagId

    Partial update feature flag

    Example request

    curl -X PATCH \
      -H "Authorization: Bearer qwerty123456789" \
      -H "Content-Type: application/json" -d @- \
      "https://api.kameleoon.com/feature-flags/{featureFlagId}"
    {
      "autoOptimized" : "false",
      "baseURL" : "string",
      "commonCSSCode" : "string",
      "commonJavaScriptCode" : "string",
      "description" : "string",
      "deviations" : "",
      "featureFlagSdkLanguageType" : "ANDROID",
      "goals" : [ "[]" ],
      "identificationKey" : "string",
      "name" : "string",
      "respoolTime" : "",
      "tags" : [ "[]" ],
      "targetingConfiguration" : "SITE",
      "targetingSegmentId" : "123456789",
      "trackingTools" : [ {
        "adobeOmnitureObject" : "string",
        "comScoreCustomerId" : "string",
        "comScoreDomain" : "string",
        "customVariable" : "1234",
        "eulerianUserCentricParameter" : "string",
        "googleAnalyticsTracker" : "string",
        "heatMapPageWidth" : "1234",
        "reportingScript" : "string",
        "type" : "GOOGLE_ANALYTICS",
        "universalAnalyticsDimension" : "1234"
      } ]
    }
    

    PATCH /feature-flags/{featureFlagId}

    Update several fields of feature flag

    Request arguments
    NamePlaceTypeDescription
    actionquerystringAction to change the status of feature flag
    featureFlagIdpathlongfeatureFlagId
    Request body

    ExperimentUpdate
    NameTypeDescription
    autoOptimizedboolean
    baseURLstring
    commonCSSCodestringCSS code specific to all variations
    commonJavaScriptCodestringJavaScript code specific to all variations
    descriptionstring
    deviationsmapTraffic allocation per variation. Key can be 'origin'(for original page) or variation id. Value is percent of traffic which will be routed to the variation. Values has to be double numbers in range from 0(0%) to 1(100%).
    featureFlagSdkLanguageTypeenum. Can be [ANDROID, SWIFT, JAVA, CSHARP, NODEJS, PHP]
    goalsarray
    identificationKeystring
    namestringThe name of the experiment
    respoolTimemap
    tagsarray
    targetingConfigurationenum. Can be [SITE, PAGE, URL, SAVED_TEMPLATE]
    targetingSegmentIdlong
    trackingToolsarray[TrackingTool]

    TrackingTool
    NameTypeDescription
    adobeOmnitureObjectstring
    comScoreCustomerIdstring
    comScoreDomainstring
    customVariableinteger
    eulerianUserCentricParameterstring
    googleAnalyticsTrackerstring
    heatMapPageWidthinteger
    reportingScriptstring
    typeenum. Can be [GOOGLE_ANALYTICS, UNIVERSAL_ANALYTICS, ECONDA, AT_INTERNET, SMART_TAG, ADOBE_OMNITURE, EULERIAN, WEBTRENDS, HEATMAP, KISS_METRICS, PIWIK, CRAZY_EGG, COM_SCORE, TEALIUM, YSANCE, M_PATHY, MANDRILL, MAILPERFORMANCE, SMARTFOCUS, MAILJET, MAILUP, EMARSYS, EXPERT_SENDER, TAG_COMMANDER, GOOGLE_TAG_MANAGER, CONTENT_SQUARE, WEBTREKK, CUSTOM_INTEGRATION, HEAP, SEGMENT, MIXPANEL, KAMELEOON_TRACKING, CUSTOM_TRACKING]
    universalAnalyticsDimensioninteger

    Example response

    {
      "id" : "123456789",
      "name" : "string",
      "identificationKey" : "string",
      "description" : "string",
      "tags" : [ "[]" ],
      "siteId" : "123456789",
      "expositionRate" : "132.987",
      "targetingSegmentId" : "123456789",
      "goals" : [ "[]" ],
      "sdkLanguageType" : "ANDROID",
      "status" : "string",
      "dateCreated" : "2020-10-22T10:28:55.643955",
      "dateModified" : "2020-10-22T10:28:55.643955"
    }
    
    Response body

    FeatureFlag
    NameTypeDescription
    idlongThis field is generated by the system to uniquely identify a feature flag
    namestringThe name of the feature flag
    identificationKeystring
    descriptionstring
    tagsarray
    siteIdlongThe website id that a feature flag belongs to
    expositionRatedoubleRate of the feature flag that will be exposed
    targetingSegmentIdlong
    goalsarray
    sdkLanguageTypeenum. Can be [ANDROID, SWIFT, JAVA, CSHARP, NODEJS, PHP]
    statusstringThe status of the given feature flag
    dateCreateddatetime
    dateModifieddatetime

    Goals

    To measure the efficiency of an experiment or a personalization, it must be linked to one or several goals. All goals can be managed through Kameleoon interface or Automation API. There are variety of different goals you can choose from to better measure the results.

    List goals

    Example request

    curl -H "Authorization: Bearer qwerty123456789" \
      "https://api.kameleoon.com/goals"
    

    GET /goals

    Get list of goals

    Example response

    [ {
      "id" : "123456789",
      "name" : "string",
      "siteId" : "123456789",
      "description" : "string",
      "isMainGoal" : "false",
      "mentalistWeight" : "132.987",
      "hasMultipleConversions" : "false",
      "type" : "CLICK",
      "params" : { },
      "dateCreated" : "2020-10-22T10:28:55.643955",
      "trackingTools" : [ "GOOGLE_ANALYTICS" ]
    } ]
    
    Response body

    Goal
    NameTypeDescription
    idlongUnique identifier of goal
    namestringName of goal
    siteIdlong
    descriptionstring
    isMainGoalboolean
    mentalistWeightdouble
    hasMultipleConversionsboolean
    typeenum. Can be [CLICK, SCROLL, URL, CUSTOM, TIME_SPENT, PAGE_VIEWS, RETENTION_RATE]
    paramsGoalParamsType of params depends on 'type' field. 'CLICK' - ClickTrackingGoalParams. 'SCROLL' - ScrollTrackingGoalParams. 'URL' - AccessToPageGoalParams. 'TIME_SPENT' - TimeSpentGoalParams. 'PAGE_VIEWS' - PageViewsGoalParams. For others types params aren't needed.
    dateCreateddatetime
    trackingToolsarray. Can be [GOOGLE_ANALYTICS, UNIVERSAL_ANALYTICS, ECONDA, AT_INTERNET, SMART_TAG, ADOBE_OMNITURE, EULERIAN, WEBTRENDS, HEATMAP, KISS_METRICS, PIWIK, CRAZY_EGG, COM_SCORE, TEALIUM, YSANCE, M_PATHY, MANDRILL, MAILPERFORMANCE, SMARTFOCUS, MAILJET, MAILUP, EMARSYS, EXPERT_SENDER, TAG_COMMANDER, GOOGLE_TAG_MANAGER, CONTENT_SQUARE, WEBTREKK, CUSTOM_INTEGRATION, HEAP, SEGMENT, MIXPANEL, KAMELEOON_TRACKING, CUSTOM_TRACKING]

    ClickTrackingGoalParams
    NameTypeDescription
    customCssSelectorsarraySelection with a CSS selector. CSS selector to track the corresponding element
    urlstringURL of the page on which you want to create your click tracker. Example: www.mozilla.org

    AccessToPageGoalParams
    NameTypeDescription
    matchStringstring
    matchTypeenum. Can be [CONTAINS, CORRESPONDS_EXACTLY, REGULAR_EXPRESSION]

    TimeSpentGoalParams
    NameTypeDescription
    matchTypeenum. Can be [MORE_THAN, EQUALS, LESS_THAN]
    timeSecondsinteger

    ScrollTrackingGoalParams
    NameTypeDescription
    typeenumWhen the user scrolls down to. Can be [ELEMENT, PERCENTAGE, PIXELS_HEIGHT]
    valuedoubleScroll tracking value.

    PageViewsGoalParams
    NameTypeDescription
    numberMatchTypeenum. Can be [MORE_THAN, EQUALS, LESS_THAN]
    numberOfVisitedPagesinteger

    Create new goal

    Example request

    curl -X POST \
      -H "Authorization: Bearer qwerty123456789" \
      -H "Content-Type: application/json" -d @- \
      "https://api.kameleoon.com/goals"
    {
      "id" : "123456789",
      "name" : "string",
      "siteId" : "123456789",
      "description" : "string",
      "isMainGoal" : "false",
      "mentalistWeight" : "132.987",
      "hasMultipleConversions" : "false",
      "type" : "CLICK",
      "params" : { },
      "dateCreated" : "2020-10-22T10:28:55.643955",
      "trackingTools" : [ "GOOGLE_ANALYTICS" ]
    }
    

    POST /goals

    Create new goal with given parameters

    Request body

    Goal
    NameTypeDescription
    id
    *read only
    longUnique identifier of goal
    namestringName of goal
    siteIdlong
    descriptionstring
    isMainGoalboolean
    mentalistWeightdouble
    hasMultipleConversionsboolean
    typeenum. Can be [CLICK, SCROLL, URL, CUSTOM, TIME_SPENT, PAGE_VIEWS, RETENTION_RATE]
    paramsGoalParamsType of params depends on 'type' field. 'CLICK' - ClickTrackingGoalParams. 'SCROLL' - ScrollTrackingGoalParams. 'URL' - AccessToPageGoalParams. 'TIME_SPENT' - TimeSpentGoalParams. 'PAGE_VIEWS' - PageViewsGoalParams. For others types params aren't needed.
    dateCreated
    *read only
    datetime
    trackingToolsarray. Can be [GOOGLE_ANALYTICS, UNIVERSAL_ANALYTICS, ECONDA, AT_INTERNET, SMART_TAG, ADOBE_OMNITURE, EULERIAN, WEBTRENDS, HEATMAP, KISS_METRICS, PIWIK, CRAZY_EGG, COM_SCORE, TEALIUM, YSANCE, M_PATHY, MANDRILL, MAILPERFORMANCE, SMARTFOCUS, MAILJET, MAILUP, EMARSYS, EXPERT_SENDER, TAG_COMMANDER, GOOGLE_TAG_MANAGER, CONTENT_SQUARE, WEBTREKK, CUSTOM_INTEGRATION, HEAP, SEGMENT, MIXPANEL, KAMELEOON_TRACKING, CUSTOM_TRACKING]

    ClickTrackingGoalParams
    NameTypeDescription
    customCssSelectorsarraySelection with a CSS selector. CSS selector to track the corresponding element
    urlstringURL of the page on which you want to create your click tracker. Example: www.mozilla.org

    AccessToPageGoalParams
    NameTypeDescription
    matchStringstring
    matchTypeenum. Can be [CONTAINS, CORRESPONDS_EXACTLY, REGULAR_EXPRESSION]

    TimeSpentGoalParams
    NameTypeDescription
    matchTypeenum. Can be [MORE_THAN, EQUALS, LESS_THAN]
    timeSecondsinteger

    ScrollTrackingGoalParams
    NameTypeDescription
    typeenumWhen the user scrolls down to. Can be [ELEMENT, PERCENTAGE, PIXELS_HEIGHT]
    valuedoubleScroll tracking value.

    PageViewsGoalParams
    NameTypeDescription
    numberMatchTypeenum. Can be [MORE_THAN, EQUALS, LESS_THAN]
    numberOfVisitedPagesinteger

    Example response

    {
      "id" : "123456789",
      "name" : "string",
      "siteId" : "123456789",
      "description" : "string",
      "isMainGoal" : "false",
      "mentalistWeight" : "132.987",
      "hasMultipleConversions" : "false",
      "type" : "CLICK",
      "params" : { },
      "dateCreated" : "2020-10-22T10:28:55.643955",
      "trackingTools" : [ "GOOGLE_ANALYTICS" ]
    }
    
    Response body

    Goal
    NameTypeDescription
    idlongUnique identifier of goal
    namestringName of goal
    siteIdlong
    descriptionstring
    isMainGoalboolean
    mentalistWeightdouble
    hasMultipleConversionsboolean
    typeenum. Can be [CLICK, SCROLL, URL, CUSTOM, TIME_SPENT, PAGE_VIEWS, RETENTION_RATE]
    paramsGoalParamsType of params depends on 'type' field. 'CLICK' - ClickTrackingGoalParams. 'SCROLL' - ScrollTrackingGoalParams. 'URL' - AccessToPageGoalParams. 'TIME_SPENT' - TimeSpentGoalParams. 'PAGE_VIEWS' - PageViewsGoalParams. For others types params aren't needed.
    dateCreateddatetime
    trackingToolsarray. Can be [GOOGLE_ANALYTICS, UNIVERSAL_ANALYTICS, ECONDA, AT_INTERNET, SMART_TAG, ADOBE_OMNITURE, EULERIAN, WEBTRENDS, HEATMAP, KISS_METRICS, PIWIK, CRAZY_EGG, COM_SCORE, TEALIUM, YSANCE, M_PATHY, MANDRILL, MAILPERFORMANCE, SMARTFOCUS, MAILJET, MAILUP, EMARSYS, EXPERT_SENDER, TAG_COMMANDER, GOOGLE_TAG_MANAGER, CONTENT_SQUARE, WEBTREKK, CUSTOM_INTEGRATION, HEAP, SEGMENT, MIXPANEL, KAMELEOON_TRACKING, CUSTOM_TRACKING]

    ClickTrackingGoalParams
    NameTypeDescription
    customCssSelectorsarraySelection with a CSS selector. CSS selector to track the corresponding element
    urlstringURL of the page on which you want to create your click tracker. Example: www.mozilla.org

    AccessToPageGoalParams
    NameTypeDescription
    matchStringstring
    matchTypeenum. Can be [CONTAINS, CORRESPONDS_EXACTLY, REGULAR_EXPRESSION]

    TimeSpentGoalParams
    NameTypeDescription
    matchTypeenum. Can be [MORE_THAN, EQUALS, LESS_THAN]
    timeSecondsinteger

    ScrollTrackingGoalParams
    NameTypeDescription
    typeenumWhen the user scrolls down to. Can be [ELEMENT, PERCENTAGE, PIXELS_HEIGHT]
    valuedoubleScroll tracking value.

    PageViewsGoalParams
    NameTypeDescription
    numberMatchTypeenum. Can be [MORE_THAN, EQUALS, LESS_THAN]
    numberOfVisitedPagesinteger

    Get one goal

    Example request

    curl -H "Authorization: Bearer qwerty123456789" \
      "https://api.kameleoon.com/goals/{goalId}"
    

    GET /goals/{goalId}

    Get one goal with given id

    Request arguments
    NamePlaceTypeDescription
    goalIdpathlonggoalId

    Example response

    {
      "id" : "123456789",
      "name" : "string",
      "siteId" : "123456789",
      "description" : "string",
      "isMainGoal" : "false",
      "mentalistWeight" : "132.987",
      "hasMultipleConversions" : "false",
      "type" : "CLICK",
      "params" : { },
      "dateCreated" : "2020-10-22T10:28:55.643955",
      "trackingTools" : [ "GOOGLE_ANALYTICS" ]
    }
    
    Response body

    Goal
    NameTypeDescription
    idlongUnique identifier of goal
    namestringName of goal
    siteIdlong
    descriptionstring
    isMainGoalboolean
    mentalistWeightdouble
    hasMultipleConversionsboolean
    typeenum. Can be [CLICK, SCROLL, URL, CUSTOM, TIME_SPENT, PAGE_VIEWS, RETENTION_RATE]
    paramsGoalParamsType of params depends on 'type' field. 'CLICK' - ClickTrackingGoalParams. 'SCROLL' - ScrollTrackingGoalParams. 'URL' - AccessToPageGoalParams. 'TIME_SPENT' - TimeSpentGoalParams. 'PAGE_VIEWS' - PageViewsGoalParams. For others types params aren't needed.
    dateCreateddatetime
    trackingToolsarray. Can be [GOOGLE_ANALYTICS, UNIVERSAL_ANALYTICS, ECONDA, AT_INTERNET, SMART_TAG, ADOBE_OMNITURE, EULERIAN, WEBTRENDS, HEATMAP, KISS_METRICS, PIWIK, CRAZY_EGG, COM_SCORE, TEALIUM, YSANCE, M_PATHY, MANDRILL, MAILPERFORMANCE, SMARTFOCUS, MAILJET, MAILUP, EMARSYS, EXPERT_SENDER, TAG_COMMANDER, GOOGLE_TAG_MANAGER, CONTENT_SQUARE, WEBTREKK, CUSTOM_INTEGRATION, HEAP, SEGMENT, MIXPANEL, KAMELEOON_TRACKING, CUSTOM_TRACKING]

    ClickTrackingGoalParams
    NameTypeDescription
    customCssSelectorsarraySelection with a CSS selector. CSS selector to track the corresponding element
    urlstringURL of the page on which you want to create your click tracker. Example: www.mozilla.org

    AccessToPageGoalParams
    NameTypeDescription
    matchStringstring
    matchTypeenum. Can be [CONTAINS, CORRESPONDS_EXACTLY, REGULAR_EXPRESSION]

    TimeSpentGoalParams
    NameTypeDescription
    matchTypeenum. Can be [MORE_THAN, EQUALS, LESS_THAN]
    timeSecondsinteger

    ScrollTrackingGoalParams
    NameTypeDescription
    typeenumWhen the user scrolls down to. Can be [ELEMENT, PERCENTAGE, PIXELS_HEIGHT]
    valuedoubleScroll tracking value.

    PageViewsGoalParams
    NameTypeDescription
    numberMatchTypeenum. Can be [MORE_THAN, EQUALS, LESS_THAN]
    numberOfVisitedPagesinteger

    Update goal

    Example request

    curl -X PUT \
      -H "Authorization: Bearer qwerty123456789" \
      -H "Content-Type: application/json" -d @- \
      "https://api.kameleoon.com/goals/{goalId}"
    {
      "id" : "123456789",
      "name" : "string",
      "siteId" : "123456789",
      "description" : "string",
      "isMainGoal" : "false",
      "mentalistWeight" : "132.987",
      "hasMultipleConversions" : "false",
      "type" : "CLICK",
      "params" : { },
      "dateCreated" : "2020-10-22T10:28:55.643955",
      "trackingTools" : [ "GOOGLE_ANALYTICS" ]
    }
    

    PUT /goals/{goalId}

    Update goal with given id

    Request arguments
    NamePlaceTypeDescription
    goalIdpathlonggoalId
    Request body

    Goal
    NameTypeDescription
    id
    *read only
    longUnique identifier of goal
    namestringName of goal
    siteIdlong
    descriptionstring
    isMainGoalboolean
    mentalistWeightdouble
    hasMultipleConversionsboolean
    typeenum. Can be [CLICK, SCROLL, URL, CUSTOM, TIME_SPENT, PAGE_VIEWS, RETENTION_RATE]
    paramsGoalParamsType of params depends on 'type' field. 'CLICK' - ClickTrackingGoalParams. 'SCROLL' - ScrollTrackingGoalParams. 'URL' - AccessToPageGoalParams. 'TIME_SPENT' - TimeSpentGoalParams. 'PAGE_VIEWS' - PageViewsGoalParams. For others types params aren't needed.
    dateCreated
    *read only
    datetime
    trackingToolsarray. Can be [GOOGLE_ANALYTICS, UNIVERSAL_ANALYTICS, ECONDA, AT_INTERNET, SMART_TAG, ADOBE_OMNITURE, EULERIAN, WEBTRENDS, HEATMAP, KISS_METRICS, PIWIK, CRAZY_EGG, COM_SCORE, TEALIUM, YSANCE, M_PATHY, MANDRILL, MAILPERFORMANCE, SMARTFOCUS, MAILJET, MAILUP, EMARSYS, EXPERT_SENDER, TAG_COMMANDER, GOOGLE_TAG_MANAGER, CONTENT_SQUARE, WEBTREKK, CUSTOM_INTEGRATION, HEAP, SEGMENT, MIXPANEL, KAMELEOON_TRACKING, CUSTOM_TRACKING]

    ClickTrackingGoalParams
    NameTypeDescription
    customCssSelectorsarraySelection with a CSS selector. CSS selector to track the corresponding element
    urlstringURL of the page on which you want to create your click tracker. Example: www.mozilla.org

    AccessToPageGoalParams
    NameTypeDescription
    matchStringstring
    matchTypeenum. Can be [CONTAINS, CORRESPONDS_EXACTLY, REGULAR_EXPRESSION]

    TimeSpentGoalParams
    NameTypeDescription
    matchTypeenum. Can be [MORE_THAN, EQUALS, LESS_THAN]
    timeSecondsinteger

    ScrollTrackingGoalParams
    NameTypeDescription
    typeenumWhen the user scrolls down to. Can be [ELEMENT, PERCENTAGE, PIXELS_HEIGHT]
    valuedoubleScroll tracking value.

    PageViewsGoalParams
    NameTypeDescription
    numberMatchTypeenum. Can be [MORE_THAN, EQUALS, LESS_THAN]
    numberOfVisitedPagesinteger

    Example response

    {
      "id" : "123456789",
      "name" : "string",
      "siteId" : "123456789",
      "description" : "string",
      "isMainGoal" : "false",
      "mentalistWeight" : "132.987",
      "hasMultipleConversions" : "false",
      "type" : "CLICK",
      "params" : { },
      "dateCreated" : "2020-10-22T10:28:55.643955",
      "trackingTools" : [ "GOOGLE_ANALYTICS" ]
    }
    
    Response body

    Goal
    NameTypeDescription
    idlongUnique identifier of goal
    namestringName of goal
    siteIdlong
    descriptionstring
    isMainGoalboolean
    mentalistWeightdouble
    hasMultipleConversionsboolean
    typeenum. Can be [CLICK, SCROLL, URL, CUSTOM, TIME_SPENT, PAGE_VIEWS, RETENTION_RATE]
    paramsGoalParamsType of params depends on 'type' field. 'CLICK' - ClickTrackingGoalParams. 'SCROLL' - ScrollTrackingGoalParams. 'URL' - AccessToPageGoalParams. 'TIME_SPENT' - TimeSpentGoalParams. 'PAGE_VIEWS' - PageViewsGoalParams. For others types params aren't needed.
    dateCreateddatetime
    trackingToolsarray. Can be [GOOGLE_ANALYTICS, UNIVERSAL_ANALYTICS, ECONDA, AT_INTERNET, SMART_TAG, ADOBE_OMNITURE, EULERIAN, WEBTRENDS, HEATMAP, KISS_METRICS, PIWIK, CRAZY_EGG, COM_SCORE, TEALIUM, YSANCE, M_PATHY, MANDRILL, MAILPERFORMANCE, SMARTFOCUS, MAILJET, MAILUP, EMARSYS, EXPERT_SENDER, TAG_COMMANDER, GOOGLE_TAG_MANAGER, CONTENT_SQUARE, WEBTREKK, CUSTOM_INTEGRATION, HEAP, SEGMENT, MIXPANEL, KAMELEOON_TRACKING, CUSTOM_TRACKING]

    ClickTrackingGoalParams
    NameTypeDescription
    customCssSelectorsarraySelection with a CSS selector. CSS selector to track the corresponding element
    urlstringURL of the page on which you want to create your click tracker. Example: www.mozilla.org

    AccessToPageGoalParams
    NameTypeDescription
    matchStringstring
    matchTypeenum. Can be [CONTAINS, CORRESPONDS_EXACTLY, REGULAR_EXPRESSION]

    TimeSpentGoalParams
    NameTypeDescription
    matchTypeenum. Can be [MORE_THAN, EQUALS, LESS_THAN]
    timeSecondsinteger

    ScrollTrackingGoalParams
    NameTypeDescription
    typeenumWhen the user scrolls down to. Can be [ELEMENT, PERCENTAGE, PIXELS_HEIGHT]
    valuedoubleScroll tracking value.

    PageViewsGoalParams
    NameTypeDescription
    numberMatchTypeenum. Can be [MORE_THAN, EQUALS, LESS_THAN]
    numberOfVisitedPagesinteger

    Remove goal

    Example request

    curl -X DELETE \
      -H "Authorization: Bearer qwerty123456789" \
      "https://api.kameleoon.com/goals/{goalId}"
    

    DELETE /goals/{goalId}

    Remove goal with given id

    Request arguments
    NamePlaceTypeDescription
    goalIdpathlonggoalId

    Partial update goal

    Example request

    curl -X PATCH \
      -H "Authorization: Bearer qwerty123456789" \
      -H "Content-Type: application/json" -d @- \
      "https://api.kameleoon.com/goals/{goalId}"
    {
      "description" : "string",
      "hasMultipleConversions" : "false",
      "isMainGoal" : "false",
      "mentalistWeight" : "132.987",
      "name" : "string",
      "params" : { },
      "trackingTools" : [ "GOOGLE_ANALYTICS" ],
      "type" : "CLICK"
    }
    

    PATCH /goals/{goalId}

    Update several fields of a goal

    Request arguments
    NamePlaceTypeDescription
    goalIdpathlonggoalId
    Request body

    GoalUpdate
    NameTypeDescription
    descriptionstring
    hasMultipleConversionsboolean
    isMainGoalboolean
    mentalistWeightdouble
    namestringName of goal
    paramsGoalParamsType of params depends on 'type' field. 'CLICK' - ClickTrackingGoalParams. 'SCROLL' - ScrollTrackingGoalParams. 'URL' - AccessToPageGoalParams. 'TIME_SPENT' - TimeSpentGoalParams. 'PAGE_VIEWS' - PageViewsGoalParams. For others types params aren't needed.
    trackingToolsarray. Can be [GOOGLE_ANALYTICS, UNIVERSAL_ANALYTICS, ECONDA, AT_INTERNET, SMART_TAG, ADOBE_OMNITURE, EULERIAN, WEBTRENDS, HEATMAP, KISS_METRICS, PIWIK, CRAZY_EGG, COM_SCORE, TEALIUM, YSANCE, M_PATHY, MANDRILL, MAILPERFORMANCE, SMARTFOCUS, MAILJET, MAILUP, EMARSYS, EXPERT_SENDER, TAG_COMMANDER, GOOGLE_TAG_MANAGER, CONTENT_SQUARE, WEBTREKK, CUSTOM_INTEGRATION, HEAP, SEGMENT, MIXPANEL, KAMELEOON_TRACKING, CUSTOM_TRACKING]
    typeenum. Can be [CLICK, SCROLL, URL, CUSTOM, TIME_SPENT, PAGE_VIEWS, RETENTION_RATE]

    ClickTrackingGoalParams
    NameTypeDescription
    customCssSelectorsarraySelection with a CSS selector. CSS selector to track the corresponding element
    urlstringURL of the page on which you want to create your click tracker. Example: www.mozilla.org

    AccessToPageGoalParams
    NameTypeDescription
    matchStringstring
    matchTypeenum. Can be [CONTAINS, CORRESPONDS_EXACTLY, REGULAR_EXPRESSION]

    TimeSpentGoalParams
    NameTypeDescription
    matchTypeenum. Can be [MORE_THAN, EQUALS, LESS_THAN]
    timeSecondsinteger

    ScrollTrackingGoalParams
    NameTypeDescription
    typeenumWhen the user scrolls down to. Can be [ELEMENT, PERCENTAGE, PIXELS_HEIGHT]
    valuedoubleScroll tracking value.

    PageViewsGoalParams
    NameTypeDescription
    numberMatchTypeenum. Can be [MORE_THAN, EQUALS, LESS_THAN]
    numberOfVisitedPagesinteger

    Example response

    {
      "id" : "123456789",
      "name" : "string",
      "siteId" : "123456789",
      "description" : "string",
      "isMainGoal" : "false",
      "mentalistWeight" : "132.987",
      "hasMultipleConversions" : "false",
      "type" : "CLICK",
      "params" : { },
      "dateCreated" : "2020-10-22T10:28:55.643955",
      "trackingTools" : [ "GOOGLE_ANALYTICS" ]
    }
    
    Response body

    Goal
    NameTypeDescription
    idlongUnique identifier of goal
    namestringName of goal
    siteIdlong
    descriptionstring
    isMainGoalboolean
    mentalistWeightdouble
    hasMultipleConversionsboolean
    typeenum. Can be [CLICK, SCROLL, URL, CUSTOM, TIME_SPENT, PAGE_VIEWS, RETENTION_RATE]
    paramsGoalParamsType of params depends on 'type' field. 'CLICK' - ClickTrackingGoalParams. 'SCROLL' - ScrollTrackingGoalParams. 'URL' - AccessToPageGoalParams. 'TIME_SPENT' - TimeSpentGoalParams. 'PAGE_VIEWS' - PageViewsGoalParams. For others types params aren't needed.
    dateCreateddatetime
    trackingToolsarray. Can be [GOOGLE_ANALYTICS, UNIVERSAL_ANALYTICS, ECONDA, AT_INTERNET, SMART_TAG, ADOBE_OMNITURE, EULERIAN, WEBTRENDS, HEATMAP, KISS_METRICS, PIWIK, CRAZY_EGG, COM_SCORE, TEALIUM, YSANCE, M_PATHY, MANDRILL, MAILPERFORMANCE, SMARTFOCUS, MAILJET, MAILUP, EMARSYS, EXPERT_SENDER, TAG_COMMANDER, GOOGLE_TAG_MANAGER, CONTENT_SQUARE, WEBTREKK, CUSTOM_INTEGRATION, HEAP, SEGMENT, MIXPANEL, KAMELEOON_TRACKING, CUSTOM_TRACKING]

    ClickTrackingGoalParams
    NameTypeDescription
    customCssSelectorsarraySelection with a CSS selector. CSS selector to track the corresponding element
    urlstringURL of the page on which you want to create your click tracker. Example: www.mozilla.org

    AccessToPageGoalParams
    NameTypeDescription
    matchStringstring
    matchTypeenum. Can be [CONTAINS, CORRESPONDS_EXACTLY, REGULAR_EXPRESSION]

    TimeSpentGoalParams
    NameTypeDescription
    matchTypeenum. Can be [MORE_THAN, EQUALS, LESS_THAN]
    timeSecondsinteger

    ScrollTrackingGoalParams
    NameTypeDescription
    typeenumWhen the user scrolls down to. Can be [ELEMENT, PERCENTAGE, PIXELS_HEIGHT]
    valuedoubleScroll tracking value.

    PageViewsGoalParams
    NameTypeDescription
    numberMatchTypeenum. Can be [MORE_THAN, EQUALS, LESS_THAN]
    numberOfVisitedPagesinteger

    Interests

    Interests allow you to target visitors that visited one or several websites in particular before yours. Interests make your targeting more precise. They indicate which websites users visited before arriving on your pages, even if they are visiting your website for the first time.

    List interests

    Example request

    curl -H "Authorization: Bearer qwerty123456789" \
      "https://api.kameleoon.com/interests"
    

    GET /interests

    Get list of all interests

    Example response

    [ {
      "id" : "123456789",
      "index" : "1234",
      "lastTimeCrawled" : "123456789",
      "name" : "string",
      "creationDate" : "2020-10-22T10:28:55.643955",
      "modificationDate" : "2020-10-22T10:28:55.643955",
      "specifications" : [ {
        "method" : "string",
        "parameters" : "string"
      } ],
      "siteId" : "123456789"
    } ]
    
    Response body

    Interest
    NameTypeDescription
    idlongThe unique identifier of the given interest
    indexintegerThe index for the given interest
    lastTimeCrawledlongDate and time the interest was crawled by a bot
    namestringThe name of the interest
    creationDatedatetimeDate and time an interest is created
    modificationDatedatetimeDate and time an interest is modified
    specificationsarray[InterestSpecification]
    siteIdlongUnique site identifier assigned with current interest

    InterestSpecification
    NameTypeDescription
    methodstring
    parametersstring

    Create a new interest

    Example request

    curl -X POST \
      -H "Authorization: Bearer qwerty123456789" \
      -H "Content-Type: application/json" -d @- \
      "https://api.kameleoon.com/interests"
    {
      "id" : "123456789",
      "index" : "1234",
      "lastTimeCrawled" : "123456789",
      "name" : "string",
      "creationDate" : "2020-10-22T10:28:55.643955",
      "modificationDate" : "2020-10-22T10:28:55.643955",
      "specifications" : [ {
        "method" : "string",
        "parameters" : "string"
      } ],
      "siteId" : "123456789"
    }
    

    POST /interests

    Create new interest with given parameters

    Request body

    Interest
    NameTypeDescription
    id
    *read only
    longThe unique identifier of the given interest
    index
    *read only
    integerThe index for the given interest
    lastTimeCrawled
    *read only
    longDate and time the interest was crawled by a bot
    namestringThe name of the interest
    creationDate
    *read only
    datetimeDate and time an interest is created
    modificationDate
    *read only
    datetimeDate and time an interest is modified
    specificationsarray[InterestSpecification]
    siteIdlongUnique site identifier assigned with current interest

    InterestSpecification
    NameTypeDescription
    methodstring
    parametersstring

    Example response

    {
      "id" : "123456789",
      "index" : "1234",
      "lastTimeCrawled" : "123456789",
      "name" : "string",
      "creationDate" : "2020-10-22T10:28:55.643955",
      "modificationDate" : "2020-10-22T10:28:55.643955",
      "specifications" : [ {
        "method" : "string",
        "parameters" : "string"
      } ],
      "siteId" : "123456789"
    }
    
    Response body

    Interest
    NameTypeDescription
    idlongThe unique identifier of the given interest
    indexintegerThe index for the given interest
    lastTimeCrawledlongDate and time the interest was crawled by a bot
    namestringThe name of the interest
    creationDatedatetimeDate and time an interest is created
    modificationDatedatetimeDate and time an interest is modified
    specificationsarray[InterestSpecification]
    siteIdlongUnique site identifier assigned with current interest

    InterestSpecification
    NameTypeDescription
    methodstring
    parametersstring

    Get one interest

    Example request

    curl -H "Authorization: Bearer qwerty123456789" \
      "https://api.kameleoon.com/interests/{interestId}"
    

    GET /interests/{interestId}

    Get one interest with the given id

    Request arguments
    NamePlaceTypeDescription
    interestIdpathlonginterestId

    Example response

    {
      "id" : "123456789",
      "index" : "1234",
      "lastTimeCrawled" : "123456789",
      "name" : "string",
      "creationDate" : "2020-10-22T10:28:55.643955",
      "modificationDate" : "2020-10-22T10:28:55.643955",
      "specifications" : [ {
        "method" : "string",
        "parameters" : "string"
      } ],
      "siteId" : "123456789"
    }
    
    Response body

    Interest
    NameTypeDescription
    idlongThe unique identifier of the given interest
    indexintegerThe index for the given interest
    lastTimeCrawledlongDate and time the interest was crawled by a bot
    namestringThe name of the interest
    creationDatedatetimeDate and time an interest is created
    modificationDatedatetimeDate and time an interest is modified
    specificationsarray[InterestSpecification]
    siteIdlongUnique site identifier assigned with current interest

    InterestSpecification
    NameTypeDescription
    methodstring
    parametersstring

    Update an interest

    Example request

    curl -X PUT \
      -H "Authorization: Bearer qwerty123456789" \
      -H "Content-Type: application/json" -d @- \
      "https://api.kameleoon.com/interests/{interestId}"
    {
      "id" : "123456789",
      "index" : "1234",
      "lastTimeCrawled" : "123456789",
      "name" : "string",
      "creationDate" : "2020-10-22T10:28:55.643955",
      "modificationDate" : "2020-10-22T10:28:55.643955",
      "specifications" : [ {
        "method" : "string",
        "parameters" : "string"
      } ],
      "siteId" : "123456789"
    }
    

    PUT /interests/{interestId}

    Update interest with given id

    Request arguments
    NamePlaceTypeDescription
    interestIdpathlonginterestId
    Request body

    Interest
    NameTypeDescription
    id
    *read only
    longThe unique identifier of the given interest
    index
    *read only
    integerThe index for the given interest
    lastTimeCrawled
    *read only
    longDate and time the interest was crawled by a bot
    namestringThe name of the interest
    creationDate
    *read only
    datetimeDate and time an interest is created
    modificationDate
    *read only
    datetimeDate and time an interest is modified
    specificationsarray[InterestSpecification]
    siteIdlongUnique site identifier assigned with current interest

    InterestSpecification
    NameTypeDescription
    methodstring
    parametersstring

    Example response

    {
      "id" : "123456789",
      "index" : "1234",
      "lastTimeCrawled" : "123456789",
      "name" : "string",
      "creationDate" : "2020-10-22T10:28:55.643955",
      "modificationDate" : "2020-10-22T10:28:55.643955",
      "specifications" : [ {
        "method" : "string",
        "parameters" : "string"
      } ],
      "siteId" : "123456789"
    }
    
    Response body

    Interest
    NameTypeDescription
    idlongThe unique identifier of the given interest
    indexintegerThe index for the given interest
    lastTimeCrawledlongDate and time the interest was crawled by a bot
    namestringThe name of the interest
    creationDatedatetimeDate and time an interest is created
    modificationDatedatetimeDate and time an interest is modified
    specificationsarray[InterestSpecification]
    siteIdlongUnique site identifier assigned with current interest

    InterestSpecification
    NameTypeDescription
    methodstring
    parametersstring

    Remove an interest

    Example request

    curl -X DELETE \
      -H "Authorization: Bearer qwerty123456789" \
      "https://api.kameleoon.com/interests/{interestId}"
    

    DELETE /interests/{interestId}

    Remove interest with given id

    Request arguments
    NamePlaceTypeDescription
    interestIdpathlonginterestId

    Partial update interest

    Example request

    curl -X PATCH \
      -H "Authorization: Bearer qwerty123456789" \
      -H "Content-Type: application/json" -d @- \
      "https://api.kameleoon.com/interests/{interestId}"
    {
      "name" : "string",
      "specifications" : [ {
        "method" : "string",
        "parameters" : "string"
      } ]
    }
    

    PATCH /interests/{interestId}

    Update several fields of interest

    Request arguments
    NamePlaceTypeDescription
    interestIdpathlonginterestId
    Request body

    InterestUpdate
    NameTypeDescription
    namestringThe name of the interest
    specificationsarray[InterestSpecification]

    InterestSpecification
    NameTypeDescription
    methodstring
    parametersstring

    Example response

    {
      "id" : "123456789",
      "index" : "1234",
      "lastTimeCrawled" : "123456789",
      "name" : "string",
      "creationDate" : "2020-10-22T10:28:55.643955",
      "modificationDate" : "2020-10-22T10:28:55.643955",
      "specifications" : [ {
        "method" : "string",
        "parameters" : "string"
      } ],
      "siteId" : "123456789"
    }
    
    Response body

    Interest
    NameTypeDescription
    idlongThe unique identifier of the given interest
    indexintegerThe index for the given interest
    lastTimeCrawledlongDate and time the interest was crawled by a bot
    namestringThe name of the interest
    creationDatedatetimeDate and time an interest is created
    modificationDatedatetimeDate and time an interest is modified
    specificationsarray[InterestSpecification]
    siteIdlongUnique site identifier assigned with current interest

    InterestSpecification
    NameTypeDescription
    methodstring
    parametersstring

    Key pages

    Key pages allow you to target visitors that visited a particular page or multiple pages on your website.

    List of key pages

    Example request

    curl -H "Authorization: Bearer qwerty123456789" \
      "https://api.kameleoon.com/key-pages"
    

    GET /key-pages

    Get list of all the key pages

    Example response

    [ {
      "id" : "123456789",
      "name" : "string",
      "relativeUrlRegExp" : "string",
      "matchType" : "string",
      "totalCount" : "1234",
      "secondMatchType" : "string",
      "creationDate" : "2020-10-22T10:28:55.643955",
      "modificationDate" : "2020-10-22T10:28:55.643955",
      "siteId" : "123456789"
    } ]
    
    Response body

    KeyPage
    NameTypeDescription
    idlongThe unique identifier of the given key page
    namestringThe name of the key page
    relativeUrlRegExpstringRegular expression for the relative URL
    matchTypestringType of matching for the given key page
    totalCountintegerNumber of impressions for the key page
    secondMatchTypestringSecond type of matching for the given key page if needed
    creationDatedatetimeDate and time a key page is created
    modificationDatedatetimeDate and time a key page is modified
    siteIdlongUnique site identifier assigned with the key page

    Create a new key page

    Example request

    curl -X POST \
      -H "Authorization: Bearer qwerty123456789" \
      -H "Content-Type: application/json" -d @- \
      "https://api.kameleoon.com/key-pages"
    {
      "id" : "123456789",
      "name" : "string",
      "relativeUrlRegExp" : "string",
      "matchType" : "string",
      "totalCount" : "1234",
      "secondMatchType" : "string",
      "creationDate" : "2020-10-22T10:28:55.643955",
      "modificationDate" : "2020-10-22T10:28:55.643955",
      "siteId" : "123456789"
    }
    

    POST /key-pages

    Create a new key page with the given parameters

    Request body

    KeyPage
    NameTypeDescription
    id
    *read only
    longThe unique identifier of the given key page
    namestringThe name of the key page
    relativeUrlRegExpstringRegular expression for the relative URL
    matchTypestringType of matching for the given key page
    totalCountintegerNumber of impressions for the key page
    secondMatchTypestringSecond type of matching for the given key page if needed
    creationDate
    *read only
    datetimeDate and time a key page is created
    modificationDate
    *read only
    datetimeDate and time a key page is modified
    siteIdlongUnique site identifier assigned with the key page

    Example response

    {
      "id" : "123456789",
      "name" : "string",
      "relativeUrlRegExp" : "string",
      "matchType" : "string",
      "totalCount" : "1234",
      "secondMatchType" : "string",
      "creationDate" : "2020-10-22T10:28:55.643955",
      "modificationDate" : "2020-10-22T10:28:55.643955",
      "siteId" : "123456789"
    }
    
    Response body

    KeyPage
    NameTypeDescription
    idlongThe unique identifier of the given key page
    namestringThe name of the key page
    relativeUrlRegExpstringRegular expression for the relative URL
    matchTypestringType of matching for the given key page
    totalCountintegerNumber of impressions for the key page
    secondMatchTypestringSecond type of matching for the given key page if needed
    creationDatedatetimeDate and time a key page is created
    modificationDatedatetimeDate and time a key page is modified
    siteIdlongUnique site identifier assigned with the key page

    Get one key page

    Example request

    curl -H "Authorization: Bearer qwerty123456789" \
      "https://api.kameleoon.com/key-pages/{keyPageId}"
    

    GET /key-pages/{keyPageId}

    Get one key page with the given id

    Request arguments
    NamePlaceTypeDescription
    keyPageIdpathlongkeyPageId

    Example response

    {
      "id" : "123456789",
      "name" : "string",
      "relativeUrlRegExp" : "string",
      "matchType" : "string",
      "totalCount" : "1234",
      "secondMatchType" : "string",
      "creationDate" : "2020-10-22T10:28:55.643955",
      "modificationDate" : "2020-10-22T10:28:55.643955",
      "siteId" : "123456789"
    }
    
    Response body

    KeyPage
    NameTypeDescription
    idlongThe unique identifier of the given key page
    namestringThe name of the key page
    relativeUrlRegExpstringRegular expression for the relative URL
    matchTypestringType of matching for the given key page
    totalCountintegerNumber of impressions for the key page
    secondMatchTypestringSecond type of matching for the given key page if needed
    creationDatedatetimeDate and time a key page is created
    modificationDatedatetimeDate and time a key page is modified
    siteIdlongUnique site identifier assigned with the key page

    Update key page

    Example request

    curl -X PUT \
      -H "Authorization: Bearer qwerty123456789" \
      -H "Content-Type: application/json" -d @- \
      "https://api.kameleoon.com/key-pages/{keyPageId}"
    {
      "id" : "123456789",
      "name" : "string",
      "relativeUrlRegExp" : "string",
      "matchType" : "string",
      "totalCount" : "1234",
      "secondMatchType" : "string",
      "creationDate" : "2020-10-22T10:28:55.643955",
      "modificationDate" : "2020-10-22T10:28:55.643955",
      "siteId" : "123456789"
    }
    

    PUT /key-pages/{keyPageId}

    Update a key page with the given id

    Request arguments
    NamePlaceTypeDescription
    keyPageIdpathlongkeyPageId
    Request body

    KeyPage
    NameTypeDescription
    id
    *read only
    longThe unique identifier of the given key page
    namestringThe name of the key page
    relativeUrlRegExpstringRegular expression for the relative URL
    matchTypestringType of matching for the given key page
    totalCountintegerNumber of impressions for the key page
    secondMatchTypestringSecond type of matching for the given key page if needed
    creationDate
    *read only
    datetimeDate and time a key page is created
    modificationDate
    *read only
    datetimeDate and time a key page is modified
    siteIdlongUnique site identifier assigned with the key page

    Example response

    {
      "id" : "123456789",
      "name" : "string",
      "relativeUrlRegExp" : "string",
      "matchType" : "string",
      "totalCount" : "1234",
      "secondMatchType" : "string",
      "creationDate" : "2020-10-22T10:28:55.643955",
      "modificationDate" : "2020-10-22T10:28:55.643955",
      "siteId" : "123456789"
    }
    
    Response body

    KeyPage
    NameTypeDescription
    idlongThe unique identifier of the given key page
    namestringThe name of the key page
    relativeUrlRegExpstringRegular expression for the relative URL
    matchTypestringType of matching for the given key page
    totalCountintegerNumber of impressions for the key page
    secondMatchTypestringSecond type of matching for the given key page if needed
    creationDatedatetimeDate and time a key page is created
    modificationDatedatetimeDate and time a key page is modified
    siteIdlongUnique site identifier assigned with the key page

    Remove key page

    Example request

    curl -X DELETE \
      -H "Authorization: Bearer qwerty123456789" \
      "https://api.kameleoon.com/key-pages/{keyPageId}"
    

    DELETE /key-pages/{keyPageId}

    Remove a key page with the provided id

    Request arguments
    NamePlaceTypeDescription
    keyPageIdpathlongkeyPageId

    Partial update key page

    Example request

    curl -X PATCH \
      -H "Authorization: Bearer qwerty123456789" \
      -H "Content-Type: application/json" -d @- \
      "https://api.kameleoon.com/key-pages/{keyPageId}"
    {
      "matchType" : "string",
      "name" : "string",
      "relativeUrlRegExp" : "string",
      "secondMatchType" : "string",
      "totalCount" : "1234"
    }
    

    PATCH /key-pages/{keyPageId}

    Update several fields of a key page

    Request arguments
    NamePlaceTypeDescription
    keyPageIdpathlongkeyPageId
    Request body

    KeyPageUpdate
    NameTypeDescription
    matchTypestringType of matching for the given key page
    namestringThe name of the key page
    relativeUrlRegExpstringRegular expression for the relative URL
    secondMatchTypestringSecond type of matching for the given key page if needed
    totalCountintegerNumber of impressions for the key page

    Example response

    {
      "id" : "123456789",
      "name" : "string",
      "relativeUrlRegExp" : "string",
      "matchType" : "string",
      "totalCount" : "1234",
      "secondMatchType" : "string",
      "creationDate" : "2020-10-22T10:28:55.643955",
      "modificationDate" : "2020-10-22T10:28:55.643955",
      "siteId" : "123456789"
    }
    
    Response body

    KeyPage
    NameTypeDescription
    idlongThe unique identifier of the given key page
    namestringThe name of the key page
    relativeUrlRegExpstringRegular expression for the relative URL
    matchTypestringType of matching for the given key page
    totalCountintegerNumber of impressions for the key page
    secondMatchTypestringSecond type of matching for the given key page if needed
    creationDatedatetimeDate and time a key page is created
    modificationDatedatetimeDate and time a key page is modified
    siteIdlongUnique site identifier assigned with the key page

    Personalizations

    Web personalization consists in offering visitors a tailored experience in order to optimize your conversion rate. Personalization object contains all vital information about a personalization as well as segments and variations used in it.

    List personalizations

    Example request

    curl -H "Authorization: Bearer qwerty123456789" \
      "https://api.kameleoon.com/personalizations"
    

    GET /personalizations

    Get list of all personalizations

    Example response

    [ {
      "iadvize" : {
        "customPositionAxisX" : "string",
        "customPositionAxisY" : "string",
        "displayPluginConfiguration" : "DISPLAY_ALL_DEVICES",
        "height" : "string",
        "iAdvizeIdentifier" : "string",
        "iadvizeIdentifier" : "string",
        "personalizationPluginLocation" : "INSIDE_PAGES",
        "platformType" : "STANDARD",
        "position" : "TOP",
        "width" : "string"
      },
      "id" : "123456789",
      "name" : "string",
      "siteId" : "123456789",
      "variationId" : "123456789",
      "status" : "string",
      "dateStatusModified" : "2020-10-22T10:28:55.643955",
      "targetingSegmentId" : "123456789",
      "mainGoalId" : "123456789",
      "goals" : [ "[]" ],
      "customExpositionRate" : "132.987",
      "globalCappingNumberVisitors" : "false",
      "globalCappingVisitorsConfig" : "NUMBER_VISITORS",
      "globalCappingGoalId" : "123456789",
      "visitExpositionFrequency" : "1234",
      "visitorExpositionFrequency" : "1234",
      "expositionFrequencyDelay" : "123456789",
      "multiExpositionFrequencyDelay" : "123456789",
      "cappingPerVisitorExpositions" : "false",
      "visitorExpositionFrequencyMax" : "1234",
      "cappingPerVisitorExposedVisits" : "false",
      "exposedVisitsSameVisitorMax" : "1234",
      "cappingPerVisitorConvertGoal" : "false",
      "cappingPerVisitorGoalId" : "123456789",
      "maxNumberVisitorsExposed" : "123456789",
      "checkConditionsRule" : "ALL_CONDITIONS",
      "priority" : "1234",
      "popIn" : {
        "animationDirection" : "TOP",
        "animationTrigger" : "ON_OPEN",
        "animationType" : "NONE",
        "backgroundColor" : "string",
        "closeWithClickOnOverlay" : "false",
        "customPositionAxisX" : "string",
        "customPositionAxisY" : "string",
        "displayImageConfiguration" : "DISPLAY_ALL_DEVICES",
        "fontSize" : "string",
        "height" : "string",
        "heightImageDesktop" : "string",
        "heightImageMobile" : "string",
        "heightImageTablet" : "string",
        "htmlContent" : "string",
        "idTarget2Sell" : "string",
        "image" : {
          "baseColor" : "1234",
          "colorDepth" : "1234",
          "date" : "2020-10-22T10:28:55.643955",
          "fileName" : "string",
          "fileWeight" : "123456789",
          "format" : "PNG",
          "height" : "1234",
          "keywords" : [ "[]" ],
          "name" : "string",
          "shared" : "false",
          "siteId" : "123456789",
          "source" : "string",
          "width" : "1234"
        },
        "imageDesktop" : {
          "baseColor" : "1234",
          "colorDepth" : "1234",
          "date" : "2020-10-22T10:28:55.643955",
          "fileName" : "string",
          "fileWeight" : "123456789",
          "format" : "PNG",
          "height" : "1234",
          "keywords" : [ "[]" ],
          "name" : "string",
          "shared" : "false",
          "siteId" : "123456789",
          "source" : "string",
          "width" : "1234"
        },
        "imageMobile" : {
          "baseColor" : "1234",
          "colorDepth" : "1234",
          "date" : "2020-10-22T10:28:55.643955",
          "fileName" : "string",
          "fileWeight" : "123456789",
          "format" : "PNG",
          "height" : "1234",
          "keywords" : [ "[]" ],
          "name" : "string",
          "shared" : "false",
          "siteId" : "123456789",
          "source" : "string",
          "width" : "1234"
        },
        "imageTablet" : {
          "baseColor" : "1234",
          "colorDepth" : "1234",
          "date" : "2020-10-22T10:28:55.643955",
          "fileName" : "string",
          "fileWeight" : "123456789",
          "format" : "PNG",
          "height" : "1234",
          "keywords" : [ "[]" ],
          "name" : "string",
          "shared" : "false",
          "siteId" : "123456789",
          "source" : "string",
          "width" : "1234"
        },
        "name" : "string",
        "position" : "TOP",
        "redirectURL" : "string",
        "targetBlank" : "false",
        "template" : "false",
        "textColor" : "string",
        "textContent" : "string",
        "type" : "SINGLE_IMAGE",
        "width" : "string",
        "widthImageDesktop" : "string",
        "widthImageMobile" : "string",
        "widthImageTablet" : "string",
        "withOverlay" : "false"
      },
      "stickyBlock" : {
        "animationDirection" : "TOP",
        "animationTrigger" : "ON_OPEN",
        "animationType" : "NONE",
        "backgroundColor" : "string",
        "customPositionAxisX" : "string",
        "customPositionAxisY" : "string",
        "displayImageConfiguration" : "DISPLAY_ALL_DEVICES",
        "fontSize" : "string",
        "height" : "string",
        "heightImageDesktop" : "string",
        "heightImageMobile" : "string",
        "heightImageTablet" : "string",
        "htmlContent" : "string",
        "idTarget2Sell" : "string",
        "image" : {
          "baseColor" : "1234",
          "colorDepth" : "1234",
          "date" : "2020-10-22T10:28:55.643955",
          "fileName" : "string",
          "fileWeight" : "123456789",
          "format" : "PNG",
          "height" : "1234",
          "keywords" : [ "[]" ],
          "name" : "string",
          "shared" : "false",
          "siteId" : "123456789",
          "source" : "string",
          "width" : "1234"
        },
        "imageDesktop" : {
          "baseColor" : "1234",
          "colorDepth" : "1234",
          "date" : "2020-10-22T10:28:55.643955",
          "fileName" : "string",
          "fileWeight" : "123456789",
          "format" : "PNG",
          "height" : "1234",
          "keywords" : [ "[]" ],
          "name" : "string",
          "shared" : "false",
          "siteId" : "123456789",
          "source" : "string",
          "width" : "1234"
        },
        "imageMobile" : {
          "baseColor" : "1234",
          "colorDepth" : "1234",
          "date" : "2020-10-22T10:28:55.643955",
          "fileName" : "string",
          "fileWeight" : "123456789",
          "format" : "PNG",
          "height" : "1234",
          "keywords" : [ "[]" ],
          "name" : "string",
          "shared" : "false",
          "siteId" : "123456789",
          "source" : "string",
          "width" : "1234"
        },
        "imageTablet" : {
          "baseColor" : "1234",
          "colorDepth" : "1234",
          "date" : "2020-10-22T10:28:55.643955",
          "fileName" : "string",
          "fileWeight" : "123456789",
          "format" : "PNG",
          "height" : "1234",
          "keywords" : [ "[]" ],
          "name" : "string",
          "shared" : "false",
          "siteId" : "123456789",
          "source" : "string",
          "width" : "1234"
        },
        "name" : "string",
        "position" : "TOP",
        "redirectURL" : "string",
        "shiftContent" : "false",
        "shouldScrollTo" : "false",
        "targetBlank" : "false",
        "template" : "false",
        "textColor" : "string",
        "textContent" : "string",
        "type" : "SINGLE_IMAGE",
        "width" : "string",
        "widthImageDesktop" : "string",
        "widthImageMobile" : "string",
        "widthImageTablet" : "string"
      },
      "imageInPage" : {
        "domElementSelector" : "string",
        "height" : "string",
        "htmlContent" : "string",
        "image" : {
          "baseColor" : "1234",
          "colorDepth" : "1234",
          "date" : "2020-10-22T10:28:55.643955",
          "fileName" : "string",
          "fileWeight" : "123456789",
          "format" : "PNG",
          "height" : "1234",
          "keywords" : [ "[]" ],
          "name" : "string",
          "shared" : "false",
          "siteId" : "123456789",
          "source" : "string",
          "width" : "1234"
        },
        "mainPageUrl" : "string",
        "positionDefinition" : "EDITOR",
        "positionSelectorRelative" : "REPLACE",
        "redirectURL" : "string",
        "width" : "string"
      },
      "emailAction" : {
        "customDataIndex" : "1234",
        "customSolutionName" : "string",
        "emailContentSolution" : "CUSTOM_TEMPLATE",
        "emailSolution" : "CUSTOM",
        "emailTags" : "string",
        "emailTemplateId" : "string",
        "fetchingMethod" : "CUSTOM_DATA",
        "fetchingScript" : "string",
        "goalCancellingId" : "123456789",
        "headerEmailSubject" : "string",
        "headerReplyEmail" : "string",
        "headerSenderEmail" : "string",
        "headerSenderName" : "string",
        "htmlContent" : "string",
        "neverCancelSending" : "false",
        "randomTagId" : "string",
        "secondsDelayToSend" : "123456789",
        "sendAtOnce" : "false",
        "solutionKey" : "string",
        "solutionSecret" : "string",
        "solutionUrl" : "string"
      },
      "countDownBanner" : {
        "backgroundColor" : "string",
        "contentType" : "TEXT",
        "customPositionAxisX" : "string",
        "customPositionAxisY" : "string",
        "dayOfMonth" : "1234",
        "displayPluginConfiguration" : "DISPLAY_ALL_DEVICES",
        "domElementSelector" : "string",
        "height" : "string",
        "horizontalAlignmentType" : "LEFT",
        "hourOfDay" : "1234",
        "htmlContent" : "string",
        "mainPageUrl" : "string",
        "minute" : "1234",
        "month" : "1234",
        "personalizationPluginLocation" : "INSIDE_PAGES",
        "position" : "TOP",
        "positionDefinition" : "EDITOR",
        "positionSelectorRelative" : "REPLACE",
        "redirectURL" : "string",
        "second" : "1234",
        "textColor" : "string",
        "textContent" : "string",
        "verticalAlignmentType" : "TOP",
        "width" : "string",
        "year" : "1234"
      },
      "googleForm" : {
        "closeWithClickOnOverlay" : "false",
        "customPositionAxisX" : "string",
        "customPositionAxisY" : "string",
        "displayPluginConfiguration" : "DISPLAY_ALL_DEVICES",
        "domElementSelector" : "string",
        "googleFormURL" : "string",
        "height" : "string",
        "mainPageUrl" : "string",
        "personalizationPluginLocation" : "INSIDE_PAGES",
        "position" : "TOP",
        "positionDefinition" : "EDITOR",
        "positionSelectorRelative" : "REPLACE",
        "width" : "string",
        "withOverlay" : "false"
      },
      "cookieInfoBanner" : {
        "customPositionAxisX" : "string",
        "customPositionAxisY" : "string",
        "displayPluginConfiguration" : "DISPLAY_ALL_DEVICES",
        "height" : "string",
        "message" : "string",
        "personalizationPluginLocation" : "INSIDE_PAGES",
        "position" : "TOP",
        "redirectText" : "string",
        "redirectURL" : "string",
        "width" : "string"
      },
      "iAdvize" : {
        "customPositionAxisX" : "string",
        "customPositionAxisY" : "string",
        "displayPluginConfiguration" : "DISPLAY_ALL_DEVICES",
        "height" : "string",
        "iAdvizeIdentifier" : "string",
        "iadvizeIdentifier" : "string",
        "personalizationPluginLocation" : "INSIDE_PAGES",
        "platformType" : "STANDARD",
        "position" : "TOP",
        "width" : "string"
      },
      "socialBar" : {
        "customPositionAxisX" : "string",
        "customPositionAxisY" : "string",
        "displayPluginConfiguration" : "DISPLAY_ALL_DEVICES",
        "domElementSelector" : "string",
        "height" : "string",
        "mainPageUrl" : "string",
        "marginBottom" : "string",
        "marginLeft" : "string",
        "marginRight" : "string",
        "marginTop" : "string",
        "orientation" : "HORIZONTAL",
        "personalizationPluginLocation" : "INSIDE_PAGES",
        "position" : "TOP",
        "positionDefinition" : "EDITOR",
        "positionSelectorRelative" : "REPLACE",
        "urlToShare" : "string",
        "urlType" : "CURRENT",
        "width" : "string"
      },
      "popInVideo" : {
        "addBackground" : "false",
        "autoPlay" : "false",
        "autoSize" : "false",
        "closePopin" : "false",
        "customPositionAxisX" : "string",
        "customPositionAxisY" : "string",
        "displayPluginConfiguration" : "DISPLAY_ALL_DEVICES",
        "height" : "string",
        "personalizationPluginLocation" : "INSIDE_PAGES",
        "position" : "TOP",
        "url" : "string",
        "width" : "string"
      },
      "adBlock" : {
        "actionType" : "SHOW_MESSAGE",
        "backgroundColor" : "string",
        "blockNavigationType" : "ALL",
        "closeWithClickOnOverlay" : "false",
        "customPositionAxisX" : "string",
        "customPositionAxisY" : "string",
        "displayPluginConfiguration" : "DISPLAY_ALL_DEVICES",
        "domElementSelector" : "string",
        "fontSize" : "string",
        "goalName" : "string",
        "height" : "string",
        "horizontalAlignmentType" : "LEFT",
        "image" : {
          "baseColor" : "1234",
          "colorDepth" : "1234",
          "date" : "2020-10-22T10:28:55.643955",
          "fileName" : "string",
          "fileWeight" : "123456789",
          "format" : "PNG",
          "height" : "1234",
          "keywords" : [ "[]" ],
          "name" : "string",
          "shared" : "false",
          "siteId" : "123456789",
          "source" : "string",
          "width" : "1234"
        },
        "imageType" : "NONE",
        "mainPageUrl" : "string",
        "messageContent" : "string",
        "messageTitle" : "string",
        "personalizationPluginLocation" : "INSIDE_PAGES",
        "position" : "TOP",
        "positionDefinition" : "EDITOR",
        "positionSelectorRelative" : "REPLACE",
        "redirectURL" : "string",
        "shiftContent" : "false",
        "shouldScrollTo" : "false",
        "showMessage" : "false",
        "textColor" : "string",
        "trackAction" : "false",
        "type" : "POPIN",
        "verticalAlignmentType" : "TOP",
        "width" : "string",
        "withOverlay" : "false"
      },
      "visitsCounter" : {
        "counterFormat" : "FRENCH",
        "counterFromDate" : "2020-10-22T10:28:55.643955",
        "counterFromType" : "DAY",
        "customPositionAxisX" : "string",
        "customPositionAxisY" : "string",
        "descriptionText" : "string",
        "displayPluginConfiguration" : "DISPLAY_ALL_DEVICES",
        "height" : "string",
        "minimumVisits" : "123456789",
        "personalizationPluginLocation" : "INSIDE_PAGES",
        "position" : "TOP",
        "width" : "string"
      },
      "newsLetter" : {
        "backgroundColor" : "string",
        "backgroundImage" : {
          "baseColor" : "1234",
          "colorDepth" : "1234",
          "date" : "2020-10-22T10:28:55.643955",
          "fileName" : "string",
          "fileWeight" : "123456789",
          "format" : "PNG",
          "height" : "1234",
          "keywords" : [ "[]" ],
          "name" : "string",
          "shared" : "false",
          "siteId" : "123456789",
          "source" : "string",
          "width" : "1234"
        },
        "confirmationText" : "string",
        "customPositionAxisX" : "string",
        "customPositionAxisY" : "string",
        "displayPluginConfiguration" : "DISPLAY_ALL_DEVICES",
        "emailKey" : "string",
        "height" : "string",
        "legalNoticeUrl" : "string",
        "outsideClose" : "false",
        "overlayEnabled" : "false",
        "pageUrl" : "string",
        "personalizationPluginLocation" : "INSIDE_PAGES",
        "position" : "TOP",
        "requestType" : "GET",
        "timerClose" : "1234",
        "titleEnabled" : "false",
        "type" : "FORM",
        "url" : "string",
        "width" : "string"
      },
      "trackingTools" : [ {
        "adobeOmnitureObject" : "string",
        "comScoreCustomerId" : "string",
        "comScoreDomain" : "string",
        "customVariable" : "1234",
        "eulerianUserCentricParameter" : "string",
        "googleAnalyticsTracker" : "string",
        "heatMapPageWidth" : "1234",
        "reportingScript" : "string",
        "type" : "GOOGLE_ANALYTICS",
        "universalAnalyticsDimension" : "1234"
      } ],
      "tags" : [ "[]" ],
      "dateCreated" : "2020-10-22T10:28:55.643955",
      "dateStarted" : "2020-10-22T10:28:55.643955",
      "description" : "string",
      "isArchived" : "false",
      "dateModified" : "2020-10-22T10:28:55.643955",
      "type" : "CLASSIC",
      "createdBy" : "123456789"
    } ]
    
    Response body

    Personalization
    NameTypeDescription
    iadvizeIAdvize
    idlongThis field is generated by the system to uniquely identify a personalization
    namestringThe name of the personalization
    siteIdlongThe website id that a personalization belongs to
    variationIdlongThe variation id of the given personalization
    statusstringThe status of the given personalization
    dateStatusModifieddatetimeLast moment when status was updated
    targetingSegmentIdlongSelected targeting segment
    mainGoalIdlongMain goal
    goalsarraySelected goals
    customExpositionRatedoubleThe segment percentage exposed to personalization
    globalCappingNumberVisitorsbooleanThis option allows you to set the capping configuration
    globalCappingVisitorsConfigenumThe visitors configuration for threshold of total number of exposed visitors. Can be [NUMBER_VISITORS, NUMBER_VISITORS_CONVERT_GOAL, NUMBER_VISITORS_NOT_CONVERT_GOAL]
    globalCappingGoalIdlongThe goal for threshold of total number of exposed visitors
    visitExpositionFrequencyintegerExposition frequency during a unique visit
    visitorExpositionFrequencyintegerExposition frequency during a unique visitor
    expositionFrequencyDelaylongPeriod of time of exposition frequency during different visitors
    multiExpositionFrequencyDelaylongMinimum delay between each exposition
    cappingPerVisitorExpositionsbooleanIf true stop exposing a same visitor when the total number of expositions exceeds this threshold
    visitorExpositionFrequencyMaxintegerStop exposing a same visitor when the total number of expositions exceeds this threshold
    cappingPerVisitorExposedVisitsbooleanIf true stop exposing a same visitor when the number of visits exceeds this threshold
    exposedVisitsSameVisitorMaxintegerStop exposing a same visitor when the number of visits exceeds this threshold
    cappingPerVisitorConvertGoalbooleanIf true stop exposing a same visitor when the goal is completed
    cappingPerVisitorGoalIdlongStop exposing a same visitor when the goal with given id is completed
    maxNumberVisitorsExposedlongThreshold of the total number of exposed visitors
    checkConditionsRuleenumThe behavior of Kameleoon to determine if a visitor is targeted or not. Can be [ALL_CONDITIONS, CUMULATIVE_WEIGHT]
    priorityintegerThe priority of the personalization
    popInPopInPop-In settings
    stickyBlockStickyBlockSticky block settings
    imageInPageImageInPageSettings of an image in page
    emailActionEmailActionSettings of an email
    countDownBannerCountDownBannerSettings of a countdown banner widget
    googleFormGoogleFormSettings of a Google form widget
    cookieInfoBannerCookieInfoBannerSettings of a cookie banner widget
    iAdvizeIAdvizeSettings of an iAdvize chat widget
    socialBarSocialBarSettings of a social sharing bar widget
    popInVideoPopInVideoSettings of a video pop-in widget
    adBlockAdBlockSettings of an Adblocker widget
    visitsCounterVisitsCounterSettings of a visits counter widget
    newsLetterNewsLetterSettings of a newsletter subscription form widget
    trackingToolsarray[TrackingTool]List of tracking tools
    tagsarrayList of tags
    dateCreateddatetimeDate and time when personalization was created
    dateStarteddatetimeDate and time when personalization was started
    descriptionstringThis is description of personalization
    isArchivedbooleanIf true the personalization is archived
    dateModifieddatetimeDate and time when personalization was updated last time
    typeenumType of personalization. Can be [CLASSIC, AUTOPROMO, IA, MAIL]
    createdBylongAccount id to whom created this personalization

    IAdvize
    NameTypeDescription
    customPositionAxisXstring
    customPositionAxisYstring
    displayPluginConfigurationenum. Can be [DISPLAY_ALL_DEVICES, DISPLAY_ONLY_DESKTOP, DISPLAY_ONLY_TABLET, DISPLAY_ONLY_MOBILE, DISPLAY_DESKTOP_TABLET, DISPLAY_DESKTOP_MOBILE, DISPLAY_TABLET_MOBILE]
    heightstring
    iAdvizeIdentifierstring
    iadvizeIdentifierstring
    personalizationPluginLocationenum. Can be [INSIDE_PAGES, ABOVE_PAGES]
    platformTypeenum. Can be [STANDARD, HIGH_AVAILABILITY]
    positionenum. Can be [TOP, BOTTOM, LEFT, RIGHT, CENTER, TOP_LEFT, TOP_RIGHT, BOTTOM_LEFT, BOTTOM_RIGHT, CUSTOM]
    widthstring

    PopIn
    NameTypeDescription
    animationDirectionenum. Can be [TOP, BOTTOM, LEFT, RIGHT, CENTER, TOP_LEFT, TOP_RIGHT, BOTTOM_LEFT, BOTTOM_RIGHT, CUSTOM]
    animationTriggerenum. Can be [ON_OPEN, ON_CLOSE, ON_OPEN_AND_CLOSE, CONTINUOUSLY]
    animationTypeenum. Can be [NONE, FADE, SLIDER, ZOOM_IN, ZOOM_OUT, BOUNCE]
    backgroundColorstring
    closeWithClickOnOverlayboolean
    customPositionAxisXstring
    customPositionAxisYstring
    displayImageConfigurationenum. Can be [DISPLAY_ALL_DEVICES, DISPLAY_ONLY_DESKTOP, DISPLAY_ONLY_TABLET, DISPLAY_ONLY_MOBILE, DISPLAY_DESKTOP_TABLET, DISPLAY_DESKTOP_MOBILE, DISPLAY_TABLET_MOBILE]
    fontSizestring
    heightstring
    heightImageDesktopstring
    heightImageMobilestring
    heightImageTabletstring
    htmlContentstring
    idTarget2Sellstring
    imageImage
    imageDesktopImage
    imageMobileImage
    imageTabletImage
    namestring
    positionenum. Can be [TOP, BOTTOM, LEFT, RIGHT, CENTER, TOP_LEFT, TOP_RIGHT, BOTTOM_LEFT, BOTTOM_RIGHT, CUSTOM]
    redirectURLstring
    targetBlankboolean
    templateboolean
    textColorstring
    textContentstring
    typeenum. Can be [SINGLE_IMAGE, FULL_IMAGE_TEXT, FULL_TEXT_IMAGE, HTML, TARGET2SELL]
    widthstring
    widthImageDesktopstring
    widthImageMobilestring
    widthImageTabletstring
    withOverlayboolean

    Image
    NameTypeDescription
    baseColorinteger
    colorDepthinteger
    datedatetime
    fileNamestring
    fileWeightlong
    formatenum. Can be [PNG, JPEG, GIF]
    heightinteger
    keywordsarray
    namestring
    sharedboolean
    siteIdlong
    sourcestring
    widthinteger

    StickyBlock
    NameTypeDescription
    animationDirectionenum. Can be [TOP, BOTTOM, LEFT, RIGHT, CENTER, TOP_LEFT, TOP_RIGHT, BOTTOM_LEFT, BOTTOM_RIGHT, CUSTOM]
    animationTriggerenum. Can be [ON_OPEN, ON_CLOSE, ON_OPEN_AND_CLOSE, CONTINUOUSLY]
    animationTypeenum. Can be [NONE, FADE, SLIDER, ZOOM_IN, ZOOM_OUT, BOUNCE]
    backgroundColorstring
    customPositionAxisXstring
    customPositionAxisYstring
    displayImageConfigurationenum. Can be [DISPLAY_ALL_DEVICES, DISPLAY_ONLY_DESKTOP, DISPLAY_ONLY_TABLET, DISPLAY_ONLY_MOBILE, DISPLAY_DESKTOP_TABLET, DISPLAY_DESKTOP_MOBILE, DISPLAY_TABLET_MOBILE]
    fontSizestring
    heightstring
    heightImageDesktopstring
    heightImageMobilestring
    heightImageTabletstring
    htmlContentstring
    idTarget2Sellstring
    imageImage
    imageDesktopImage
    imageMobileImage
    imageTabletImage
    namestring
    positionenum. Can be [TOP, BOTTOM, LEFT, RIGHT, CENTER, TOP_LEFT, TOP_RIGHT, BOTTOM_LEFT, BOTTOM_RIGHT, CUSTOM]
    redirectURLstring
    shiftContentboolean
    shouldScrollToboolean
    targetBlankboolean
    templateboolean
    textColorstring
    textContentstring
    typeenum. Can be [SINGLE_IMAGE, FULL_IMAGE_TEXT, FULL_TEXT_IMAGE, HTML, TARGET2SELL]
    widthstring
    widthImageDesktopstring
    widthImageMobilestring
    widthImageTabletstring

    ImageInPage
    NameTypeDescription
    domElementSelectorstring
    heightstring
    htmlContentstring
    imageImage
    mainPageUrlstring
    positionDefinitionenum. Can be [EDITOR, SELECTOR]
    positionSelectorRelativeenum. Can be [REPLACE, BEFORE, AFTER]
    redirectURLstring
    widthstring

    EmailAction
    NameTypeDescription
    customDataIndexinteger
    customSolutionNamestring
    emailContentSolutionenum. Can be [CUSTOM_TEMPLATE, HTML_CODE, NONE]
    emailSolutionenum. Can be [CUSTOM, MANDRILL, MAILJET, MAILUP, SMARTFOCUS, MAILPERFORMANCE, EMARSYS, EXPERTSENDER, NONE, CUSTOM_INTEGRATIONS]
    emailTagsstring
    emailTemplateIdstring
    fetchingMethodenum. Can be [CUSTOM_DATA, SCRIPT, NONE]
    fetchingScriptstring
    goalCancellingIdlong
    headerEmailSubjectstring
    headerReplyEmailstring
    headerSenderEmailstring
    headerSenderNamestring
    htmlContentstring
    neverCancelSendingboolean
    randomTagIdstring
    secondsDelayToSendlong
    sendAtOnceboolean
    solutionKeystring
    solutionSecretstring
    solutionUrlstring

    CountDownBanner
    NameTypeDescription
    backgroundColorstring
    contentTypeenum. Can be [TEXT, HTML]
    customPositionAxisXstring
    customPositionAxisYstring
    dayOfMonthinteger
    displayPluginConfigurationenum. Can be [DISPLAY_ALL_DEVICES, DISPLAY_ONLY_DESKTOP, DISPLAY_ONLY_TABLET, DISPLAY_ONLY_MOBILE, DISPLAY_DESKTOP_TABLET, DISPLAY_DESKTOP_MOBILE, DISPLAY_TABLET_MOBILE]
    domElementSelectorstring
    heightstring
    horizontalAlignmentTypeenum. Can be [LEFT, CENTER, RIGHT]
    hourOfDayinteger
    htmlContentstring
    mainPageUrlstring
    minuteinteger
    monthinteger
    personalizationPluginLocationenum. Can be [INSIDE_PAGES, ABOVE_PAGES]
    positionenum. Can be [TOP, BOTTOM, LEFT, RIGHT, CENTER, TOP_LEFT, TOP_RIGHT, BOTTOM_LEFT, BOTTOM_RIGHT, CUSTOM]
    positionDefinitionenum. Can be [EDITOR, SELECTOR]
    positionSelectorRelativeenum. Can be [REPLACE, BEFORE, AFTER]
    redirectURLstring
    secondinteger
    textColorstring
    textContentstring
    verticalAlignmentTypeenum. Can be [TOP, CENTER, BOTTOM]
    widthstring
    yearinteger

    GoogleForm
    NameTypeDescription
    closeWithClickOnOverlayboolean
    customPositionAxisXstring
    customPositionAxisYstring
    displayPluginConfigurationenum. Can be [DISPLAY_ALL_DEVICES, DISPLAY_ONLY_DESKTOP, DISPLAY_ONLY_TABLET, DISPLAY_ONLY_MOBILE, DISPLAY_DESKTOP_TABLET, DISPLAY_DESKTOP_MOBILE, DISPLAY_TABLET_MOBILE]
    domElementSelectorstring
    googleFormURLstring
    heightstring
    mainPageUrlstring
    personalizationPluginLocationenum. Can be [INSIDE_PAGES, ABOVE_PAGES]
    positionenum. Can be [TOP, BOTTOM, LEFT, RIGHT, CENTER, TOP_LEFT, TOP_RIGHT, BOTTOM_LEFT, BOTTOM_RIGHT, CUSTOM]
    positionDefinitionenum. Can be [EDITOR, SELECTOR]
    positionSelectorRelativeenum. Can be [REPLACE, BEFORE, AFTER]
    widthstring
    withOverlayboolean

    CookieInfoBanner
    NameTypeDescription
    customPositionAxisXstring
    customPositionAxisYstring
    displayPluginConfigurationenum. Can be [DISPLAY_ALL_DEVICES, DISPLAY_ONLY_DESKTOP, DISPLAY_ONLY_TABLET, DISPLAY_ONLY_MOBILE, DISPLAY_DESKTOP_TABLET, DISPLAY_DESKTOP_MOBILE, DISPLAY_TABLET_MOBILE]
    heightstring
    messagestring
    personalizationPluginLocationenum. Can be [INSIDE_PAGES, ABOVE_PAGES]
    positionenum. Can be [TOP, BOTTOM, LEFT, RIGHT, CENTER, TOP_LEFT, TOP_RIGHT, BOTTOM_LEFT, BOTTOM_RIGHT, CUSTOM]
    redirectTextstring
    redirectURLstring
    widthstring

    SocialBar
    NameTypeDescription
    customPositionAxisXstring
    customPositionAxisYstring
    displayPluginConfigurationenum. Can be [DISPLAY_ALL_DEVICES, DISPLAY_ONLY_DESKTOP, DISPLAY_ONLY_TABLET, DISPLAY_ONLY_MOBILE, DISPLAY_DESKTOP_TABLET, DISPLAY_DESKTOP_MOBILE, DISPLAY_TABLET_MOBILE]
    domElementSelectorstring
    heightstring
    mainPageUrlstring
    marginBottomstring
    marginLeftstring
    marginRightstring
    marginTopstring
    orientationenum. Can be [HORIZONTAL, VERTICAL]
    personalizationPluginLocationenum. Can be [INSIDE_PAGES, ABOVE_PAGES]
    positionenum. Can be [TOP, BOTTOM, LEFT, RIGHT, CENTER, TOP_LEFT, TOP_RIGHT, BOTTOM_LEFT, BOTTOM_RIGHT, CUSTOM]
    positionDefinitionenum. Can be [EDITOR, SELECTOR]
    positionSelectorRelativeenum. Can be [REPLACE, BEFORE, AFTER]
    urlToSharestring
    urlTypeenum. Can be [CURRENT, FIXED]
    widthstring

    PopInVideo
    NameTypeDescription
    addBackgroundboolean
    autoPlayboolean
    autoSizeboolean
    closePopinboolean
    customPositionAxisXstring
    customPositionAxisYstring
    displayPluginConfigurationenum. Can be [DISPLAY_ALL_DEVICES, DISPLAY_ONLY_DESKTOP, DISPLAY_ONLY_TABLET, DISPLAY_ONLY_MOBILE, DISPLAY_DESKTOP_TABLET, DISPLAY_DESKTOP_MOBILE, DISPLAY_TABLET_MOBILE]
    heightstring
    personalizationPluginLocationenum. Can be [INSIDE_PAGES, ABOVE_PAGES]
    positionenum. Can be [TOP, BOTTOM, LEFT, RIGHT, CENTER, TOP_LEFT, TOP_RIGHT, BOTTOM_LEFT, BOTTOM_RIGHT, CUSTOM]
    urlstring
    widthstring

    AdBlock
    NameTypeDescription
    actionTypeenum. Can be [SHOW_MESSAGE, BLOCK_NAVIGATION, TRACK_ACTION]
    backgroundColorstring
    blockNavigationTypeenum. Can be [ALL, OPAQUE, REDIRECT]
    closeWithClickOnOverlayboolean
    customPositionAxisXstring
    customPositionAxisYstring
    displayPluginConfigurationenum. Can be [DISPLAY_ALL_DEVICES, DISPLAY_ONLY_DESKTOP, DISPLAY_ONLY_TABLET, DISPLAY_ONLY_MOBILE, DISPLAY_DESKTOP_TABLET, DISPLAY_DESKTOP_MOBILE, DISPLAY_TABLET_MOBILE]
    domElementSelectorstring
    fontSizestring
    goalNamestring
    heightstring
    horizontalAlignmentTypeenum. Can be [LEFT, CENTER, RIGHT]
    imageImage
    imageTypeenum. Can be [NONE, DEFAULT, CUSTOM]
    mainPageUrlstring
    messageContentstring
    messageTitlestring
    personalizationPluginLocationenum. Can be [INSIDE_PAGES, ABOVE_PAGES]
    positionenum. Can be [TOP, BOTTOM, LEFT, RIGHT, CENTER, TOP_LEFT, TOP_RIGHT, BOTTOM_LEFT, BOTTOM_RIGHT, CUSTOM]
    positionDefinitionenum. Can be [EDITOR, SELECTOR]
    positionSelectorRelativeenum. Can be [REPLACE, BEFORE, AFTER]
    redirectURLstring
    shiftContentboolean
    shouldScrollToboolean
    showMessageboolean
    textColorstring
    trackActionboolean
    typeenum. Can be [POPIN, STICKY_BLOCK]
    verticalAlignmentTypeenum. Can be [TOP, CENTER, BOTTOM]
    widthstring
    withOverlayboolean

    VisitsCounter
    NameTypeDescription
    counterFormatenum. Can be [FRENCH, ENGLISH, GERMAN, FRENCH_ABBREVIATED, ENGLISH_ABBREVIATED, GERMAN_ABBREVIATED]
    counterFromDatedatetime
    counterFromTypeenum. Can be [DAY, WEEK, DAYS_15, PRECISE_DATE]
    customPositionAxisXstring
    customPositionAxisYstring
    descriptionTextstring
    displayPluginConfigurationenum. Can be [DISPLAY_ALL_DEVICES, DISPLAY_ONLY_DESKTOP, DISPLAY_ONLY_TABLET, DISPLAY_ONLY_MOBILE, DISPLAY_DESKTOP_TABLET, DISPLAY_DESKTOP_MOBILE, DISPLAY_TABLET_MOBILE]
    heightstring
    minimumVisitslong
    personalizationPluginLocationenum. Can be [INSIDE_PAGES, ABOVE_PAGES]
    positionenum. Can be [TOP, BOTTOM, LEFT, RIGHT, CENTER, TOP_LEFT, TOP_RIGHT, BOTTOM_LEFT, BOTTOM_RIGHT, CUSTOM]
    widthstring

    NewsLetter
    NameTypeDescription
    backgroundColorstring
    backgroundImageImage
    confirmationTextstring
    customPositionAxisXstring
    customPositionAxisYstring
    displayPluginConfigurationenum. Can be [DISPLAY_ALL_DEVICES, DISPLAY_ONLY_DESKTOP, DISPLAY_ONLY_TABLET, DISPLAY_ONLY_MOBILE, DISPLAY_DESKTOP_TABLET, DISPLAY_DESKTOP_MOBILE, DISPLAY_TABLET_MOBILE]
    emailKeystring
    heightstring
    legalNoticeUrlstring
    outsideCloseboolean
    overlayEnabledboolean
    pageUrlstring
    personalizationPluginLocationenum. Can be [INSIDE_PAGES, ABOVE_PAGES]
    positionenum. Can be [TOP, BOTTOM, LEFT, RIGHT, CENTER, TOP_LEFT, TOP_RIGHT, BOTTOM_LEFT, BOTTOM_RIGHT, CUSTOM]
    requestTypeenum. Can be [GET, POST]
    timerCloseinteger
    titleEnabledboolean
    typeenum. Can be [FORM, SERVICE]
    urlstring
    widthstring

    TrackingTool
    NameTypeDescription
    adobeOmnitureObjectstring
    comScoreCustomerIdstring
    comScoreDomainstring
    customVariableinteger
    eulerianUserCentricParameterstring
    googleAnalyticsTrackerstring
    heatMapPageWidthinteger
    reportingScriptstring
    typeenum. Can be [GOOGLE_ANALYTICS, UNIVERSAL_ANALYTICS, ECONDA, AT_INTERNET, SMART_TAG, ADOBE_OMNITURE, EULERIAN, WEBTRENDS, HEATMAP, KISS_METRICS, PIWIK, CRAZY_EGG, COM_SCORE, TEALIUM, YSANCE, M_PATHY, MANDRILL, MAILPERFORMANCE, SMARTFOCUS, MAILJET, MAILUP, EMARSYS, EXPERT_SENDER, TAG_COMMANDER, GOOGLE_TAG_MANAGER, CONTENT_SQUARE, WEBTREKK, CUSTOM_INTEGRATION, HEAP, SEGMENT, MIXPANEL, KAMELEOON_TRACKING, CUSTOM_TRACKING]
    universalAnalyticsDimensioninteger

    Create new personalization

    Example request

    curl -X POST \
      -H "Authorization: Bearer qwerty123456789" \
      -H "Content-Type: application/json" -d @- \
      "https://api.kameleoon.com/personalizations"
    {
      "iadvize" : {
        "customPositionAxisX" : "string",
        "customPositionAxisY" : "string",
        "displayPluginConfiguration" : "DISPLAY_ALL_DEVICES",
        "height" : "string",
        "iAdvizeIdentifier" : "string",
        "iadvizeIdentifier" : "string",
        "personalizationPluginLocation" : "INSIDE_PAGES",
        "platformType" : "STANDARD",
        "position" : "TOP",
        "width" : "string"
      },
      "id" : "123456789",
      "name" : "string",
      "siteId" : "123456789",
      "variationId" : "123456789",
      "status" : "string",
      "dateStatusModified" : "2020-10-22T10:28:55.643955",
      "targetingSegmentId" : "123456789",
      "mainGoalId" : "123456789",
      "goals" : [ "[]" ],
      "customExpositionRate" : "132.987",
      "globalCappingNumberVisitors" : "false",
      "globalCappingVisitorsConfig" : "NUMBER_VISITORS",
      "globalCappingGoalId" : "123456789",
      "visitExpositionFrequency" : "1234",
      "visitorExpositionFrequency" : "1234",
      "expositionFrequencyDelay" : "123456789",
      "multiExpositionFrequencyDelay" : "123456789",
      "cappingPerVisitorExpositions" : "false",
      "visitorExpositionFrequencyMax" : "1234",
      "cappingPerVisitorExposedVisits" : "false",
      "exposedVisitsSameVisitorMax" : "1234",
      "cappingPerVisitorConvertGoal" : "false",
      "cappingPerVisitorGoalId" : "123456789",
      "maxNumberVisitorsExposed" : "123456789",
      "checkConditionsRule" : "ALL_CONDITIONS",
      "priority" : "1234",
      "popIn" : {
        "animationDirection" : "TOP",
        "animationTrigger" : "ON_OPEN",
        "animationType" : "NONE",
        "backgroundColor" : "string",
        "closeWithClickOnOverlay" : "false",
        "customPositionAxisX" : "string",
        "customPositionAxisY" : "string",
        "displayImageConfiguration" : "DISPLAY_ALL_DEVICES",
        "fontSize" : "string",
        "height" : "string",
        "heightImageDesktop" : "string",
        "heightImageMobile" : "string",
        "heightImageTablet" : "string",
        "htmlContent" : "string",
        "idTarget2Sell" : "string",
        "image" : {
          "baseColor" : "1234",
          "colorDepth" : "1234",
          "date" : "2020-10-22T10:28:55.643955",
          "fileName" : "string",
          "fileWeight" : "123456789",
          "format" : "PNG",
          "height" : "1234",
          "keywords" : [ "[]" ],
          "name" : "string",
          "shared" : "false",
          "siteId" : "123456789",
          "source" : "string",
          "width" : "1234"
        },
        "imageDesktop" : {
          "baseColor" : "1234",
          "colorDepth" : "1234",
          "date" : "2020-10-22T10:28:55.643955",
          "fileName" : "string",
          "fileWeight" : "123456789",
          "format" : "PNG",
          "height" : "1234",
          "keywords" : [ "[]" ],
          "name" : "string",
          "shared" : "false",
          "siteId" : "123456789",
          "source" : "string",
          "width" : "1234"
        },
        "imageMobile" : {
          "baseColor" : "1234",
          "colorDepth" : "1234",
          "date" : "2020-10-22T10:28:55.643955",
          "fileName" : "string",
          "fileWeight" : "123456789",
          "format" : "PNG",
          "height" : "1234",
          "keywords" : [ "[]" ],
          "name" : "string",
          "shared" : "false",
          "siteId" : "123456789",
          "source" : "string",
          "width" : "1234"
        },
        "imageTablet" : {
          "baseColor" : "1234",
          "colorDepth" : "1234",
          "date" : "2020-10-22T10:28:55.643955",
          "fileName" : "string",
          "fileWeight" : "123456789",
          "format" : "PNG",
          "height" : "1234",
          "keywords" : [ "[]" ],
          "name" : "string",
          "shared" : "false",
          "siteId" : "123456789",
          "source" : "string",
          "width" : "1234"
        },
        "name" : "string",
        "position" : "TOP",
        "redirectURL" : "string",
        "targetBlank" : "false",
        "template" : "false",
        "textColor" : "string",
        "textContent" : "string",
        "type" : "SINGLE_IMAGE",
        "width" : "string",
        "widthImageDesktop" : "string",
        "widthImageMobile" : "string",
        "widthImageTablet" : "string",
        "withOverlay" : "false"
      },
      "stickyBlock" : {
        "animationDirection" : "TOP",
        "animationTrigger" : "ON_OPEN",
        "animationType" : "NONE",
        "backgroundColor" : "string",
        "customPositionAxisX" : "string",
        "customPositionAxisY" : "string",
        "displayImageConfiguration" : "DISPLAY_ALL_DEVICES",
        "fontSize" : "string",
        "height" : "string",
        "heightImageDesktop" : "string",
        "heightImageMobile" : "string",
        "heightImageTablet" : "string",
        "htmlContent" : "string",
        "idTarget2Sell" : "string",
        "image" : {
          "baseColor" : "1234",
          "colorDepth" : "1234",
          "date" : "2020-10-22T10:28:55.643955",
          "fileName" : "string",
          "fileWeight" : "123456789",
          "format" : "PNG",
          "height" : "1234",
          "keywords" : [ "[]" ],
          "name" : "string",
          "shared" : "false",
          "siteId" : "123456789",
          "source" : "string",
          "width" : "1234"
        },
        "imageDesktop" : {
          "baseColor" : "1234",
          "colorDepth" : "1234",
          "date" : "2020-10-22T10:28:55.643955",
          "fileName" : "string",
          "fileWeight" : "123456789",
          "format" : "PNG",
          "height" : "1234",
          "keywords" : [ "[]" ],
          "name" : "string",
          "shared" : "false",
          "siteId" : "123456789",
          "source" : "string",
          "width" : "1234"
        },
        "imageMobile" : {
          "baseColor" : "1234",
          "colorDepth" : "1234",
          "date" : "2020-10-22T10:28:55.643955",
          "fileName" : "string",
          "fileWeight" : "123456789",
          "format" : "PNG",
          "height" : "1234",
          "keywords" : [ "[]" ],
          "name" : "string",
          "shared" : "false",
          "siteId" : "123456789",
          "source" : "string",
          "width" : "1234"
        },
        "imageTablet" : {
          "baseColor" : "1234",
          "colorDepth" : "1234",
          "date" : "2020-10-22T10:28:55.643955",
          "fileName" : "string",
          "fileWeight" : "123456789",
          "format" : "PNG",
          "height" : "1234",
          "keywords" : [ "[]" ],
          "name" : "string",
          "shared" : "false",
          "siteId" : "123456789",
          "source" : "string",
          "width" : "1234"
        },
        "name" : "string",
        "position" : "TOP",
        "redirectURL" : "string",
        "shiftContent" : "false",
        "shouldScrollTo" : "false",
        "targetBlank" : "false",
        "template" : "false",
        "textColor" : "string",
        "textContent" : "string",
        "type" : "SINGLE_IMAGE",
        "width" : "string",
        "widthImageDesktop" : "string",
        "widthImageMobile" : "string",
        "widthImageTablet" : "string"
      },
      "imageInPage" : {
        "domElementSelector" : "string",
        "height" : "string",
        "htmlContent" : "string",
        "image" : {
          "baseColor" : "1234",
          "colorDepth" : "1234",
          "date" : "2020-10-22T10:28:55.643955",
          "fileName" : "string",
          "fileWeight" : "123456789",
          "format" : "PNG",
          "height" : "1234",
          "keywords" : [ "[]" ],
          "name" : "string",
          "shared" : "false",
          "siteId" : "123456789",
          "source" : "string",
          "width" : "1234"
        },
        "mainPageUrl" : "string",
        "positionDefinition" : "EDITOR",
        "positionSelectorRelative" : "REPLACE",
        "redirectURL" : "string",
        "width" : "string"
      },
      "emailAction" : {
        "customDataIndex" : "1234",
        "customSolutionName" : "string",
        "emailContentSolution" : "CUSTOM_TEMPLATE",
        "emailSolution" : "CUSTOM",
        "emailTags" : "string",
        "emailTemplateId" : "string",
        "fetchingMethod" : "CUSTOM_DATA",
        "fetchingScript" : "string",
        "goalCancellingId" : "123456789",
        "headerEmailSubject" : "string",
        "headerReplyEmail" : "string",
        "headerSenderEmail" : "string",
        "headerSenderName" : "string",
        "htmlContent" : "string",
        "neverCancelSending" : "false",
        "randomTagId" : "string",
        "secondsDelayToSend" : "123456789",
        "sendAtOnce" : "false",
        "solutionKey" : "string",
        "solutionSecret" : "string",
        "solutionUrl" : "string"
      },
      "countDownBanner" : {
        "backgroundColor" : "string",
        "contentType" : "TEXT",
        "customPositionAxisX" : "string",
        "customPositionAxisY" : "string",
        "dayOfMonth" : "1234",
        "displayPluginConfiguration" : "DISPLAY_ALL_DEVICES",
        "domElementSelector" : "string",
        "height" : "string",
        "horizontalAlignmentType" : "LEFT",
        "hourOfDay" : "1234",
        "htmlContent" : "string",
        "mainPageUrl" : "string",
        "minute" : "1234",
        "month" : "1234",
        "personalizationPluginLocation" : "INSIDE_PAGES",
        "position" : "TOP",
        "positionDefinition" : "EDITOR",
        "positionSelectorRelative" : "REPLACE",
        "redirectURL" : "string",
        "second" : "1234",
        "textColor" : "string",
        "textContent" : "string",
        "verticalAlignmentType" : "TOP",
        "width" : "string",
        "year" : "1234"
      },
      "googleForm" : {
        "closeWithClickOnOverlay" : "false",
        "customPositionAxisX" : "string",
        "customPositionAxisY" : "string",
        "displayPluginConfiguration" : "DISPLAY_ALL_DEVICES",
        "domElementSelector" : "string",
        "googleFormURL" : "string",
        "height" : "string",
        "mainPageUrl" : "string",
        "personalizationPluginLocation" : "INSIDE_PAGES",
        "position" : "TOP",
        "positionDefinition" : "EDITOR",
        "positionSelectorRelative" : "REPLACE",
        "width" : "string",
        "withOverlay" : "false"
      },
      "cookieInfoBanner" : {
        "customPositionAxisX" : "string",
        "customPositionAxisY" : "string",
        "displayPluginConfiguration" : "DISPLAY_ALL_DEVICES",
        "height" : "string",
        "message" : "string",
        "personalizationPluginLocation" : "INSIDE_PAGES",
        "position" : "TOP",
        "redirectText" : "string",
        "redirectURL" : "string",
        "width" : "string"
      },
      "iAdvize" : {
        "customPositionAxisX" : "string",
        "customPositionAxisY" : "string",
        "displayPluginConfiguration" : "DISPLAY_ALL_DEVICES",
        "height" : "string",
        "iAdvizeIdentifier" : "string",
        "iadvizeIdentifier" : "string",
        "personalizationPluginLocation" : "INSIDE_PAGES",
        "platformType" : "STANDARD",
        "position" : "TOP",
        "width" : "string"
      },
      "socialBar" : {
        "customPositionAxisX" : "string",
        "customPositionAxisY" : "string",
        "displayPluginConfiguration" : "DISPLAY_ALL_DEVICES",
        "domElementSelector" : "string",
        "height" : "string",
        "mainPageUrl" : "string",
        "marginBottom" : "string",
        "marginLeft" : "string",
        "marginRight" : "string",
        "marginTop" : "string",
        "orientation" : "HORIZONTAL",
        "personalizationPluginLocation" : "INSIDE_PAGES",
        "position" : "TOP",
        "positionDefinition" : "EDITOR",
        "positionSelectorRelative" : "REPLACE",
        "urlToShare" : "string",
        "urlType" : "CURRENT",
        "width" : "string"
      },
      "popInVideo" : {
        "addBackground" : "false",
        "autoPlay" : "false",
        "autoSize" : "false",
        "closePopin" : "false",
        "customPositionAxisX" : "string",
        "customPositionAxisY" : "string",
        "displayPluginConfiguration" : "DISPLAY_ALL_DEVICES",
        "height" : "string",
        "personalizationPluginLocation" : "INSIDE_PAGES",
        "position" : "TOP",
        "url" : "string",
        "width" : "string"
      },
      "adBlock" : {
        "actionType" : "SHOW_MESSAGE",
        "backgroundColor" : "string",
        "blockNavigationType" : "ALL",
        "closeWithClickOnOverlay" : "false",
        "customPositionAxisX" : "string",
        "customPositionAxisY" : "string",
        "displayPluginConfiguration" : "DISPLAY_ALL_DEVICES",
        "domElementSelector" : "string",
        "fontSize" : "string",
        "goalName" : "string",
        "height" : "string",
        "horizontalAlignmentType" : "LEFT",
        "image" : {
          "baseColor" : "1234",
          "colorDepth" : "1234",
          "date" : "2020-10-22T10:28:55.643955",
          "fileName" : "string",
          "fileWeight" : "123456789",
          "format" : "PNG",
          "height" : "1234",
          "keywords" : [ "[]" ],
          "name" : "string",
          "shared" : "false",
          "siteId" : "123456789",
          "source" : "string",
          "width" : "1234"
        },
        "imageType" : "NONE",
        "mainPageUrl" : "string",
        "messageContent" : "string",
        "messageTitle" : "string",
        "personalizationPluginLocation" : "INSIDE_PAGES",
        "position" : "TOP",
        "positionDefinition" : "EDITOR",
        "positionSelectorRelative" : "REPLACE",
        "redirectURL" : "string",
        "shiftContent" : "false",
        "shouldScrollTo" : "false",
        "showMessage" : "false",
        "textColor" : "string",
        "trackAction" : "false",
        "type" : "POPIN",
        "verticalAlignmentType" : "TOP",
        "width" : "string",
        "withOverlay" : "false"
      },
      "visitsCounter" : {
        "counterFormat" : "FRENCH",
        "counterFromDate" : "2020-10-22T10:28:55.643955",
        "counterFromType" : "DAY",
        "customPositionAxisX" : "string",
        "customPositionAxisY" : "string",
        "descriptionText" : "string",
        "displayPluginConfiguration" : "DISPLAY_ALL_DEVICES",
        "height" : "string",
        "minimumVisits" : "123456789",
        "personalizationPluginLocation" : "INSIDE_PAGES",
        "position" : "TOP",
        "width" : "string"
      },
      "newsLetter" : {
        "backgroundColor" : "string",
        "backgroundImage" : {
          "baseColor" : "1234",
          "colorDepth" : "1234",
          "date" : "2020-10-22T10:28:55.643955",
          "fileName" : "string",
          "fileWeight" : "123456789",
          "format" : "PNG",
          "height" : "1234",
          "keywords" : [ "[]" ],
          "name" : "string",
          "shared" : "false",
          "siteId" : "123456789",
          "source" : "string",
          "width" : "1234"
        },
        "confirmationText" : "string",
        "customPositionAxisX" : "string",
        "customPositionAxisY" : "string",
        "displayPluginConfiguration" : "DISPLAY_ALL_DEVICES",
        "emailKey" : "string",
        "height" : "string",
        "legalNoticeUrl" : "string",
        "outsideClose" : "false",
        "overlayEnabled" : "false",
        "pageUrl" : "string",
        "personalizationPluginLocation" : "INSIDE_PAGES",
        "position" : "TOP",
        "requestType" : "GET",
        "timerClose" : "1234",
        "titleEnabled" : "false",
        "type" : "FORM",
        "url" : "string",
        "width" : "string"
      },
      "trackingTools" : [ {
        "adobeOmnitureObject" : "string",
        "comScoreCustomerId" : "string",
        "comScoreDomain" : "string",
        "customVariable" : "1234",
        "eulerianUserCentricParameter" : "string",
        "googleAnalyticsTracker" : "string",
        "heatMapPageWidth" : "1234",
        "reportingScript" : "string",
        "type" : "GOOGLE_ANALYTICS",
        "universalAnalyticsDimension" : "1234"
      } ],
      "tags" : [ "[]" ],
      "dateCreated" : "2020-10-22T10:28:55.643955",
      "dateStarted" : "2020-10-22T10:28:55.643955",
      "description" : "string",
      "isArchived" : "false",
      "dateModified" : "2020-10-22T10:28:55.643955",
      "type" : "CLASSIC",
      "createdBy" : "123456789"
    }
    

    POST /personalizations

    Create new personalization with given parameters

    Request body

    Personalization
    NameTypeDescription
    iadvizeIAdvize
    id
    *read only
    longThis field is generated by the system to uniquely identify a personalization
    name
    *required
    stringThe name of the personalization
    siteId
    *required
    longThe website id that a personalization belongs to
    variationIdlongThe variation id of the given personalization
    status
    *read only
    stringThe status of the given personalization
    dateStatusModified
    *read only
    datetimeLast moment when status was updated
    targetingSegmentId
    *read only
    longSelected targeting segment
    mainGoalId
    *read only
    longMain goal
    goals
    *read only
    arraySelected goals
    customExpositionRate
    *read only
    doubleThe segment percentage exposed to personalization
    globalCappingNumberVisitors
    *read only
    booleanThis option allows you to set the capping configuration
    globalCappingVisitorsConfig
    *read only
    enumThe visitors configuration for threshold of total number of exposed visitors. Can be [NUMBER_VISITORS, NUMBER_VISITORS_CONVERT_GOAL, NUMBER_VISITORS_NOT_CONVERT_GOAL]
    globalCappingGoalId
    *read only
    longThe goal for threshold of total number of exposed visitors
    visitExpositionFrequency
    *read only
    integerExposition frequency during a unique visit
    visitorExpositionFrequency
    *read only
    integerExposition frequency during a unique visitor
    expositionFrequencyDelay
    *read only
    longPeriod of time of exposition frequency during different visitors
    multiExpositionFrequencyDelay
    *read only
    longMinimum delay between each exposition
    cappingPerVisitorExpositions
    *read only
    booleanIf true stop exposing a same visitor when the total number of expositions exceeds this threshold
    visitorExpositionFrequencyMax
    *read only
    integerStop exposing a same visitor when the total number of expositions exceeds this threshold
    cappingPerVisitorExposedVisits
    *read only
    booleanIf true stop exposing a same visitor when the number of visits exceeds this threshold
    exposedVisitsSameVisitorMax
    *read only
    integerStop exposing a same visitor when the number of visits exceeds this threshold
    cappingPerVisitorConvertGoal
    *read only
    booleanIf true stop exposing a same visitor when the goal is completed
    cappingPerVisitorGoalId
    *read only
    longStop exposing a same visitor when the goal with given id is completed
    maxNumberVisitorsExposed
    *read only
    longThreshold of the total number of exposed visitors
    checkConditionsRule
    *read only
    enumThe behavior of Kameleoon to determine if a visitor is targeted or not. Can be [ALL_CONDITIONS, CUMULATIVE_WEIGHT]
    priority
    *read only
    integerThe priority of the personalization
    popIn
    *read only
    PopInPop-In settings
    stickyBlock
    *read only
    StickyBlockSticky block settings
    imageInPage
    *read only
    ImageInPageSettings of an image in page
    emailAction
    *read only
    EmailActionSettings of an email
    countDownBanner
    *read only
    CountDownBannerSettings of a countdown banner widget
    googleForm
    *read only
    GoogleFormSettings of a Google form widget
    cookieInfoBanner
    *read only
    CookieInfoBannerSettings of a cookie banner widget
    iAdvize
    *read only
    IAdvizeSettings of an iAdvize chat widget
    socialBar
    *read only
    SocialBarSettings of a social sharing bar widget
    popInVideo
    *read only
    PopInVideoSettings of a video pop-in widget
    adBlock
    *read only
    AdBlockSettings of an Adblocker widget
    visitsCounter
    *read only
    VisitsCounterSettings of a visits counter widget
    newsLetter
    *read only
    NewsLetterSettings of a newsletter subscription form widget
    trackingToolsarray[TrackingTool]List of tracking tools
    tagsarrayList of tags
    dateCreated
    *read only
    datetimeDate and time when personalization was created
    dateStarted
    *read only
    datetimeDate and time when personalization was started
    descriptionstringThis is description of personalization
    isArchivedbooleanIf true the personalization is archived
    dateModified
    *read only
    datetimeDate and time when personalization was updated last time
    typeenumType of personalization. Can be [CLASSIC, AUTOPROMO, IA, MAIL]
    createdBy
    *read only
    longAccount id to whom created this personalization

    IAdvize
    NameTypeDescription
    customPositionAxisXstring
    customPositionAxisYstring
    displayPluginConfigurationenum. Can be [DISPLAY_ALL_DEVICES, DISPLAY_ONLY_DESKTOP, DISPLAY_ONLY_TABLET, DISPLAY_ONLY_MOBILE, DISPLAY_DESKTOP_TABLET, DISPLAY_DESKTOP_MOBILE, DISPLAY_TABLET_MOBILE]
    heightstring
    iAdvizeIdentifierstring
    iadvizeIdentifierstring
    personalizationPluginLocationenum. Can be [INSIDE_PAGES, ABOVE_PAGES]
    platformTypeenum. Can be [STANDARD, HIGH_AVAILABILITY]
    positionenum. Can be [TOP, BOTTOM, LEFT, RIGHT, CENTER, TOP_LEFT, TOP_RIGHT, BOTTOM_LEFT, BOTTOM_RIGHT, CUSTOM]
    widthstring

    PopIn
    NameTypeDescription
    animationDirectionenum. Can be [TOP, BOTTOM, LEFT, RIGHT, CENTER, TOP_LEFT, TOP_RIGHT, BOTTOM_LEFT, BOTTOM_RIGHT, CUSTOM]
    animationTriggerenum. Can be [ON_OPEN, ON_CLOSE, ON_OPEN_AND_CLOSE, CONTINUOUSLY]
    animationTypeenum. Can be [NONE, FADE, SLIDER, ZOOM_IN, ZOOM_OUT, BOUNCE]
    backgroundColorstring
    closeWithClickOnOverlayboolean
    customPositionAxisXstring
    customPositionAxisYstring
    displayImageConfigurationenum. Can be [DISPLAY_ALL_DEVICES, DISPLAY_ONLY_DESKTOP, DISPLAY_ONLY_TABLET, DISPLAY_ONLY_MOBILE, DISPLAY_DESKTOP_TABLET, DISPLAY_DESKTOP_MOBILE, DISPLAY_TABLET_MOBILE]
    fontSizestring
    heightstring
    heightImageDesktopstring
    heightImageMobilestring
    heightImageTabletstring
    htmlContentstring
    idTarget2Sellstring
    imageImage
    imageDesktopImage
    imageMobileImage
    imageTabletImage
    namestring
    positionenum. Can be [TOP, BOTTOM, LEFT, RIGHT, CENTER, TOP_LEFT, TOP_RIGHT, BOTTOM_LEFT, BOTTOM_RIGHT, CUSTOM]
    redirectURLstring
    targetBlankboolean
    templateboolean
    textColorstring
    textContentstring
    typeenum. Can be [SINGLE_IMAGE, FULL_IMAGE_TEXT, FULL_TEXT_IMAGE, HTML, TARGET2SELL]
    widthstring
    widthImageDesktopstring
    widthImageMobilestring
    widthImageTabletstring
    withOverlayboolean

    Image
    NameTypeDescription
    baseColorinteger
    colorDepthinteger
    datedatetime
    fileNamestring
    fileWeightlong
    formatenum. Can be [PNG, JPEG, GIF]
    heightinteger
    keywordsarray
    namestring
    sharedboolean
    siteIdlong
    sourcestring
    widthinteger

    StickyBlock
    NameTypeDescription
    animationDirectionenum. Can be [TOP, BOTTOM, LEFT, RIGHT, CENTER, TOP_LEFT, TOP_RIGHT, BOTTOM_LEFT, BOTTOM_RIGHT, CUSTOM]
    animationTriggerenum. Can be [ON_OPEN, ON_CLOSE, ON_OPEN_AND_CLOSE, CONTINUOUSLY]
    animationTypeenum. Can be [NONE, FADE, SLIDER, ZOOM_IN, ZOOM_OUT, BOUNCE]
    backgroundColorstring
    customPositionAxisXstring
    customPositionAxisYstring
    displayImageConfigurationenum. Can be [DISPLAY_ALL_DEVICES, DISPLAY_ONLY_DESKTOP, DISPLAY_ONLY_TABLET, DISPLAY_ONLY_MOBILE, DISPLAY_DESKTOP_TABLET, DISPLAY_DESKTOP_MOBILE, DISPLAY_TABLET_MOBILE]
    fontSizestring
    heightstring
    heightImageDesktopstring
    heightImageMobilestring
    heightImageTabletstring
    htmlContentstring
    idTarget2Sellstring
    imageImage
    imageDesktopImage
    imageMobileImage
    imageTabletImage
    namestring
    positionenum. Can be [TOP, BOTTOM, LEFT, RIGHT, CENTER, TOP_LEFT, TOP_RIGHT, BOTTOM_LEFT, BOTTOM_RIGHT, CUSTOM]
    redirectURLstring
    shiftContentboolean
    shouldScrollToboolean
    targetBlankboolean
    templateboolean
    textColorstring
    textContentstring
    typeenum. Can be [SINGLE_IMAGE, FULL_IMAGE_TEXT, FULL_TEXT_IMAGE, HTML, TARGET2SELL]
    widthstring
    widthImageDesktopstring
    widthImageMobilestring
    widthImageTabletstring

    ImageInPage
    NameTypeDescription
    domElementSelectorstring
    heightstring
    htmlContentstring
    imageImage
    mainPageUrlstring
    positionDefinitionenum. Can be [EDITOR, SELECTOR]
    positionSelectorRelativeenum. Can be [REPLACE, BEFORE, AFTER]
    redirectURLstring
    widthstring

    EmailAction
    NameTypeDescription
    customDataIndexinteger
    customSolutionNamestring
    emailContentSolutionenum. Can be [CUSTOM_TEMPLATE, HTML_CODE, NONE]
    emailSolutionenum. Can be [CUSTOM, MANDRILL, MAILJET, MAILUP, SMARTFOCUS, MAILPERFORMANCE, EMARSYS, EXPERTSENDER, NONE, CUSTOM_INTEGRATIONS]
    emailTagsstring
    emailTemplateIdstring
    fetchingMethodenum. Can be [CUSTOM_DATA, SCRIPT, NONE]
    fetchingScriptstring
    goalCancellingIdlong
    headerEmailSubjectstring
    headerReplyEmailstring
    headerSenderEmailstring
    headerSenderNamestring
    htmlContentstring
    neverCancelSendingboolean
    randomTagIdstring
    secondsDelayToSendlong
    sendAtOnceboolean
    solutionKeystring
    solutionSecretstring
    solutionUrlstring

    CountDownBanner
    NameTypeDescription
    backgroundColorstring
    contentTypeenum. Can be [TEXT, HTML]
    customPositionAxisXstring
    customPositionAxisYstring
    dayOfMonthinteger
    displayPluginConfigurationenum. Can be [DISPLAY_ALL_DEVICES, DISPLAY_ONLY_DESKTOP, DISPLAY_ONLY_TABLET, DISPLAY_ONLY_MOBILE, DISPLAY_DESKTOP_TABLET, DISPLAY_DESKTOP_MOBILE, DISPLAY_TABLET_MOBILE]
    domElementSelectorstring
    heightstring
    horizontalAlignmentTypeenum. Can be [LEFT, CENTER, RIGHT]
    hourOfDayinteger
    htmlContentstring
    mainPageUrlstring
    minuteinteger
    monthinteger
    personalizationPluginLocationenum. Can be [INSIDE_PAGES, ABOVE_PAGES]
    positionenum. Can be [TOP, BOTTOM, LEFT, RIGHT, CENTER, TOP_LEFT, TOP_RIGHT, BOTTOM_LEFT, BOTTOM_RIGHT, CUSTOM]
    positionDefinitionenum. Can be [EDITOR, SELECTOR]
    positionSelectorRelativeenum. Can be [REPLACE, BEFORE, AFTER]
    redirectURLstring
    secondinteger
    textColorstring
    textContentstring
    verticalAlignmentTypeenum. Can be [TOP, CENTER, BOTTOM]
    widthstring
    yearinteger

    GoogleForm
    NameTypeDescription
    closeWithClickOnOverlayboolean
    customPositionAxisXstring
    customPositionAxisYstring
    displayPluginConfigurationenum. Can be [DISPLAY_ALL_DEVICES, DISPLAY_ONLY_DESKTOP, DISPLAY_ONLY_TABLET, DISPLAY_ONLY_MOBILE, DISPLAY_DESKTOP_TABLET, DISPLAY_DESKTOP_MOBILE, DISPLAY_TABLET_MOBILE]
    domElementSelectorstring
    googleFormURLstring
    heightstring
    mainPageUrlstring
    personalizationPluginLocationenum. Can be [INSIDE_PAGES, ABOVE_PAGES]
    positionenum. Can be [TOP, BOTTOM, LEFT, RIGHT, CENTER, TOP_LEFT, TOP_RIGHT, BOTTOM_LEFT, BOTTOM_RIGHT, CUSTOM]
    positionDefinitionenum. Can be [EDITOR, SELECTOR]
    positionSelectorRelativeenum. Can be [REPLACE, BEFORE, AFTER]
    widthstring
    withOverlayboolean

    CookieInfoBanner
    NameTypeDescription
    customPositionAxisXstring
    customPositionAxisYstring
    displayPluginConfigurationenum. Can be [DISPLAY_ALL_DEVICES, DISPLAY_ONLY_DESKTOP, DISPLAY_ONLY_TABLET, DISPLAY_ONLY_MOBILE, DISPLAY_DESKTOP_TABLET, DISPLAY_DESKTOP_MOBILE, DISPLAY_TABLET_MOBILE]
    heightstring
    messagestring
    personalizationPluginLocationenum. Can be [INSIDE_PAGES, ABOVE_PAGES]
    positionenum. Can be [TOP, BOTTOM, LEFT, RIGHT, CENTER, TOP_LEFT, TOP_RIGHT, BOTTOM_LEFT, BOTTOM_RIGHT, CUSTOM]
    redirectTextstring
    redirectURLstring
    widthstring

    SocialBar
    NameTypeDescription
    customPositionAxisXstring
    customPositionAxisYstring
    displayPluginConfigurationenum. Can be [DISPLAY_ALL_DEVICES, DISPLAY_ONLY_DESKTOP, DISPLAY_ONLY_TABLET, DISPLAY_ONLY_MOBILE, DISPLAY_DESKTOP_TABLET, DISPLAY_DESKTOP_MOBILE, DISPLAY_TABLET_MOBILE]
    domElementSelectorstring
    heightstring
    mainPageUrlstring
    marginBottomstring
    marginLeftstring
    marginRightstring
    marginTopstring
    orientationenum. Can be [HORIZONTAL, VERTICAL]
    personalizationPluginLocationenum. Can be [INSIDE_PAGES, ABOVE_PAGES]
    positionenum. Can be [TOP, BOTTOM, LEFT, RIGHT, CENTER, TOP_LEFT, TOP_RIGHT, BOTTOM_LEFT, BOTTOM_RIGHT, CUSTOM]
    positionDefinitionenum. Can be [EDITOR, SELECTOR]
    positionSelectorRelativeenum. Can be [REPLACE, BEFORE, AFTER]
    urlToSharestring
    urlTypeenum. Can be [CURRENT, FIXED]
    widthstring

    PopInVideo
    NameTypeDescription
    addBackgroundboolean
    autoPlayboolean
    autoSizeboolean
    closePopinboolean
    customPositionAxisXstring
    customPositionAxisYstring
    displayPluginConfigurationenum. Can be [DISPLAY_ALL_DEVICES, DISPLAY_ONLY_DESKTOP, DISPLAY_ONLY_TABLET, DISPLAY_ONLY_MOBILE, DISPLAY_DESKTOP_TABLET, DISPLAY_DESKTOP_MOBILE, DISPLAY_TABLET_MOBILE]
    heightstring
    personalizationPluginLocationenum. Can be [INSIDE_PAGES, ABOVE_PAGES]
    positionenum. Can be [TOP, BOTTOM, LEFT, RIGHT, CENTER, TOP_LEFT, TOP_RIGHT, BOTTOM_LEFT, BOTTOM_RIGHT, CUSTOM]
    urlstring
    widthstring

    AdBlock
    NameTypeDescription
    actionTypeenum. Can be [SHOW_MESSAGE, BLOCK_NAVIGATION, TRACK_ACTION]
    backgroundColorstring
    blockNavigationTypeenum. Can be [ALL, OPAQUE, REDIRECT]
    closeWithClickOnOverlayboolean
    customPositionAxisXstring
    customPositionAxisYstring
    displayPluginConfigurationenum. Can be [DISPLAY_ALL_DEVICES, DISPLAY_ONLY_DESKTOP, DISPLAY_ONLY_TABLET, DISPLAY_ONLY_MOBILE, DISPLAY_DESKTOP_TABLET, DISPLAY_DESKTOP_MOBILE, DISPLAY_TABLET_MOBILE]
    domElementSelectorstring
    fontSizestring
    goalNamestring
    heightstring
    horizontalAlignmentTypeenum. Can be [LEFT, CENTER, RIGHT]
    imageImage
    imageTypeenum. Can be [NONE, DEFAULT, CUSTOM]
    mainPageUrlstring
    messageContentstring
    messageTitlestring
    personalizationPluginLocationenum. Can be [INSIDE_PAGES, ABOVE_PAGES]
    positionenum. Can be [TOP, BOTTOM, LEFT, RIGHT, CENTER, TOP_LEFT, TOP_RIGHT, BOTTOM_LEFT, BOTTOM_RIGHT, CUSTOM]
    positionDefinitionenum. Can be [EDITOR, SELECTOR]
    positionSelectorRelativeenum. Can be [REPLACE, BEFORE, AFTER]
    redirectURLstring
    shiftContentboolean
    shouldScrollToboolean
    showMessageboolean
    textColorstring
    trackActionboolean
    typeenum. Can be [POPIN, STICKY_BLOCK]
    verticalAlignmentTypeenum. Can be [TOP, CENTER, BOTTOM]
    widthstring
    withOverlayboolean

    VisitsCounter
    NameTypeDescription
    counterFormatenum. Can be [FRENCH, ENGLISH, GERMAN, FRENCH_ABBREVIATED, ENGLISH_ABBREVIATED, GERMAN_ABBREVIATED]
    counterFromDatedatetime
    counterFromTypeenum. Can be [DAY, WEEK, DAYS_15, PRECISE_DATE]
    customPositionAxisXstring
    customPositionAxisYstring
    descriptionTextstring
    displayPluginConfigurationenum. Can be [DISPLAY_ALL_DEVICES, DISPLAY_ONLY_DESKTOP, DISPLAY_ONLY_TABLET, DISPLAY_ONLY_MOBILE, DISPLAY_DESKTOP_TABLET, DISPLAY_DESKTOP_MOBILE, DISPLAY_TABLET_MOBILE]
    heightstring
    minimumVisitslong
    personalizationPluginLocationenum. Can be [INSIDE_PAGES, ABOVE_PAGES]
    positionenum. Can be [TOP, BOTTOM, LEFT, RIGHT, CENTER, TOP_LEFT, TOP_RIGHT, BOTTOM_LEFT, BOTTOM_RIGHT, CUSTOM]
    widthstring

    NewsLetter
    NameTypeDescription
    backgroundColorstring
    backgroundImageImage
    confirmationTextstring
    customPositionAxisXstring
    customPositionAxisYstring
    displayPluginConfigurationenum. Can be [DISPLAY_ALL_DEVICES, DISPLAY_ONLY_DESKTOP, DISPLAY_ONLY_TABLET, DISPLAY_ONLY_MOBILE, DISPLAY_DESKTOP_TABLET, DISPLAY_DESKTOP_MOBILE, DISPLAY_TABLET_MOBILE]
    emailKeystring
    heightstring
    legalNoticeUrlstring
    outsideCloseboolean
    overlayEnabledboolean
    pageUrlstring
    personalizationPluginLocationenum. Can be [INSIDE_PAGES, ABOVE_PAGES]
    positionenum. Can be [TOP, BOTTOM, LEFT, RIGHT, CENTER, TOP_LEFT, TOP_RIGHT, BOTTOM_LEFT, BOTTOM_RIGHT, CUSTOM]
    requestTypeenum. Can be [GET, POST]
    timerCloseinteger
    titleEnabledboolean
    typeenum. Can be [FORM, SERVICE]
    urlstring
    widthstring

    TrackingTool
    NameTypeDescription
    adobeOmnitureObjectstring
    comScoreCustomerIdstring
    comScoreDomainstring
    customVariableinteger
    eulerianUserCentricParameterstring
    googleAnalyticsTrackerstring
    heatMapPageWidthinteger
    reportingScriptstring
    typeenum. Can be [GOOGLE_ANALYTICS, UNIVERSAL_ANALYTICS, ECONDA, AT_INTERNET, SMART_TAG, ADOBE_OMNITURE, EULERIAN, WEBTRENDS, HEATMAP, KISS_METRICS, PIWIK, CRAZY_EGG, COM_SCORE, TEALIUM, YSANCE, M_PATHY, MANDRILL, MAILPERFORMANCE, SMARTFOCUS, MAILJET, MAILUP, EMARSYS, EXPERT_SENDER, TAG_COMMANDER, GOOGLE_TAG_MANAGER, CONTENT_SQUARE, WEBTREKK, CUSTOM_INTEGRATION, HEAP, SEGMENT, MIXPANEL, KAMELEOON_TRACKING, CUSTOM_TRACKING]
    universalAnalyticsDimensioninteger

    Example response

    {
      "iadvize" : {
        "customPositionAxisX" : "string",
        "customPositionAxisY" : "string",
        "displayPluginConfiguration" : "DISPLAY_ALL_DEVICES",
        "height" : "string",
        "iAdvizeIdentifier" : "string",
        "iadvizeIdentifier" : "string",
        "personalizationPluginLocation" : "INSIDE_PAGES",
        "platformType" : "STANDARD",
        "position" : "TOP",
        "width" : "string"
      },
      "id" : "123456789",
      "name" : "string",
      "siteId" : "123456789",
      "variationId" : "123456789",
      "status" : "string",
      "dateStatusModified" : "2020-10-22T10:28:55.643955",
      "targetingSegmentId" : "123456789",
      "mainGoalId" : "123456789",
      "goals" : [ "[]" ],
      "customExpositionRate" : "132.987",
      "globalCappingNumberVisitors" : "false",
      "globalCappingVisitorsConfig" : "NUMBER_VISITORS",
      "globalCappingGoalId" : "123456789",
      "visitExpositionFrequency" : "1234",
      "visitorExpositionFrequency" : "1234",
      "expositionFrequencyDelay" : "123456789",
      "multiExpositionFrequencyDelay" : "123456789",
      "cappingPerVisitorExpositions" : "false",
      "visitorExpositionFrequencyMax" : "1234",
      "cappingPerVisitorExposedVisits" : "false",
      "exposedVisitsSameVisitorMax" : "1234",
      "cappingPerVisitorConvertGoal" : "false",
      "cappingPerVisitorGoalId" : "123456789",
      "maxNumberVisitorsExposed" : "123456789",
      "checkConditionsRule" : "ALL_CONDITIONS",
      "priority" : "1234",
      "popIn" : {
        "animationDirection" : "TOP",
        "animationTrigger" : "ON_OPEN",
        "animationType" : "NONE",
        "backgroundColor" : "string",
        "closeWithClickOnOverlay" : "false",
        "customPositionAxisX" : "string",
        "customPositionAxisY" : "string",
        "displayImageConfiguration" : "DISPLAY_ALL_DEVICES",
        "fontSize" : "string",
        "height" : "string",
        "heightImageDesktop" : "string",
        "heightImageMobile" : "string",
        "heightImageTablet" : "string",
        "htmlContent" : "string",
        "idTarget2Sell" : "string",
        "image" : {
          "baseColor" : "1234",
          "colorDepth" : "1234",
          "date" : "2020-10-22T10:28:55.643955",
          "fileName" : "string",
          "fileWeight" : "123456789",
          "format" : "PNG",
          "height" : "1234",
          "keywords" : [ "[]" ],
          "name" : "string",
          "shared" : "false",
          "siteId" : "123456789",
          "source" : "string",
          "width" : "1234"
        },
        "imageDesktop" : {
          "baseColor" : "1234",
          "colorDepth" : "1234",
          "date" : "2020-10-22T10:28:55.643955",
          "fileName" : "string",
          "fileWeight" : "123456789",
          "format" : "PNG",
          "height" : "1234",
          "keywords" : [ "[]" ],
          "name" : "string",
          "shared" : "false",
          "siteId" : "123456789",
          "source" : "string",
          "width" : "1234"
        },
        "imageMobile" : {
          "baseColor" : "1234",
          "colorDepth" : "1234",
          "date" : "2020-10-22T10:28:55.643955",
          "fileName" : "string",
          "fileWeight" : "123456789",
          "format" : "PNG",
          "height" : "1234",
          "keywords" : [ "[]" ],
          "name" : "string",
          "shared" : "false",
          "siteId" : "123456789",
          "source" : "string",
          "width" : "1234"
        },
        "imageTablet" : {
          "baseColor" : "1234",
          "colorDepth" : "1234",
          "date" : "2020-10-22T10:28:55.643955",
          "fileName" : "string",
          "fileWeight" : "123456789",
          "format" : "PNG",
          "height" : "1234",
          "keywords" : [ "[]" ],
          "name" : "string",
          "shared" : "false",
          "siteId" : "123456789",
          "source" : "string",
          "width" : "1234"
        },
        "name" : "string",
        "position" : "TOP",
        "redirectURL" : "string",
        "targetBlank" : "false",
        "template" : "false",
        "textColor" : "string",
        "textContent" : "string",
        "type" : "SINGLE_IMAGE",
        "width" : "string",
        "widthImageDesktop" : "string",
        "widthImageMobile" : "string",
        "widthImageTablet" : "string",
        "withOverlay" : "false"
      },
      "stickyBlock" : {
        "animationDirection" : "TOP",
        "animationTrigger" : "ON_OPEN",
        "animationType" : "NONE",
        "backgroundColor" : "string",
        "customPositionAxisX" : "string",
        "customPositionAxisY" : "string",
        "displayImageConfiguration" : "DISPLAY_ALL_DEVICES",
        "fontSize" : "string",
        "height" : "string",
        "heightImageDesktop" : "string",
        "heightImageMobile" : "string",
        "heightImageTablet" : "string",
        "htmlContent" : "string",
        "idTarget2Sell" : "string",
        "image" : {
          "baseColor" : "1234",
          "colorDepth" : "1234",
          "date" : "2020-10-22T10:28:55.643955",
          "fileName" : "string",
          "fileWeight" : "123456789",
          "format" : "PNG",
          "height" : "1234",
          "keywords" : [ "[]" ],
          "name" : "string",
          "shared" : "false",
          "siteId" : "123456789",
          "source" : "string",
          "width" : "1234"
        },
        "imageDesktop" : {
          "baseColor" : "1234",
          "colorDepth" : "1234",
          "date" : "2020-10-22T10:28:55.643955",
          "fileName" : "string",
          "fileWeight" : "123456789",
          "format" : "PNG",
          "height" : "1234",
          "keywords" : [ "[]" ],
          "name" : "string",
          "shared" : "false",
          "siteId" : "123456789",
          "source" : "string",
          "width" : "1234"
        },
        "imageMobile" : {
          "baseColor" : "1234",
          "colorDepth" : "1234",
          "date" : "2020-10-22T10:28:55.643955",
          "fileName" : "string",
          "fileWeight" : "123456789",
          "format" : "PNG",
          "height" : "1234",
          "keywords" : [ "[]" ],
          "name" : "string",
          "shared" : "false",
          "siteId" : "123456789",
          "source" : "string",
          "width" : "1234"
        },
        "imageTablet" : {
          "baseColor" : "1234",
          "colorDepth" : "1234",
          "date" : "2020-10-22T10:28:55.643955",
          "fileName" : "string",
          "fileWeight" : "123456789",
          "format" : "PNG",
          "height" : "1234",
          "keywords" : [ "[]" ],
          "name" : "string",
          "shared" : "false",
          "siteId" : "123456789",
          "source" : "string",
          "width" : "1234"
        },
        "name" : "string",
        "position" : "TOP",
        "redirectURL" : "string",
        "shiftContent" : "false",
        "shouldScrollTo" : "false",
        "targetBlank" : "false",
        "template" : "false",
        "textColor" : "string",
        "textContent" : "string",
        "type" : "SINGLE_IMAGE",
        "width" : "string",
        "widthImageDesktop" : "string",
        "widthImageMobile" : "string",
        "widthImageTablet" : "string"
      },
      "imageInPage" : {
        "domElementSelector" : "string",
        "height" : "string",
        "htmlContent" : "string",
        "image" : {
          "baseColor" : "1234",
          "colorDepth" : "1234",
          "date" : "2020-10-22T10:28:55.643955",
          "fileName" : "string",
          "fileWeight" : "123456789",
          "format" : "PNG",
          "height" : "1234",
          "keywords" : [ "[]" ],
          "name" : "string",
          "shared" : "false",
          "siteId" : "123456789",
          "source" : "string",
          "width" : "1234"
        },
        "mainPageUrl" : "string",
        "positionDefinition" : "EDITOR",
        "positionSelectorRelative" : "REPLACE",
        "redirectURL" : "string",
        "width" : "string"
      },
      "emailAction" : {
        "customDataIndex" : "1234",
        "customSolutionName" : "string",
        "emailContentSolution" : "CUSTOM_TEMPLATE",
        "emailSolution" : "CUSTOM",
        "emailTags" : "string",
        "emailTemplateId" : "string",
        "fetchingMethod" : "CUSTOM_DATA",
        "fetchingScript" : "string",
        "goalCancellingId" : "123456789",
        "headerEmailSubject" : "string",
        "headerReplyEmail" : "string",
        "headerSenderEmail" : "string",
        "headerSenderName" : "string",
        "htmlContent" : "string",
        "neverCancelSending" : "false",
        "randomTagId" : "string",
        "secondsDelayToSend" : "123456789",
        "sendAtOnce" : "false",
        "solutionKey" : "string",
        "solutionSecret" : "string",
        "solutionUrl" : "string"
      },
      "countDownBanner" : {
        "backgroundColor" : "string",
        "contentType" : "TEXT",
        "customPositionAxisX" : "string",
        "customPositionAxisY" : "string",
        "dayOfMonth" : "1234",
        "displayPluginConfiguration" : "DISPLAY_ALL_DEVICES",
        "domElementSelector" : "string",
        "height" : "string",
        "horizontalAlignmentType" : "LEFT",
        "hourOfDay" : "1234",
        "htmlContent" : "string",
        "mainPageUrl" : "string",
        "minute" : "1234",
        "month" : "1234",
        "personalizationPluginLocation" : "INSIDE_PAGES",
        "position" : "TOP",
        "positionDefinition" : "EDITOR",
        "positionSelectorRelative" : "REPLACE",
        "redirectURL" : "string",
        "second" : "1234",
        "textColor" : "string",
        "textContent" : "string",
        "verticalAlignmentType" : "TOP",
        "width" : "string",
        "year" : "1234"
      },
      "googleForm" : {
        "closeWithClickOnOverlay" : "false",
        "customPositionAxisX" : "string",
        "customPositionAxisY" : "string",
        "displayPluginConfiguration" : "DISPLAY_ALL_DEVICES",
        "domElementSelector" : "string",
        "googleFormURL" : "string",
        "height" : "string",
        "mainPageUrl" : "string",
        "personalizationPluginLocation" : "INSIDE_PAGES",
        "position" : "TOP",
        "positionDefinition" : "EDITOR",
        "positionSelectorRelative" : "REPLACE",
        "width" : "string",
        "withOverlay" : "false"
      },
      "cookieInfoBanner" : {
        "customPositionAxisX" : "string",
        "customPositionAxisY" : "string",
        "displayPluginConfiguration" : "DISPLAY_ALL_DEVICES",
        "height" : "string",
        "message" : "string",
        "personalizationPluginLocation" : "INSIDE_PAGES",
        "position" : "TOP",
        "redirectText" : "string",
        "redirectURL" : "string",
        "width" : "string"
      },
      "iAdvize" : {
        "customPositionAxisX" : "string",
        "customPositionAxisY" : "string",
        "displayPluginConfiguration" : "DISPLAY_ALL_DEVICES",
        "height" : "string",
        "iAdvizeIdentifier" : "string",
        "iadvizeIdentifier" : "string",
        "personalizationPluginLocation" : "INSIDE_PAGES",
        "platformType" : "STANDARD",
        "position" : "TOP",
        "width" : "string"
      },
      "socialBar" : {
        "customPositionAxisX" : "string",
        "customPositionAxisY" : "string",
        "displayPluginConfiguration" : "DISPLAY_ALL_DEVICES",
        "domElementSelector" : "string",
        "height" : "string",
        "mainPageUrl" : "string",
        "marginBottom" : "string",
        "marginLeft" : "string",
        "marginRight" : "string",
        "marginTop" : "string",
        "orientation" : "HORIZONTAL",
        "personalizationPluginLocation" : "INSIDE_PAGES",
        "position" : "TOP",
        "positionDefinition" : "EDITOR",
        "positionSelectorRelative" : "REPLACE",
        "urlToShare" : "string",
        "urlType" : "CURRENT",
        "width" : "string"
      },
      "popInVideo" : {
        "addBackground" : "false",
        "autoPlay" : "false",
        "autoSize" : "false",
        "closePopin" : "false",
        "customPositionAxisX" : "string",
        "customPositionAxisY" : "string",
        "displayPluginConfiguration" : "DISPLAY_ALL_DEVICES",
        "height" : "string",
        "personalizationPluginLocation" : "INSIDE_PAGES",
        "position" : "TOP",
        "url" : "string",
        "width" : "string"
      },
      "adBlock" : {
        "actionType" : "SHOW_MESSAGE",
        "backgroundColor" : "string",
        "blockNavigationType" : "ALL",
        "closeWithClickOnOverlay" : "false",
        "customPositionAxisX" : "string",
        "customPositionAxisY" : "string",
        "displayPluginConfiguration" : "DISPLAY_ALL_DEVICES",
        "domElementSelector" : "string",
        "fontSize" : "string",
        "goalName" : "string",
        "height" : "string",
        "horizontalAlignmentType" : "LEFT",
        "image" : {
          "baseColor" : "1234",
          "colorDepth" : "1234",
          "date" : "2020-10-22T10:28:55.643955",
          "fileName" : "string",
          "fileWeight" : "123456789",
          "format" : "PNG",
          "height" : "1234",
          "keywords" : [ "[]" ],
          "name" : "string",
          "shared" : "false",
          "siteId" : "123456789",
          "source" : "string",
          "width" : "1234"
        },
        "imageType" : "NONE",
        "mainPageUrl" : "string",
        "messageContent" : "string",
        "messageTitle" : "string",
        "personalizationPluginLocation" : "INSIDE_PAGES",
        "position" : "TOP",
        "positionDefinition" : "EDITOR",
        "positionSelectorRelative" : "REPLACE",
        "redirectURL" : "string",
        "shiftContent" : "false",
        "shouldScrollTo" : "false",
        "showMessage" : "false",
        "textColor" : "string",
        "trackAction" : "false",
        "type" : "POPIN",
        "verticalAlignmentType" : "TOP",
        "width" : "string",
        "withOverlay" : "false"
      },
      "visitsCounter" : {
        "counterFormat" : "FRENCH",
        "counterFromDate" : "2020-10-22T10:28:55.643955",
        "counterFromType" : "DAY",
        "customPositionAxisX" : "string",
        "customPositionAxisY" : "string",
        "descriptionText" : "string",
        "displayPluginConfiguration" : "DISPLAY_ALL_DEVICES",
        "height" : "string",
        "minimumVisits" : "123456789",
        "personalizationPluginLocation" : "INSIDE_PAGES",
        "position" : "TOP",
        "width" : "string"
      },
      "newsLetter" : {
        "backgroundColor" : "string",
        "backgroundImage" : {
          "baseColor" : "1234",
          "colorDepth" : "1234",
          "date" : "2020-10-22T10:28:55.643955",
          "fileName" : "string",
          "fileWeight" : "123456789",
          "format" : "PNG",
          "height" : "1234",
          "keywords" : [ "[]" ],
          "name" : "string",
          "shared" : "false",
          "siteId" : "123456789",
          "source" : "string",
          "width" : "1234"
        },
        "confirmationText" : "string",
        "customPositionAxisX" : "string",
        "customPositionAxisY" : "string",
        "displayPluginConfiguration" : "DISPLAY_ALL_DEVICES",
        "emailKey" : "string",
        "height" : "string",
        "legalNoticeUrl" : "string",
        "outsideClose" : "false",
        "overlayEnabled" : "false",
        "pageUrl" : "string",
        "personalizationPluginLocation" : "INSIDE_PAGES",
        "position" : "TOP",
        "requestType" : "GET",
        "timerClose" : "1234",
        "titleEnabled" : "false",
        "type" : "FORM",
        "url" : "string",
        "width" : "string"
      },
      "trackingTools" : [ {
        "adobeOmnitureObject" : "string",
        "comScoreCustomerId" : "string",
        "comScoreDomain" : "string",
        "customVariable" : "1234",
        "eulerianUserCentricParameter" : "string",
        "googleAnalyticsTracker" : "string",
        "heatMapPageWidth" : "1234",
        "reportingScript" : "string",
        "type" : "GOOGLE_ANALYTICS",
        "universalAnalyticsDimension" : "1234"
      } ],
      "tags" : [ "[]" ],
      "dateCreated" : "2020-10-22T10:28:55.643955",
      "dateStarted" : "2020-10-22T10:28:55.643955",
      "description" : "string",
      "isArchived" : "false",
      "dateModified" : "2020-10-22T10:28:55.643955",
      "type" : "CLASSIC",
      "createdBy" : "123456789"
    }
    
    Response body

    Personalization
    NameTypeDescription
    iadvizeIAdvize
    idlongThis field is generated by the system to uniquely identify a personalization
    namestringThe name of the personalization
    siteIdlongThe website id that a personalization belongs to
    variationIdlongThe variation id of the given personalization
    statusstringThe status of the given personalization
    dateStatusModifieddatetimeLast moment when status was updated
    targetingSegmentIdlongSelected targeting segment
    mainGoalIdlongMain goal
    goalsarraySelected goals
    customExpositionRatedoubleThe segment percentage exposed to personalization
    globalCappingNumberVisitorsbooleanThis option allows you to set the capping configuration
    globalCappingVisitorsConfigenumThe visitors configuration for threshold of total number of exposed visitors. Can be [NUMBER_VISITORS, NUMBER_VISITORS_CONVERT_GOAL, NUMBER_VISITORS_NOT_CONVERT_GOAL]
    globalCappingGoalIdlongThe goal for threshold of total number of exposed visitors
    visitExpositionFrequencyintegerExposition frequency during a unique visit
    visitorExpositionFrequencyintegerExposition frequency during a unique visitor
    expositionFrequencyDelaylongPeriod of time of exposition frequency during different visitors
    multiExpositionFrequencyDelaylongMinimum delay between each exposition
    cappingPerVisitorExpositionsbooleanIf true stop exposing a same visitor when the total number of expositions exceeds this threshold
    visitorExpositionFrequencyMaxintegerStop exposing a same visitor when the total number of expositions exceeds this threshold
    cappingPerVisitorExposedVisitsbooleanIf true stop exposing a same visitor when the number of visits exceeds this threshold
    exposedVisitsSameVisitorMaxintegerStop exposing a same visitor when the number of visits exceeds this threshold
    cappingPerVisitorConvertGoalbooleanIf true stop exposing a same visitor when the goal is completed
    cappingPerVisitorGoalIdlongStop exposing a same visitor when the goal with given id is completed
    maxNumberVisitorsExposedlongThreshold of the total number of exposed visitors
    checkConditionsRuleenumThe behavior of Kameleoon to determine if a visitor is targeted or not. Can be [ALL_CONDITIONS, CUMULATIVE_WEIGHT]
    priorityintegerThe priority of the personalization
    popInPopInPop-In settings
    stickyBlockStickyBlockSticky block settings
    imageInPageImageInPageSettings of an image in page
    emailActionEmailActionSettings of an email
    countDownBannerCountDownBannerSettings of a countdown banner widget
    googleFormGoogleFormSettings of a Google form widget
    cookieInfoBannerCookieInfoBannerSettings of a cookie banner widget
    iAdvizeIAdvizeSettings of an iAdvize chat widget
    socialBarSocialBarSettings of a social sharing bar widget
    popInVideoPopInVideoSettings of a video pop-in widget
    adBlockAdBlockSettings of an Adblocker widget
    visitsCounterVisitsCounterSettings of a visits counter widget
    newsLetterNewsLetterSettings of a newsletter subscription form widget
    trackingToolsarray[TrackingTool]List of tracking tools
    tagsarrayList of tags
    dateCreateddatetimeDate and time when personalization was created
    dateStarteddatetimeDate and time when personalization was started
    descriptionstringThis is description of personalization
    isArchivedbooleanIf true the personalization is archived
    dateModifieddatetimeDate and time when personalization was updated last time
    typeenumType of personalization. Can be [CLASSIC, AUTOPROMO, IA, MAIL]
    createdBylongAccount id to whom created this personalization

    IAdvize
    NameTypeDescription
    customPositionAxisXstring
    customPositionAxisYstring
    displayPluginConfigurationenum. Can be [DISPLAY_ALL_DEVICES, DISPLAY_ONLY_DESKTOP, DISPLAY_ONLY_TABLET, DISPLAY_ONLY_MOBILE, DISPLAY_DESKTOP_TABLET, DISPLAY_DESKTOP_MOBILE, DISPLAY_TABLET_MOBILE]
    heightstring
    iAdvizeIdentifierstring
    iadvizeIdentifierstring
    personalizationPluginLocationenum. Can be [INSIDE_PAGES, ABOVE_PAGES]
    platformTypeenum. Can be [STANDARD, HIGH_AVAILABILITY]
    positionenum. Can be [TOP, BOTTOM, LEFT, RIGHT, CENTER, TOP_LEFT, TOP_RIGHT, BOTTOM_LEFT, BOTTOM_RIGHT, CUSTOM]
    widthstring

    PopIn
    NameTypeDescription
    animationDirectionenum. Can be [TOP, BOTTOM, LEFT, RIGHT, CENTER, TOP_LEFT, TOP_RIGHT, BOTTOM_LEFT, BOTTOM_RIGHT, CUSTOM]
    animationTriggerenum. Can be [ON_OPEN, ON_CLOSE, ON_OPEN_AND_CLOSE, CONTINUOUSLY]
    animationTypeenum. Can be [NONE, FADE, SLIDER, ZOOM_IN, ZOOM_OUT, BOUNCE]
    backgroundColorstring
    closeWithClickOnOverlayboolean
    customPositionAxisXstring
    customPositionAxisYstring
    displayImageConfigurationenum. Can be [DISPLAY_ALL_DEVICES, DISPLAY_ONLY_DESKTOP, DISPLAY_ONLY_TABLET, DISPLAY_ONLY_MOBILE, DISPLAY_DESKTOP_TABLET, DISPLAY_DESKTOP_MOBILE, DISPLAY_TABLET_MOBILE]
    fontSizestring
    heightstring
    heightImageDesktopstring
    heightImageMobilestring
    heightImageTabletstring
    htmlContentstring
    idTarget2Sellstring
    imageImage
    imageDesktopImage
    imageMobileImage
    imageTabletImage
    namestring
    positionenum. Can be [TOP, BOTTOM, LEFT, RIGHT, CENTER, TOP_LEFT, TOP_RIGHT, BOTTOM_LEFT, BOTTOM_RIGHT, CUSTOM]
    redirectURLstring
    targetBlankboolean
    templateboolean
    textColorstring
    textContentstring
    typeenum. Can be [SINGLE_IMAGE, FULL_IMAGE_TEXT, FULL_TEXT_IMAGE, HTML, TARGET2SELL]
    widthstring
    widthImageDesktopstring
    widthImageMobilestring
    widthImageTabletstring
    withOverlayboolean

    Image
    NameTypeDescription
    baseColorinteger
    colorDepthinteger
    datedatetime
    fileNamestring
    fileWeightlong
    formatenum. Can be [PNG, JPEG, GIF]
    heightinteger
    keywordsarray
    namestring
    sharedboolean
    siteIdlong
    sourcestring
    widthinteger

    StickyBlock
    NameTypeDescription
    animationDirectionenum. Can be [TOP, BOTTOM, LEFT, RIGHT, CENTER, TOP_LEFT, TOP_RIGHT, BOTTOM_LEFT, BOTTOM_RIGHT, CUSTOM]
    animationTriggerenum. Can be [ON_OPEN, ON_CLOSE, ON_OPEN_AND_CLOSE, CONTINUOUSLY]
    animationTypeenum. Can be [NONE, FADE, SLIDER, ZOOM_IN, ZOOM_OUT, BOUNCE]
    backgroundColorstring
    customPositionAxisXstring
    customPositionAxisYstring
    displayImageConfigurationenum. Can be [DISPLAY_ALL_DEVICES, DISPLAY_ONLY_DESKTOP, DISPLAY_ONLY_TABLET, DISPLAY_ONLY_MOBILE, DISPLAY_DESKTOP_TABLET, DISPLAY_DESKTOP_MOBILE, DISPLAY_TABLET_MOBILE]
    fontSizestring
    heightstring
    heightImageDesktopstring
    heightImageMobilestring
    heightImageTabletstring
    htmlContentstring
    idTarget2Sellstring
    imageImage
    imageDesktopImage
    imageMobileImage
    imageTabletImage
    namestring
    positionenum. Can be [TOP, BOTTOM, LEFT, RIGHT, CENTER, TOP_LEFT, TOP_RIGHT, BOTTOM_LEFT, BOTTOM_RIGHT, CUSTOM]
    redirectURLstring
    shiftContentboolean
    shouldScrollToboolean
    targetBlankboolean
    templateboolean
    textColorstring
    textContentstring
    typeenum. Can be [SINGLE_IMAGE, FULL_IMAGE_TEXT, FULL_TEXT_IMAGE, HTML, TARGET2SELL]
    widthstring
    widthImageDesktopstring
    widthImageMobilestring
    widthImageTabletstring

    ImageInPage
    NameTypeDescription
    domElementSelectorstring
    heightstring
    htmlContentstring
    imageImage
    mainPageUrlstring
    positionDefinitionenum. Can be [EDITOR, SELECTOR]
    positionSelectorRelativeenum. Can be [REPLACE, BEFORE, AFTER]
    redirectURLstring
    widthstring

    EmailAction
    NameTypeDescription
    customDataIndexinteger
    customSolutionNamestring
    emailContentSolutionenum. Can be [CUSTOM_TEMPLATE, HTML_CODE, NONE]
    emailSolutionenum. Can be [CUSTOM, MANDRILL, MAILJET, MAILUP, SMARTFOCUS, MAILPERFORMANCE, EMARSYS, EXPERTSENDER, NONE, CUSTOM_INTEGRATIONS]
    emailTagsstring
    emailTemplateIdstring
    fetchingMethodenum. Can be [CUSTOM_DATA, SCRIPT, NONE]
    fetchingScriptstring
    goalCancellingIdlong
    headerEmailSubjectstring
    headerReplyEmailstring
    headerSenderEmailstring
    headerSenderNamestring
    htmlContentstring
    neverCancelSendingboolean
    randomTagIdstring
    secondsDelayToSendlong
    sendAtOnceboolean
    solutionKeystring
    solutionSecretstring
    solutionUrlstring

    CountDownBanner
    NameTypeDescription
    backgroundColorstring
    contentTypeenum. Can be [TEXT, HTML]
    customPositionAxisXstring
    customPositionAxisYstring
    dayOfMonthinteger
    displayPluginConfigurationenum. Can be [DISPLAY_ALL_DEVICES, DISPLAY_ONLY_DESKTOP, DISPLAY_ONLY_TABLET, DISPLAY_ONLY_MOBILE, DISPLAY_DESKTOP_TABLET, DISPLAY_DESKTOP_MOBILE, DISPLAY_TABLET_MOBILE]
    domElementSelectorstring
    heightstring
    horizontalAlignmentTypeenum. Can be [LEFT, CENTER, RIGHT]
    hourOfDayinteger
    htmlContentstring
    mainPageUrlstring
    minuteinteger
    monthinteger
    personalizationPluginLocationenum. Can be [INSIDE_PAGES, ABOVE_PAGES]
    positionenum. Can be [TOP, BOTTOM, LEFT, RIGHT, CENTER, TOP_LEFT, TOP_RIGHT, BOTTOM_LEFT, BOTTOM_RIGHT, CUSTOM]
    positionDefinitionenum. Can be [EDITOR, SELECTOR]
    positionSelectorRelativeenum. Can be [REPLACE, BEFORE, AFTER]
    redirectURLstring
    secondinteger
    textColorstring
    textContentstring
    verticalAlignmentTypeenum. Can be [TOP, CENTER, BOTTOM]
    widthstring
    yearinteger

    GoogleForm
    NameTypeDescription
    closeWithClickOnOverlayboolean
    customPositionAxisXstring
    customPositionAxisYstring
    displayPluginConfigurationenum. Can be [DISPLAY_ALL_DEVICES, DISPLAY_ONLY_DESKTOP, DISPLAY_ONLY_TABLET, DISPLAY_ONLY_MOBILE, DISPLAY_DESKTOP_TABLET, DISPLAY_DESKTOP_MOBILE, DISPLAY_TABLET_MOBILE]
    domElementSelectorstring
    googleFormURLstring
    heightstring
    mainPageUrlstring
    personalizationPluginLocationenum. Can be [INSIDE_PAGES, ABOVE_PAGES]
    positionenum. Can be [TOP, BOTTOM, LEFT, RIGHT, CENTER, TOP_LEFT, TOP_RIGHT, BOTTOM_LEFT, BOTTOM_RIGHT, CUSTOM]
    positionDefinitionenum. Can be [EDITOR, SELECTOR]
    positionSelectorRelativeenum. Can be [REPLACE, BEFORE, AFTER]
    widthstring
    withOverlayboolean

    CookieInfoBanner
    NameTypeDescription
    customPositionAxisXstring
    customPositionAxisYstring
    displayPluginConfigurationenum. Can be [DISPLAY_ALL_DEVICES, DISPLAY_ONLY_DESKTOP, DISPLAY_ONLY_TABLET, DISPLAY_ONLY_MOBILE, DISPLAY_DESKTOP_TABLET, DISPLAY_DESKTOP_MOBILE, DISPLAY_TABLET_MOBILE]
    heightstring
    messagestring
    personalizationPluginLocationenum. Can be [INSIDE_PAGES, ABOVE_PAGES]
    positionenum. Can be [TOP, BOTTOM, LEFT, RIGHT, CENTER, TOP_LEFT, TOP_RIGHT, BOTTOM_LEFT, BOTTOM_RIGHT, CUSTOM]
    redirectTextstring
    redirectURLstring
    widthstring

    SocialBar
    NameTypeDescription
    customPositionAxisXstring
    customPositionAxisYstring
    displayPluginConfigurationenum. Can be [DISPLAY_ALL_DEVICES, DISPLAY_ONLY_DESKTOP, DISPLAY_ONLY_TABLET, DISPLAY_ONLY_MOBILE, DISPLAY_DESKTOP_TABLET, DISPLAY_DESKTOP_MOBILE, DISPLAY_TABLET_MOBILE]
    domElementSelectorstring
    heightstring
    mainPageUrlstring
    marginBottomstring
    marginLeftstring
    marginRightstring
    marginTopstring
    orientationenum. Can be [HORIZONTAL, VERTICAL]
    personalizationPluginLocationenum. Can be [INSIDE_PAGES, ABOVE_PAGES]
    positionenum. Can be [TOP, BOTTOM, LEFT, RIGHT, CENTER, TOP_LEFT, TOP_RIGHT, BOTTOM_LEFT, BOTTOM_RIGHT, CUSTOM]
    positionDefinitionenum. Can be [EDITOR, SELECTOR]
    positionSelectorRelativeenum. Can be [REPLACE, BEFORE, AFTER]
    urlToSharestring
    urlTypeenum. Can be [CURRENT, FIXED]
    widthstring

    PopInVideo
    NameTypeDescription
    addBackgroundboolean
    autoPlayboolean
    autoSizeboolean
    closePopinboolean
    customPositionAxisXstring
    customPositionAxisYstring
    displayPluginConfigurationenum. Can be [DISPLAY_ALL_DEVICES, DISPLAY_ONLY_DESKTOP, DISPLAY_ONLY_TABLET, DISPLAY_ONLY_MOBILE, DISPLAY_DESKTOP_TABLET, DISPLAY_DESKTOP_MOBILE, DISPLAY_TABLET_MOBILE]
    heightstring
    personalizationPluginLocationenum. Can be [INSIDE_PAGES, ABOVE_PAGES]
    positionenum. Can be [TOP, BOTTOM, LEFT, RIGHT, CENTER, TOP_LEFT, TOP_RIGHT, BOTTOM_LEFT, BOTTOM_RIGHT, CUSTOM]
    urlstring
    widthstring

    AdBlock
    NameTypeDescription
    actionTypeenum. Can be [SHOW_MESSAGE, BLOCK_NAVIGATION, TRACK_ACTION]
    backgroundColorstring
    blockNavigationTypeenum. Can be [ALL, OPAQUE, REDIRECT]
    closeWithClickOnOverlayboolean
    customPositionAxisXstring
    customPositionAxisYstring
    displayPluginConfigurationenum. Can be [DISPLAY_ALL_DEVICES, DISPLAY_ONLY_DESKTOP, DISPLAY_ONLY_TABLET, DISPLAY_ONLY_MOBILE, DISPLAY_DESKTOP_TABLET, DISPLAY_DESKTOP_MOBILE, DISPLAY_TABLET_MOBILE]
    domElementSelectorstring
    fontSizestring
    goalNamestring
    heightstring
    horizontalAlignmentTypeenum. Can be [LEFT, CENTER, RIGHT]
    imageImage
    imageTypeenum. Can be [NONE, DEFAULT, CUSTOM]
    mainPageUrlstring
    messageContentstring
    messageTitlestring
    personalizationPluginLocationenum. Can be [INSIDE_PAGES, ABOVE_PAGES]
    positionenum. Can be [TOP, BOTTOM, LEFT, RIGHT, CENTER, TOP_LEFT, TOP_RIGHT, BOTTOM_LEFT, BOTTOM_RIGHT, CUSTOM]
    positionDefinitionenum. Can be [EDITOR, SELECTOR]
    positionSelectorRelativeenum. Can be [REPLACE, BEFORE, AFTER]
    redirectURLstring
    shiftContentboolean
    shouldScrollToboolean
    showMessageboolean
    textColorstring
    trackActionboolean
    typeenum. Can be [POPIN, STICKY_BLOCK]
    verticalAlignmentTypeenum. Can be [TOP, CENTER, BOTTOM]
    widthstring
    withOverlayboolean

    VisitsCounter
    NameTypeDescription
    counterFormatenum. Can be [FRENCH, ENGLISH, GERMAN, FRENCH_ABBREVIATED, ENGLISH_ABBREVIATED, GERMAN_ABBREVIATED]
    counterFromDatedatetime
    counterFromTypeenum. Can be [DAY, WEEK, DAYS_15, PRECISE_DATE]
    customPositionAxisXstring
    customPositionAxisYstring
    descriptionTextstring
    displayPluginConfigurationenum. Can be [DISPLAY_ALL_DEVICES, DISPLAY_ONLY_DESKTOP, DISPLAY_ONLY_TABLET, DISPLAY_ONLY_MOBILE, DISPLAY_DESKTOP_TABLET, DISPLAY_DESKTOP_MOBILE, DISPLAY_TABLET_MOBILE]
    heightstring
    minimumVisitslong
    personalizationPluginLocationenum. Can be [INSIDE_PAGES, ABOVE_PAGES]
    positionenum. Can be [TOP, BOTTOM, LEFT, RIGHT, CENTER, TOP_LEFT, TOP_RIGHT, BOTTOM_LEFT, BOTTOM_RIGHT, CUSTOM]
    widthstring

    NewsLetter
    NameTypeDescription
    backgroundColorstring
    backgroundImageImage
    confirmationTextstring
    customPositionAxisXstring
    customPositionAxisYstring
    displayPluginConfigurationenum. Can be [DISPLAY_ALL_DEVICES, DISPLAY_ONLY_DESKTOP, DISPLAY_ONLY_TABLET, DISPLAY_ONLY_MOBILE, DISPLAY_DESKTOP_TABLET, DISPLAY_DESKTOP_MOBILE, DISPLAY_TABLET_MOBILE]
    emailKeystring
    heightstring
    legalNoticeUrlstring
    outsideCloseboolean
    overlayEnabledboolean
    pageUrlstring
    personalizationPluginLocationenum. Can be [INSIDE_PAGES, ABOVE_PAGES]
    positionenum. Can be [TOP, BOTTOM, LEFT, RIGHT, CENTER, TOP_LEFT, TOP_RIGHT, BOTTOM_LEFT, BOTTOM_RIGHT, CUSTOM]
    requestTypeenum. Can be [GET, POST]
    timerCloseinteger
    titleEnabledboolean
    typeenum. Can be [FORM, SERVICE]
    urlstring
    widthstring

    TrackingTool
    NameTypeDescription
    adobeOmnitureObjectstring
    comScoreCustomerIdstring
    comScoreDomainstring
    customVariableinteger
    eulerianUserCentricParameterstring
    googleAnalyticsTrackerstring
    heatMapPageWidthinteger
    reportingScriptstring
    typeenum. Can be [GOOGLE_ANALYTICS, UNIVERSAL_ANALYTICS, ECONDA, AT_INTERNET, SMART_TAG, ADOBE_OMNITURE, EULERIAN, WEBTRENDS, HEATMAP, KISS_METRICS, PIWIK, CRAZY_EGG, COM_SCORE, TEALIUM, YSANCE, M_PATHY, MANDRILL, MAILPERFORMANCE, SMARTFOCUS, MAILJET, MAILUP, EMARSYS, EXPERT_SENDER, TAG_COMMANDER, GOOGLE_TAG_MANAGER, CONTENT_SQUARE, WEBTREKK, CUSTOM_INTEGRATION, HEAP, SEGMENT, MIXPANEL, KAMELEOON_TRACKING, CUSTOM_TRACKING]
    universalAnalyticsDimensioninteger

    Get one personalization

    Example request

    curl -H "Authorization: Bearer qwerty123456789" \
      "https://api.kameleoon.com/personalizations/{personalizationId}"
    

    GET /personalizations/{personalizationId}

    Get one personalization with given id

    Request arguments
    NamePlaceTypeDescription
    personalizationIdpathlongpersonalizationId

    Example response

    {
      "iadvize" : {
        "customPositionAxisX" : "string",
        "customPositionAxisY" : "string",
        "displayPluginConfiguration" : "DISPLAY_ALL_DEVICES",
        "height" : "string",
        "iAdvizeIdentifier" : "string",
        "iadvizeIdentifier" : "string",
        "personalizationPluginLocation" : "INSIDE_PAGES",
        "platformType" : "STANDARD",
        "position" : "TOP",
        "width" : "string"
      },
      "id" : "123456789",
      "name" : "string",
      "siteId" : "123456789",
      "variationId" : "123456789",
      "status" : "string",
      "dateStatusModified" : "2020-10-22T10:28:55.643955",
      "targetingSegmentId" : "123456789",
      "mainGoalId" : "123456789",
      "goals" : [ "[]" ],
      "customExpositionRate" : "132.987",
      "globalCappingNumberVisitors" : "false",
      "globalCappingVisitorsConfig" : "NUMBER_VISITORS",
      "globalCappingGoalId" : "123456789",
      "visitExpositionFrequency" : "1234",
      "visitorExpositionFrequency" : "1234",
      "expositionFrequencyDelay" : "123456789",
      "multiExpositionFrequencyDelay" : "123456789",
      "cappingPerVisitorExpositions" : "false",
      "visitorExpositionFrequencyMax" : "1234",
      "cappingPerVisitorExposedVisits" : "false",
      "exposedVisitsSameVisitorMax" : "1234",
      "cappingPerVisitorConvertGoal" : "false",
      "cappingPerVisitorGoalId" : "123456789",
      "maxNumberVisitorsExposed" : "123456789",
      "checkConditionsRule" : "ALL_CONDITIONS",
      "priority" : "1234",
      "popIn" : {
        "animationDirection" : "TOP",
        "animationTrigger" : "ON_OPEN",
        "animationType" : "NONE",
        "backgroundColor" : "string",
        "closeWithClickOnOverlay" : "false",
        "customPositionAxisX" : "string",
        "customPositionAxisY" : "string",
        "displayImageConfiguration" : "DISPLAY_ALL_DEVICES",
        "fontSize" : "string",
        "height" : "string",
        "heightImageDesktop" : "string",
        "heightImageMobile" : "string",
        "heightImageTablet" : "string",
        "htmlContent" : "string",
        "idTarget2Sell" : "string",
        "image" : {
          "baseColor" : "1234",
          "colorDepth" : "1234",
          "date" : "2020-10-22T10:28:55.643955",
          "fileName" : "string",
          "fileWeight" : "123456789",
          "format" : "PNG",
          "height" : "1234",
          "keywords" : [ "[]" ],
          "name" : "string",
          "shared" : "false",
          "siteId" : "123456789",
          "source" : "string",
          "width" : "1234"
        },
        "imageDesktop" : {
          "baseColor" : "1234",
          "colorDepth" : "1234",
          "date" : "2020-10-22T10:28:55.643955",
          "fileName" : "string",
          "fileWeight" : "123456789",
          "format" : "PNG",
          "height" : "1234",
          "keywords" : [ "[]" ],
          "name" : "string",
          "shared" : "false",
          "siteId" : "123456789",
          "source" : "string",
          "width" : "1234"
        },
        "imageMobile" : {
          "baseColor" : "1234",
          "colorDepth" : "1234",
          "date" : "2020-10-22T10:28:55.643955",
          "fileName" : "string",
          "fileWeight" : "123456789",
          "format" : "PNG",
          "height" : "1234",
          "keywords" : [ "[]" ],
          "name" : "string",
          "shared" : "false",
          "siteId" : "123456789",
          "source" : "string",
          "width" : "1234"
        },
        "imageTablet" : {
          "baseColor" : "1234",
          "colorDepth" : "1234",
          "date" : "2020-10-22T10:28:55.643955",
          "fileName" : "string",
          "fileWeight" : "123456789",
          "format" : "PNG",
          "height" : "1234",
          "keywords" : [ "[]" ],
          "name" : "string",
          "shared" : "false",
          "siteId" : "123456789",
          "source" : "string",
          "width" : "1234"
        },
        "name" : "string",
        "position" : "TOP",
        "redirectURL" : "string",
        "targetBlank" : "false",
        "template" : "false",
        "textColor" : "string",
        "textContent" : "string",
        "type" : "SINGLE_IMAGE",
        "width" : "string",
        "widthImageDesktop" : "string",
        "widthImageMobile" : "string",
        "widthImageTablet" : "string",
        "withOverlay" : "false"
      },
      "stickyBlock" : {
        "animationDirection" : "TOP",
        "animationTrigger" : "ON_OPEN",
        "animationType" : "NONE",
        "backgroundColor" : "string",
        "customPositionAxisX" : "string",
        "customPositionAxisY" : "string",
        "displayImageConfiguration" : "DISPLAY_ALL_DEVICES",
        "fontSize" : "string",
        "height" : "string",
        "heightImageDesktop" : "string",
        "heightImageMobile" : "string",
        "heightImageTablet" : "string",
        "htmlContent" : "string",
        "idTarget2Sell" : "string",
        "image" : {
          "baseColor" : "1234",
          "colorDepth" : "1234",
          "date" : "2020-10-22T10:28:55.643955",
          "fileName" : "string",
          "fileWeight" : "123456789",
          "format" : "PNG",
          "height" : "1234",
          "keywords" : [ "[]" ],
          "name" : "string",
          "shared" : "false",
          "siteId" : "123456789",
          "source" : "string",
          "width" : "1234"
        },
        "imageDesktop" : {
          "baseColor" : "1234",
          "colorDepth" : "1234",
          "date" : "2020-10-22T10:28:55.643955",
          "fileName" : "string",
          "fileWeight" : "123456789",
          "format" : "PNG",
          "height" : "1234",
          "keywords" : [ "[]" ],
          "name" : "string",
          "shared" : "false",
          "siteId" : "123456789",
          "source" : "string",
          "width" : "1234"
        },
        "imageMobile" : {
          "baseColor" : "1234",
          "colorDepth" : "1234",
          "date" : "2020-10-22T10:28:55.643955",
          "fileName" : "string",
          "fileWeight" : "123456789",
          "format" : "PNG",
          "height" : "1234",
          "keywords" : [ "[]" ],
          "name" : "string",
          "shared" : "false",
          "siteId" : "123456789",
          "source" : "string",
          "width" : "1234"
        },
        "imageTablet" : {
          "baseColor" : "1234",
          "colorDepth" : "1234",
          "date" : "2020-10-22T10:28:55.643955",
          "fileName" : "string",
          "fileWeight" : "123456789",
          "format" : "PNG",
          "height" : "1234",
          "keywords" : [ "[]" ],
          "name" : "string",
          "shared" : "false",
          "siteId" : "123456789",
          "source" : "string",
          "width" : "1234"
        },
        "name" : "string",
        "position" : "TOP",
        "redirectURL" : "string",
        "shiftContent" : "false",
        "shouldScrollTo" : "false",
        "targetBlank" : "false",
        "template" : "false",
        "textColor" : "string",
        "textContent" : "string",
        "type" : "SINGLE_IMAGE",
        "width" : "string",
        "widthImageDesktop" : "string",
        "widthImageMobile" : "string",
        "widthImageTablet" : "string"
      },
      "imageInPage" : {
        "domElementSelector" : "string",
        "height" : "string",
        "htmlContent" : "string",
        "image" : {
          "baseColor" : "1234",
          "colorDepth" : "1234",
          "date" : "2020-10-22T10:28:55.643955",
          "fileName" : "string",
          "fileWeight" : "123456789",
          "format" : "PNG",
          "height" : "1234",
          "keywords" : [ "[]" ],
          "name" : "string",
          "shared" : "false",
          "siteId" : "123456789",
          "source" : "string",
          "width" : "1234"
        },
        "mainPageUrl" : "string",
        "positionDefinition" : "EDITOR",
        "positionSelectorRelative" : "REPLACE",
        "redirectURL" : "string",
        "width" : "string"
      },
      "emailAction" : {
        "customDataIndex" : "1234",
        "customSolutionName" : "string",
        "emailContentSolution" : "CUSTOM_TEMPLATE",
        "emailSolution" : "CUSTOM",
        "emailTags" : "string",
        "emailTemplateId" : "string",
        "fetchingMethod" : "CUSTOM_DATA",
        "fetchingScript" : "string",
        "goalCancellingId" : "123456789",
        "headerEmailSubject" : "string",
        "headerReplyEmail" : "string",
        "headerSenderEmail" : "string",
        "headerSenderName" : "string",
        "htmlContent" : "string",
        "neverCancelSending" : "false",
        "randomTagId" : "string",
        "secondsDelayToSend" : "123456789",
        "sendAtOnce" : "false",
        "solutionKey" : "string",
        "solutionSecret" : "string",
        "solutionUrl" : "string"
      },
      "countDownBanner" : {
        "backgroundColor" : "string",
        "contentType" : "TEXT",
        "customPositionAxisX" : "string",
        "customPositionAxisY" : "string",
        "dayOfMonth" : "1234",
        "displayPluginConfiguration" : "DISPLAY_ALL_DEVICES",
        "domElementSelector" : "string",
        "height" : "string",
        "horizontalAlignmentType" : "LEFT",
        "hourOfDay" : "1234",
        "htmlContent" : "string",
        "mainPageUrl" : "string",
        "minute" : "1234",
        "month" : "1234",
        "personalizationPluginLocation" : "INSIDE_PAGES",
        "position" : "TOP",
        "positionDefinition" : "EDITOR",
        "positionSelectorRelative" : "REPLACE",
        "redirectURL" : "string",
        "second" : "1234",
        "textColor" : "string",
        "textContent" : "string",
        "verticalAlignmentType" : "TOP",
        "width" : "string",
        "year" : "1234"
      },
      "googleForm" : {
        "closeWithClickOnOverlay" : "false",
        "customPositionAxisX" : "string",
        "customPositionAxisY" : "string",
        "displayPluginConfiguration" : "DISPLAY_ALL_DEVICES",
        "domElementSelector" : "string",
        "googleFormURL" : "string",
        "height" : "string",
        "mainPageUrl" : "string",
        "personalizationPluginLocation" : "INSIDE_PAGES",
        "position" : "TOP",
        "positionDefinition" : "EDITOR",
        "positionSelectorRelative" : "REPLACE",
        "width" : "string",
        "withOverlay" : "false"
      },
      "cookieInfoBanner" : {
        "customPositionAxisX" : "string",
        "customPositionAxisY" : "string",
        "displayPluginConfiguration" : "DISPLAY_ALL_DEVICES",
        "height" : "string",
        "message" : "string",
        "personalizationPluginLocation" : "INSIDE_PAGES",
        "position" : "TOP",
        "redirectText" : "string",
        "redirectURL" : "string",
        "width" : "string"
      },
      "iAdvize" : {
        "customPositionAxisX" : "string",
        "customPositionAxisY" : "string",
        "displayPluginConfiguration" : "DISPLAY_ALL_DEVICES",
        "height" : "string",
        "iAdvizeIdentifier" : "string",
        "iadvizeIdentifier" : "string",
        "personalizationPluginLocation" : "INSIDE_PAGES",
        "platformType" : "STANDARD",
        "position" : "TOP",
        "width" : "string"
      },
      "socialBar" : {
        "customPositionAxisX" : "string",
        "customPositionAxisY" : "string",
        "displayPluginConfiguration" : "DISPLAY_ALL_DEVICES",
        "domElementSelector" : "string",
        "height" : "string",
        "mainPageUrl" : "string",
        "marginBottom" : "string",
        "marginLeft" : "string",
        "marginRight" : "string",
        "marginTop" : "string",
        "orientation" : "HORIZONTAL",
        "personalizationPluginLocation" : "INSIDE_PAGES",
        "position" : "TOP",
        "positionDefinition" : "EDITOR",
        "positionSelectorRelative" : "REPLACE",
        "urlToShare" : "string",
        "urlType" : "CURRENT",
        "width" : "string"
      },
      "popInVideo" : {
        "addBackground" : "false",
        "autoPlay" : "false",
        "autoSize" : "false",
        "closePopin" : "false",
        "customPositionAxisX" : "string",
        "customPositionAxisY" : "string",
        "displayPluginConfiguration" : "DISPLAY_ALL_DEVICES",
        "height" : "string",
        "personalizationPluginLocation" : "INSIDE_PAGES",
        "position" : "TOP",
        "url" : "string",
        "width" : "string"
      },
      "adBlock" : {
        "actionType" : "SHOW_MESSAGE",
        "backgroundColor" : "string",
        "blockNavigationType" : "ALL",
        "closeWithClickOnOverlay" : "false",
        "customPositionAxisX" : "string",
        "customPositionAxisY" : "string",
        "displayPluginConfiguration" : "DISPLAY_ALL_DEVICES",
        "domElementSelector" : "string",
        "fontSize" : "string",
        "goalName" : "string",
        "height" : "string",
        "horizontalAlignmentType" : "LEFT",
        "image" : {
          "baseColor" : "1234",
          "colorDepth" : "1234",
          "date" : "2020-10-22T10:28:55.643955",
          "fileName" : "string",
          "fileWeight" : "123456789",
          "format" : "PNG",
          "height" : "1234",
          "keywords" : [ "[]" ],
          "name" : "string",
          "shared" : "false",
          "siteId" : "123456789",
          "source" : "string",
          "width" : "1234"
        },
        "imageType" : "NONE",
        "mainPageUrl" : "string",
        "messageContent" : "string",
        "messageTitle" : "string",
        "personalizationPluginLocation" : "INSIDE_PAGES",
        "position" : "TOP",
        "positionDefinition" : "EDITOR",
        "positionSelectorRelative" : "REPLACE",
        "redirectURL" : "string",
        "shiftContent" : "false",
        "shouldScrollTo" : "false",
        "showMessage" : "false",
        "textColor" : "string",
        "trackAction" : "false",
        "type" : "POPIN",
        "verticalAlignmentType" : "TOP",
        "width" : "string",
        "withOverlay" : "false"
      },
      "visitsCounter" : {
        "counterFormat" : "FRENCH",
        "counterFromDate" : "2020-10-22T10:28:55.643955",
        "counterFromType" : "DAY",
        "customPositionAxisX" : "string",
        "customPositionAxisY" : "string",
        "descriptionText" : "string",
        "displayPluginConfiguration" : "DISPLAY_ALL_DEVICES",
        "height" : "string",
        "minimumVisits" : "123456789",
        "personalizationPluginLocation" : "INSIDE_PAGES",
        "position" : "TOP",
        "width" : "string"
      },
      "newsLetter" : {
        "backgroundColor" : "string",
        "backgroundImage" : {
          "baseColor" : "1234",
          "colorDepth" : "1234",
          "date" : "2020-10-22T10:28:55.643955",
          "fileName" : "string",
          "fileWeight" : "123456789",
          "format" : "PNG",
          "height" : "1234",
          "keywords" : [ "[]" ],
          "name" : "string",
          "shared" : "false",
          "siteId" : "123456789",
          "source" : "string",
          "width" : "1234"
        },
        "confirmationText" : "string",
        "customPositionAxisX" : "string",
        "customPositionAxisY" : "string",
        "displayPluginConfiguration" : "DISPLAY_ALL_DEVICES",
        "emailKey" : "string",
        "height" : "string",
        "legalNoticeUrl" : "string",
        "outsideClose" : "false",
        "overlayEnabled" : "false",
        "pageUrl" : "string",
        "personalizationPluginLocation" : "INSIDE_PAGES",
        "position" : "TOP",
        "requestType" : "GET",
        "timerClose" : "1234",
        "titleEnabled" : "false",
        "type" : "FORM",
        "url" : "string",
        "width" : "string"
      },
      "trackingTools" : [ {
        "adobeOmnitureObject" : "string",
        "comScoreCustomerId" : "string",
        "comScoreDomain" : "string",
        "customVariable" : "1234",
        "eulerianUserCentricParameter" : "string",
        "googleAnalyticsTracker" : "string",
        "heatMapPageWidth" : "1234",
        "reportingScript" : "string",
        "type" : "GOOGLE_ANALYTICS",
        "universalAnalyticsDimension" : "1234"
      } ],
      "tags" : [ "[]" ],
      "dateCreated" : "2020-10-22T10:28:55.643955",
      "dateStarted" : "2020-10-22T10:28:55.643955",
      "description" : "string",
      "isArchived" : "false",
      "dateModified" : "2020-10-22T10:28:55.643955",
      "type" : "CLASSIC",
      "createdBy" : "123456789"
    }
    
    Response body

    Personalization
    NameTypeDescription
    iadvizeIAdvize
    idlongThis field is generated by the system to uniquely identify a personalization
    namestringThe name of the personalization
    siteIdlongThe website id that a personalization belongs to
    variationIdlongThe variation id of the given personalization
    statusstringThe status of the given personalization
    dateStatusModifieddatetimeLast moment when status was updated
    targetingSegmentIdlongSelected targeting segment
    mainGoalIdlongMain goal
    goalsarraySelected goals
    customExpositionRatedoubleThe segment percentage exposed to personalization
    globalCappingNumberVisitorsbooleanThis option allows you to set the capping configuration
    globalCappingVisitorsConfigenumThe visitors configuration for threshold of total number of exposed visitors. Can be [NUMBER_VISITORS, NUMBER_VISITORS_CONVERT_GOAL, NUMBER_VISITORS_NOT_CONVERT_GOAL]
    globalCappingGoalIdlongThe goal for threshold of total number of exposed visitors
    visitExpositionFrequencyintegerExposition frequency during a unique visit
    visitorExpositionFrequencyintegerExposition frequency during a unique visitor
    expositionFrequencyDelaylongPeriod of time of exposition frequency during different visitors
    multiExpositionFrequencyDelaylongMinimum delay between each exposition
    cappingPerVisitorExpositionsbooleanIf true stop exposing a same visitor when the total number of expositions exceeds this threshold
    visitorExpositionFrequencyMaxintegerStop exposing a same visitor when the total number of expositions exceeds this threshold
    cappingPerVisitorExposedVisitsbooleanIf true stop exposing a same visitor when the number of visits exceeds this threshold
    exposedVisitsSameVisitorMaxintegerStop exposing a same visitor when the number of visits exceeds this threshold
    cappingPerVisitorConvertGoalbooleanIf true stop exposing a same visitor when the goal is completed
    cappingPerVisitorGoalIdlongStop exposing a same visitor when the goal with given id is completed
    maxNumberVisitorsExposedlongThreshold of the total number of exposed visitors
    checkConditionsRuleenumThe behavior of Kameleoon to determine if a visitor is targeted or not. Can be [ALL_CONDITIONS, CUMULATIVE_WEIGHT]
    priorityintegerThe priority of the personalization
    popInPopInPop-In settings
    stickyBlockStickyBlockSticky block settings
    imageInPageImageInPageSettings of an image in page
    emailActionEmailActionSettings of an email
    countDownBannerCountDownBannerSettings of a countdown banner widget
    googleFormGoogleFormSettings of a Google form widget
    cookieInfoBannerCookieInfoBannerSettings of a cookie banner widget
    iAdvizeIAdvizeSettings of an iAdvize chat widget
    socialBarSocialBarSettings of a social sharing bar widget
    popInVideoPopInVideoSettings of a video pop-in widget
    adBlockAdBlockSettings of an Adblocker widget
    visitsCounterVisitsCounterSettings of a visits counter widget
    newsLetterNewsLetterSettings of a newsletter subscription form widget
    trackingToolsarray[TrackingTool]List of tracking tools
    tagsarrayList of tags
    dateCreateddatetimeDate and time when personalization was created
    dateStarteddatetimeDate and time when personalization was started
    descriptionstringThis is description of personalization
    isArchivedbooleanIf true the personalization is archived
    dateModifieddatetimeDate and time when personalization was updated last time
    typeenumType of personalization. Can be [CLASSIC, AUTOPROMO, IA, MAIL]
    createdBylongAccount id to whom created this personalization

    IAdvize
    NameTypeDescription
    customPositionAxisXstring
    customPositionAxisYstring
    displayPluginConfigurationenum. Can be [DISPLAY_ALL_DEVICES, DISPLAY_ONLY_DESKTOP, DISPLAY_ONLY_TABLET, DISPLAY_ONLY_MOBILE, DISPLAY_DESKTOP_TABLET, DISPLAY_DESKTOP_MOBILE, DISPLAY_TABLET_MOBILE]
    heightstring
    iAdvizeIdentifierstring
    iadvizeIdentifierstring
    personalizationPluginLocationenum. Can be [INSIDE_PAGES, ABOVE_PAGES]
    platformTypeenum. Can be [STANDARD, HIGH_AVAILABILITY]
    positionenum. Can be [TOP, BOTTOM, LEFT, RIGHT, CENTER, TOP_LEFT, TOP_RIGHT, BOTTOM_LEFT, BOTTOM_RIGHT, CUSTOM]
    widthstring

    PopIn
    NameTypeDescription
    animationDirectionenum. Can be [TOP, BOTTOM, LEFT, RIGHT, CENTER, TOP_LEFT, TOP_RIGHT, BOTTOM_LEFT, BOTTOM_RIGHT, CUSTOM]
    animationTriggerenum. Can be [ON_OPEN, ON_CLOSE, ON_OPEN_AND_CLOSE, CONTINUOUSLY]
    animationTypeenum. Can be [NONE, FADE, SLIDER, ZOOM_IN, ZOOM_OUT, BOUNCE]
    backgroundColorstring
    closeWithClickOnOverlayboolean
    customPositionAxisXstring
    customPositionAxisYstring
    displayImageConfigurationenum. Can be [DISPLAY_ALL_DEVICES, DISPLAY_ONLY_DESKTOP, DISPLAY_ONLY_TABLET, DISPLAY_ONLY_MOBILE, DISPLAY_DESKTOP_TABLET, DISPLAY_DESKTOP_MOBILE, DISPLAY_TABLET_MOBILE]
    fontSizestring
    heightstring
    heightImageDesktopstring
    heightImageMobilestring
    heightImageTabletstring
    htmlContentstring
    idTarget2Sellstring
    imageImage
    imageDesktopImage
    imageMobileImage
    imageTabletImage
    namestring
    positionenum. Can be [TOP, BOTTOM, LEFT, RIGHT, CENTER, TOP_LEFT, TOP_RIGHT, BOTTOM_LEFT, BOTTOM_RIGHT, CUSTOM]
    redirectURLstring
    targetBlankboolean
    templateboolean
    textColorstring
    textContentstring
    typeenum. Can be [SINGLE_IMAGE, FULL_IMAGE_TEXT, FULL_TEXT_IMAGE, HTML, TARGET2SELL]
    widthstring
    widthImageDesktopstring
    widthImageMobilestring
    widthImageTabletstring
    withOverlayboolean

    Image
    NameTypeDescription
    baseColorinteger
    colorDepthinteger
    datedatetime
    fileNamestring
    fileWeightlong
    formatenum. Can be [PNG, JPEG, GIF]
    heightinteger
    keywordsarray
    namestring
    sharedboolean
    siteIdlong
    sourcestring
    widthinteger

    StickyBlock
    NameTypeDescription
    animationDirectionenum. Can be [TOP, BOTTOM, LEFT, RIGHT, CENTER, TOP_LEFT, TOP_RIGHT, BOTTOM_LEFT, BOTTOM_RIGHT, CUSTOM]
    animationTriggerenum. Can be [ON_OPEN, ON_CLOSE, ON_OPEN_AND_CLOSE, CONTINUOUSLY]
    animationTypeenum. Can be [NONE, FADE, SLIDER, ZOOM_IN, ZOOM_OUT, BOUNCE]
    backgroundColorstring
    customPositionAxisXstring
    customPositionAxisYstring
    displayImageConfigurationenum. Can be [DISPLAY_ALL_DEVICES, DISPLAY_ONLY_DESKTOP, DISPLAY_ONLY_TABLET, DISPLAY_ONLY_MOBILE, DISPLAY_DESKTOP_TABLET, DISPLAY_DESKTOP_MOBILE, DISPLAY_TABLET_MOBILE]
    fontSizestring
    heightstring
    heightImageDesktopstring
    heightImageMobilestring
    heightImageTabletstring
    htmlContentstring
    idTarget2Sellstring
    imageImage
    imageDesktopImage
    imageMobileImage
    imageTabletImage
    namestring
    positionenum. Can be [TOP, BOTTOM, LEFT, RIGHT, CENTER, TOP_LEFT, TOP_RIGHT, BOTTOM_LEFT, BOTTOM_RIGHT, CUSTOM]
    redirectURLstring
    shiftContentboolean
    shouldScrollToboolean
    targetBlankboolean
    templateboolean
    textColorstring
    textContentstring
    typeenum. Can be [SINGLE_IMAGE, FULL_IMAGE_TEXT, FULL_TEXT_IMAGE, HTML, TARGET2SELL]
    widthstring
    widthImageDesktopstring
    widthImageMobilestring
    widthImageTabletstring

    ImageInPage
    NameTypeDescription
    domElementSelectorstring
    heightstring
    htmlContentstring
    imageImage
    mainPageUrlstring
    positionDefinitionenum. Can be [EDITOR, SELECTOR]
    positionSelectorRelativeenum. Can be [REPLACE, BEFORE, AFTER]
    redirectURLstring
    widthstring

    EmailAction
    NameTypeDescription
    customDataIndexinteger
    customSolutionNamestring
    emailContentSolutionenum. Can be [CUSTOM_TEMPLATE, HTML_CODE, NONE]
    emailSolutionenum. Can be [CUSTOM, MANDRILL, MAILJET, MAILUP, SMARTFOCUS, MAILPERFORMANCE, EMARSYS, EXPERTSENDER, NONE, CUSTOM_INTEGRATIONS]
    emailTagsstring
    emailTemplateIdstring
    fetchingMethodenum. Can be [CUSTOM_DATA, SCRIPT, NONE]
    fetchingScriptstring
    goalCancellingIdlong
    headerEmailSubjectstring
    headerReplyEmailstring
    headerSenderEmailstring
    headerSenderNamestring
    htmlContentstring
    neverCancelSendingboolean
    randomTagIdstring
    secondsDelayToSendlong
    sendAtOnceboolean
    solutionKeystring
    solutionSecretstring
    solutionUrlstring

    CountDownBanner
    NameTypeDescription
    backgroundColorstring
    contentTypeenum. Can be [TEXT, HTML]
    customPositionAxisXstring
    customPositionAxisYstring
    dayOfMonthinteger
    displayPluginConfigurationenum. Can be [DISPLAY_ALL_DEVICES, DISPLAY_ONLY_DESKTOP, DISPLAY_ONLY_TABLET, DISPLAY_ONLY_MOBILE, DISPLAY_DESKTOP_TABLET, DISPLAY_DESKTOP_MOBILE, DISPLAY_TABLET_MOBILE]
    domElementSelectorstring
    heightstring
    horizontalAlignmentTypeenum. Can be [LEFT, CENTER, RIGHT]
    hourOfDayinteger
    htmlContentstring
    mainPageUrlstring
    minuteinteger
    monthinteger
    personalizationPluginLocationenum. Can be [INSIDE_PAGES, ABOVE_PAGES]
    positionenum. Can be [TOP, BOTTOM, LEFT, RIGHT, CENTER, TOP_LEFT, TOP_RIGHT, BOTTOM_LEFT, BOTTOM_RIGHT, CUSTOM]
    positionDefinitionenum. Can be [EDITOR, SELECTOR]
    positionSelectorRelativeenum. Can be [REPLACE, BEFORE, AFTER]
    redirectURLstring
    secondinteger
    textColorstring
    textContentstring
    verticalAlignmentTypeenum. Can be [TOP, CENTER, BOTTOM]
    widthstring
    yearinteger

    GoogleForm
    NameTypeDescription
    closeWithClickOnOverlayboolean
    customPositionAxisXstring
    customPositionAxisYstring
    displayPluginConfigurationenum. Can be [DISPLAY_ALL_DEVICES, DISPLAY_ONLY_DESKTOP, DISPLAY_ONLY_TABLET, DISPLAY_ONLY_MOBILE, DISPLAY_DESKTOP_TABLET, DISPLAY_DESKTOP_MOBILE, DISPLAY_TABLET_MOBILE]
    domElementSelectorstring
    googleFormURLstring
    heightstring
    mainPageUrlstring
    personalizationPluginLocationenum. Can be [INSIDE_PAGES, ABOVE_PAGES]
    positionenum. Can be [TOP, BOTTOM, LEFT, RIGHT, CENTER, TOP_LEFT, TOP_RIGHT, BOTTOM_LEFT, BOTTOM_RIGHT, CUSTOM]
    positionDefinitionenum. Can be [EDITOR, SELECTOR]
    positionSelectorRelativeenum. Can be [REPLACE, BEFORE, AFTER]
    widthstring
    withOverlayboolean

    CookieInfoBanner
    NameTypeDescription
    customPositionAxisXstring
    customPositionAxisYstring
    displayPluginConfigurationenum. Can be [DISPLAY_ALL_DEVICES, DISPLAY_ONLY_DESKTOP, DISPLAY_ONLY_TABLET, DISPLAY_ONLY_MOBILE, DISPLAY_DESKTOP_TABLET, DISPLAY_DESKTOP_MOBILE, DISPLAY_TABLET_MOBILE]
    heightstring
    messagestring
    personalizationPluginLocationenum. Can be [INSIDE_PAGES, ABOVE_PAGES]
    positionenum. Can be [TOP, BOTTOM, LEFT, RIGHT, CENTER, TOP_LEFT, TOP_RIGHT, BOTTOM_LEFT, BOTTOM_RIGHT, CUSTOM]
    redirectTextstring
    redirectURLstring
    widthstring

    SocialBar
    NameTypeDescription
    customPositionAxisXstring
    customPositionAxisYstring
    displayPluginConfigurationenum. Can be [DISPLAY_ALL_DEVICES, DISPLAY_ONLY_DESKTOP, DISPLAY_ONLY_TABLET, DISPLAY_ONLY_MOBILE, DISPLAY_DESKTOP_TABLET, DISPLAY_DESKTOP_MOBILE, DISPLAY_TABLET_MOBILE]
    domElementSelectorstring
    heightstring
    mainPageUrlstring
    marginBottomstring
    marginLeftstring
    marginRightstring
    marginTopstring
    orientationenum. Can be [HORIZONTAL, VERTICAL]
    personalizationPluginLocationenum. Can be [INSIDE_PAGES, ABOVE_PAGES]
    positionenum. Can be [TOP, BOTTOM, LEFT, RIGHT, CENTER, TOP_LEFT, TOP_RIGHT, BOTTOM_LEFT, BOTTOM_RIGHT, CUSTOM]
    positionDefinitionenum. Can be [EDITOR, SELECTOR]
    positionSelectorRelativeenum. Can be [REPLACE, BEFORE, AFTER]
    urlToSharestring
    urlTypeenum. Can be [CURRENT, FIXED]
    widthstring

    PopInVideo
    NameTypeDescription
    addBackgroundboolean
    autoPlayboolean
    autoSizeboolean
    closePopinboolean
    customPositionAxisXstring
    customPositionAxisYstring
    displayPluginConfigurationenum. Can be [DISPLAY_ALL_DEVICES, DISPLAY_ONLY_DESKTOP, DISPLAY_ONLY_TABLET, DISPLAY_ONLY_MOBILE, DISPLAY_DESKTOP_TABLET, DISPLAY_DESKTOP_MOBILE, DISPLAY_TABLET_MOBILE]
    heightstring
    personalizationPluginLocationenum. Can be [INSIDE_PAGES, ABOVE_PAGES]
    positionenum. Can be [TOP, BOTTOM, LEFT, RIGHT, CENTER, TOP_LEFT, TOP_RIGHT, BOTTOM_LEFT, BOTTOM_RIGHT, CUSTOM]
    urlstring
    widthstring

    AdBlock
    NameTypeDescription
    actionTypeenum. Can be [SHOW_MESSAGE, BLOCK_NAVIGATION, TRACK_ACTION]
    backgroundColorstring
    blockNavigationTypeenum. Can be [ALL, OPAQUE, REDIRECT]
    closeWithClickOnOverlayboolean
    customPositionAxisXstring
    customPositionAxisYstring
    displayPluginConfigurationenum. Can be [DISPLAY_ALL_DEVICES, DISPLAY_ONLY_DESKTOP, DISPLAY_ONLY_TABLET, DISPLAY_ONLY_MOBILE, DISPLAY_DESKTOP_TABLET, DISPLAY_DESKTOP_MOBILE, DISPLAY_TABLET_MOBILE]
    domElementSelectorstring
    fontSizestring
    goalNamestring
    heightstring
    horizontalAlignmentTypeenum. Can be [LEFT, CENTER, RIGHT]
    imageImage
    imageTypeenum. Can be [NONE, DEFAULT, CUSTOM]
    mainPageUrlstring
    messageContentstring
    messageTitlestring
    personalizationPluginLocationenum. Can be [INSIDE_PAGES, ABOVE_PAGES]
    positionenum. Can be [TOP, BOTTOM, LEFT, RIGHT, CENTER, TOP_LEFT, TOP_RIGHT, BOTTOM_LEFT, BOTTOM_RIGHT, CUSTOM]
    positionDefinitionenum. Can be [EDITOR, SELECTOR]
    positionSelectorRelativeenum. Can be [REPLACE, BEFORE, AFTER]
    redirectURLstring
    shiftContentboolean
    shouldScrollToboolean
    showMessageboolean
    textColorstring
    trackActionboolean
    typeenum. Can be [POPIN, STICKY_BLOCK]
    verticalAlignmentTypeenum. Can be [TOP, CENTER, BOTTOM]
    widthstring
    withOverlayboolean

    VisitsCounter
    NameTypeDescription
    counterFormatenum. Can be [FRENCH, ENGLISH, GERMAN, FRENCH_ABBREVIATED, ENGLISH_ABBREVIATED, GERMAN_ABBREVIATED]
    counterFromDatedatetime
    counterFromTypeenum. Can be [DAY, WEEK, DAYS_15, PRECISE_DATE]
    customPositionAxisXstring
    customPositionAxisYstring
    descriptionTextstring
    displayPluginConfigurationenum. Can be [DISPLAY_ALL_DEVICES, DISPLAY_ONLY_DESKTOP, DISPLAY_ONLY_TABLET, DISPLAY_ONLY_MOBILE, DISPLAY_DESKTOP_TABLET, DISPLAY_DESKTOP_MOBILE, DISPLAY_TABLET_MOBILE]
    heightstring
    minimumVisitslong
    personalizationPluginLocationenum. Can be [INSIDE_PAGES, ABOVE_PAGES]
    positionenum. Can be [TOP, BOTTOM, LEFT, RIGHT, CENTER, TOP_LEFT, TOP_RIGHT, BOTTOM_LEFT, BOTTOM_RIGHT, CUSTOM]
    widthstring

    NewsLetter
    NameTypeDescription
    backgroundColorstring
    backgroundImageImage
    confirmationTextstring
    customPositionAxisXstring
    customPositionAxisYstring
    displayPluginConfigurationenum. Can be [DISPLAY_ALL_DEVICES, DISPLAY_ONLY_DESKTOP, DISPLAY_ONLY_TABLET, DISPLAY_ONLY_MOBILE, DISPLAY_DESKTOP_TABLET, DISPLAY_DESKTOP_MOBILE, DISPLAY_TABLET_MOBILE]
    emailKeystring
    heightstring
    legalNoticeUrlstring
    outsideCloseboolean
    overlayEnabledboolean
    pageUrlstring
    personalizationPluginLocationenum. Can be [INSIDE_PAGES, ABOVE_PAGES]
    positionenum. Can be [TOP, BOTTOM, LEFT, RIGHT, CENTER, TOP_LEFT, TOP_RIGHT, BOTTOM_LEFT, BOTTOM_RIGHT, CUSTOM]
    requestTypeenum. Can be [GET, POST]
    timerCloseinteger
    titleEnabledboolean
    typeenum. Can be [FORM, SERVICE]
    urlstring
    widthstring

    TrackingTool
    NameTypeDescription
    adobeOmnitureObjectstring
    comScoreCustomerIdstring
    comScoreDomainstring
    customVariableinteger
    eulerianUserCentricParameterstring
    googleAnalyticsTrackerstring
    heatMapPageWidthinteger
    reportingScriptstring
    typeenum. Can be [GOOGLE_ANALYTICS, UNIVERSAL_ANALYTICS, ECONDA, AT_INTERNET, SMART_TAG, ADOBE_OMNITURE, EULERIAN, WEBTRENDS, HEATMAP, KISS_METRICS, PIWIK, CRAZY_EGG, COM_SCORE, TEALIUM, YSANCE, M_PATHY, MANDRILL, MAILPERFORMANCE, SMARTFOCUS, MAILJET, MAILUP, EMARSYS, EXPERT_SENDER, TAG_COMMANDER, GOOGLE_TAG_MANAGER, CONTENT_SQUARE, WEBTREKK, CUSTOM_INTEGRATION, HEAP, SEGMENT, MIXPANEL, KAMELEOON_TRACKING, CUSTOM_TRACKING]
    universalAnalyticsDimensioninteger

    Remove personalization

    Example request

    curl -X DELETE \
      -H "Authorization: Bearer qwerty123456789" \
      "https://api.kameleoon.com/personalizations/{personalizationId}"
    

    DELETE /personalizations/{personalizationId}

    Remove personalization with given id

    Request arguments
    NamePlaceTypeDescription
    personalizationIdpathlongpersonalizationId

    Partial update personalization

    Example request

    curl -X PATCH \
      -H "Authorization: Bearer qwerty123456789" \
      -H "Content-Type: application/json" -d @- \
      "https://api.kameleoon.com/personalizations/{personalizationId}"
    {
      "description" : "string",
      "isArchived" : "false",
      "name" : "string",
      "tags" : [ "[]" ]
    }
    

    PATCH /personalizations/{personalizationId}

    Update several fields of personalization

    Request arguments
    NamePlaceTypeDescription
    personalizationIdpathlongpersonalizationId
    actionquerystringAction to change the status of personalization
    Request body

    PersonalizationUpdate
    NameTypeDescription
    descriptionstringThis is description of personalization
    isArchivedbooleanIf true the personalization is archived
    namestringThe name of the personalization
    tagsarrayList of tags

    Example response

    {
      "iadvize" : {
        "customPositionAxisX" : "string",
        "customPositionAxisY" : "string",
        "displayPluginConfiguration" : "DISPLAY_ALL_DEVICES",
        "height" : "string",
        "iAdvizeIdentifier" : "string",
        "iadvizeIdentifier" : "string",
        "personalizationPluginLocation" : "INSIDE_PAGES",
        "platformType" : "STANDARD",
        "position" : "TOP",
        "width" : "string"
      },
      "id" : "123456789",
      "name" : "string",
      "siteId" : "123456789",
      "variationId" : "123456789",
      "status" : "string",
      "dateStatusModified" : "2020-10-22T10:28:55.643955",
      "targetingSegmentId" : "123456789",
      "mainGoalId" : "123456789",
      "goals" : [ "[]" ],
      "customExpositionRate" : "132.987",
      "globalCappingNumberVisitors" : "false",
      "globalCappingVisitorsConfig" : "NUMBER_VISITORS",
      "globalCappingGoalId" : "123456789",
      "visitExpositionFrequency" : "1234",
      "visitorExpositionFrequency" : "1234",
      "expositionFrequencyDelay" : "123456789",
      "multiExpositionFrequencyDelay" : "123456789",
      "cappingPerVisitorExpositions" : "false",
      "visitorExpositionFrequencyMax" : "1234",
      "cappingPerVisitorExposedVisits" : "false",
      "exposedVisitsSameVisitorMax" : "1234",
      "cappingPerVisitorConvertGoal" : "false",
      "cappingPerVisitorGoalId" : "123456789",
      "maxNumberVisitorsExposed" : "123456789",
      "checkConditionsRule" : "ALL_CONDITIONS",
      "priority" : "1234",
      "popIn" : {
        "animationDirection" : "TOP",
        "animationTrigger" : "ON_OPEN",
        "animationType" : "NONE",
        "backgroundColor" : "string",
        "closeWithClickOnOverlay" : "false",
        "customPositionAxisX" : "string",
        "customPositionAxisY" : "string",
        "displayImageConfiguration" : "DISPLAY_ALL_DEVICES",
        "fontSize" : "string",
        "height" : "string",
        "heightImageDesktop" : "string",
        "heightImageMobile" : "string",
        "heightImageTablet" : "string",
        "htmlContent" : "string",
        "idTarget2Sell" : "string",
        "image" : {
          "baseColor" : "1234",
          "colorDepth" : "1234",
          "date" : "2020-10-22T10:28:55.643955",
          "fileName" : "string",
          "fileWeight" : "123456789",
          "format" : "PNG",
          "height" : "1234",
          "keywords" : [ "[]" ],
          "name" : "string",
          "shared" : "false",
          "siteId" : "123456789",
          "source" : "string",
          "width" : "1234"
        },
        "imageDesktop" : {
          "baseColor" : "1234",
          "colorDepth" : "1234",
          "date" : "2020-10-22T10:28:55.643955",
          "fileName" : "string",
          "fileWeight" : "123456789",
          "format" : "PNG",
          "height" : "1234",
          "keywords" : [ "[]" ],
          "name" : "string",
          "shared" : "false",
          "siteId" : "123456789",
          "source" : "string",
          "width" : "1234"
        },
        "imageMobile" : {
          "baseColor" : "1234",
          "colorDepth" : "1234",
          "date" : "2020-10-22T10:28:55.643955",
          "fileName" : "string",
          "fileWeight" : "123456789",
          "format" : "PNG",
          "height" : "1234",
          "keywords" : [ "[]" ],
          "name" : "string",
          "shared" : "false",
          "siteId" : "123456789",
          "source" : "string",
          "width" : "1234"
        },
        "imageTablet" : {
          "baseColor" : "1234",
          "colorDepth" : "1234",
          "date" : "2020-10-22T10:28:55.643955",
          "fileName" : "string",
          "fileWeight" : "123456789",
          "format" : "PNG",
          "height" : "1234",
          "keywords" : [ "[]" ],
          "name" : "string",
          "shared" : "false",
          "siteId" : "123456789",
          "source" : "string",
          "width" : "1234"
        },
        "name" : "string",
        "position" : "TOP",
        "redirectURL" : "string",
        "targetBlank" : "false",
        "template" : "false",
        "textColor" : "string",
        "textContent" : "string",
        "type" : "SINGLE_IMAGE",
        "width" : "string",
        "widthImageDesktop" : "string",
        "widthImageMobile" : "string",
        "widthImageTablet" : "string",
        "withOverlay" : "false"
      },
      "stickyBlock" : {
        "animationDirection" : "TOP",
        "animationTrigger" : "ON_OPEN",
        "animationType" : "NONE",
        "backgroundColor" : "string",
        "customPositionAxisX" : "string",
        "customPositionAxisY" : "string",
        "displayImageConfiguration" : "DISPLAY_ALL_DEVICES",
        "fontSize" : "string",
        "height" : "string",
        "heightImageDesktop" : "string",
        "heightImageMobile" : "string",
        "heightImageTablet" : "string",
        "htmlContent" : "string",
        "idTarget2Sell" : "string",
        "image" : {
          "baseColor" : "1234",
          "colorDepth" : "1234",
          "date" : "2020-10-22T10:28:55.643955",
          "fileName" : "string",
          "fileWeight" : "123456789",
          "format" : "PNG",
          "height" : "1234",
          "keywords" : [ "[]" ],
          "name" : "string",
          "shared" : "false",
          "siteId" : "123456789",
          "source" : "string",
          "width" : "1234"
        },
        "imageDesktop" : {
          "baseColor" : "1234",
          "colorDepth" : "1234",
          "date" : "2020-10-22T10:28:55.643955",
          "fileName" : "string",
          "fileWeight" : "123456789",
          "format" : "PNG",
          "height" : "1234",
          "keywords" : [ "[]" ],
          "name" : "string",
          "shared" : "false",
          "siteId" : "123456789",
          "source" : "string",
          "width" : "1234"
        },
        "imageMobile" : {
          "baseColor" : "1234",
          "colorDepth" : "1234",
          "date" : "2020-10-22T10:28:55.643955",
          "fileName" : "string",
          "fileWeight" : "123456789",
          "format" : "PNG",
          "height" : "1234",
          "keywords" : [ "[]" ],
          "name" : "string",
          "shared" : "false",
          "siteId" : "123456789",
          "source" : "string",
          "width" : "1234"
        },
        "imageTablet" : {
          "baseColor" : "1234",
          "colorDepth" : "1234",
          "date" : "2020-10-22T10:28:55.643955",
          "fileName" : "string",
          "fileWeight" : "123456789",
          "format" : "PNG",
          "height" : "1234",
          "keywords" : [ "[]" ],
          "name" : "string",
          "shared" : "false",
          "siteId" : "123456789",
          "source" : "string",
          "width" : "1234"
        },
        "name" : "string",
        "position" : "TOP",
        "redirectURL" : "string",
        "shiftContent" : "false",
        "shouldScrollTo" : "false",
        "targetBlank" : "false",
        "template" : "false",
        "textColor" : "string",
        "textContent" : "string",
        "type" : "SINGLE_IMAGE",
        "width" : "string",
        "widthImageDesktop" : "string",
        "widthImageMobile" : "string",
        "widthImageTablet" : "string"
      },
      "imageInPage" : {
        "domElementSelector" : "string",
        "height" : "string",
        "htmlContent" : "string",
        "image" : {
          "baseColor" : "1234",
          "colorDepth" : "1234",
          "date" : "2020-10-22T10:28:55.643955",
          "fileName" : "string",
          "fileWeight" : "123456789",
          "format" : "PNG",
          "height" : "1234",
          "keywords" : [ "[]" ],
          "name" : "string",
          "shared" : "false",
          "siteId" : "123456789",
          "source" : "string",
          "width" : "1234"
        },
        "mainPageUrl" : "string",
        "positionDefinition" : "EDITOR",
        "positionSelectorRelative" : "REPLACE",
        "redirectURL" : "string",
        "width" : "string"
      },
      "emailAction" : {
        "customDataIndex" : "1234",
        "customSolutionName" : "string",
        "emailContentSolution" : "CUSTOM_TEMPLATE",
        "emailSolution" : "CUSTOM",
        "emailTags" : "string",
        "emailTemplateId" : "string",
        "fetchingMethod" : "CUSTOM_DATA",
        "fetchingScript" : "string",
        "goalCancellingId" : "123456789",
        "headerEmailSubject" : "string",
        "headerReplyEmail" : "string",
        "headerSenderEmail" : "string",
        "headerSenderName" : "string",
        "htmlContent" : "string",
        "neverCancelSending" : "false",
        "randomTagId" : "string",
        "secondsDelayToSend" : "123456789",
        "sendAtOnce" : "false",
        "solutionKey" : "string",
        "solutionSecret" : "string",
        "solutionUrl" : "string"
      },
      "countDownBanner" : {
        "backgroundColor" : "string",
        "contentType" : "TEXT",
        "customPositionAxisX" : "string",
        "customPositionAxisY" : "string",
        "dayOfMonth" : "1234",
        "displayPluginConfiguration" : "DISPLAY_ALL_DEVICES",
        "domElementSelector" : "string",
        "height" : "string",
        "horizontalAlignmentType" : "LEFT",
        "hourOfDay" : "1234",
        "htmlContent" : "string",
        "mainPageUrl" : "string",
        "minute" : "1234",
        "month" : "1234",
        "personalizationPluginLocation" : "INSIDE_PAGES",
        "position" : "TOP",
        "positionDefinition" : "EDITOR",
        "positionSelectorRelative" : "REPLACE",
        "redirectURL" : "string",
        "second" : "1234",
        "textColor" : "string",
        "textContent" : "string",
        "verticalAlignmentType" : "TOP",
        "width" : "string",
        "year" : "1234"
      },
      "googleForm" : {
        "closeWithClickOnOverlay" : "false",
        "customPositionAxisX" : "string",
        "customPositionAxisY" : "string",
        "displayPluginConfiguration" : "DISPLAY_ALL_DEVICES",
        "domElementSelector" : "string",
        "googleFormURL" : "string",
        "height" : "string",
        "mainPageUrl" : "string",
        "personalizationPluginLocation" : "INSIDE_PAGES",
        "position" : "TOP",
        "positionDefinition" : "EDITOR",
        "positionSelectorRelative" : "REPLACE",
        "width" : "string",
        "withOverlay" : "false"
      },
      "cookieInfoBanner" : {
        "customPositionAxisX" : "string",
        "customPositionAxisY" : "string",
        "displayPluginConfiguration" : "DISPLAY_ALL_DEVICES",
        "height" : "string",
        "message" : "string",
        "personalizationPluginLocation" : "INSIDE_PAGES",
        "position" : "TOP",
        "redirectText" : "string",
        "redirectURL" : "string",
        "width" : "string"
      },
      "iAdvize" : {
        "customPositionAxisX" : "string",
        "customPositionAxisY" : "string",
        "displayPluginConfiguration" : "DISPLAY_ALL_DEVICES",
        "height" : "string",
        "iAdvizeIdentifier" : "string",
        "iadvizeIdentifier" : "string",
        "personalizationPluginLocation" : "INSIDE_PAGES",
        "platformType" : "STANDARD",
        "position" : "TOP",
        "width" : "string"
      },
      "socialBar" : {
        "customPositionAxisX" : "string",
        "customPositionAxisY" : "string",
        "displayPluginConfiguration" : "DISPLAY_ALL_DEVICES",
        "domElementSelector" : "string",
        "height" : "string",
        "mainPageUrl" : "string",
        "marginBottom" : "string",
        "marginLeft" : "string",
        "marginRight" : "string",
        "marginTop" : "string",
        "orientation" : "HORIZONTAL",
        "personalizationPluginLocation" : "INSIDE_PAGES",
        "position" : "TOP",
        "positionDefinition" : "EDITOR",
        "positionSelectorRelative" : "REPLACE",
        "urlToShare" : "string",
        "urlType" : "CURRENT",
        "width" : "string"
      },
      "popInVideo" : {
        "addBackground" : "false",
        "autoPlay" : "false",
        "autoSize" : "false",
        "closePopin" : "false",
        "customPositionAxisX" : "string",
        "customPositionAxisY" : "string",
        "displayPluginConfiguration" : "DISPLAY_ALL_DEVICES",
        "height" : "string",
        "personalizationPluginLocation" : "INSIDE_PAGES",
        "position" : "TOP",
        "url" : "string",
        "width" : "string"
      },
      "adBlock" : {
        "actionType" : "SHOW_MESSAGE",
        "backgroundColor" : "string",
        "blockNavigationType" : "ALL",
        "closeWithClickOnOverlay" : "false",
        "customPositionAxisX" : "string",
        "customPositionAxisY" : "string",
        "displayPluginConfiguration" : "DISPLAY_ALL_DEVICES",
        "domElementSelector" : "string",
        "fontSize" : "string",
        "goalName" : "string",
        "height" : "string",
        "horizontalAlignmentType" : "LEFT",
        "image" : {
          "baseColor" : "1234",
          "colorDepth" : "1234",
          "date" : "2020-10-22T10:28:55.643955",
          "fileName" : "string",
          "fileWeight" : "123456789",
          "format" : "PNG",
          "height" : "1234",
          "keywords" : [ "[]" ],
          "name" : "string",
          "shared" : "false",
          "siteId" : "123456789",
          "source" : "string",
          "width" : "1234"
        },
        "imageType" : "NONE",
        "mainPageUrl" : "string",
        "messageContent" : "string",
        "messageTitle" : "string",
        "personalizationPluginLocation" : "INSIDE_PAGES",
        "position" : "TOP",
        "positionDefinition" : "EDITOR",
        "positionSelectorRelative" : "REPLACE",
        "redirectURL" : "string",
        "shiftContent" : "false",
        "shouldScrollTo" : "false",
        "showMessage" : "false",
        "textColor" : "string",
        "trackAction" : "false",
        "type" : "POPIN",
        "verticalAlignmentType" : "TOP",
        "width" : "string",
        "withOverlay" : "false"
      },
      "visitsCounter" : {
        "counterFormat" : "FRENCH",
        "counterFromDate" : "2020-10-22T10:28:55.643955",
        "counterFromType" : "DAY",
        "customPositionAxisX" : "string",
        "customPositionAxisY" : "string",
        "descriptionText" : "string",
        "displayPluginConfiguration" : "DISPLAY_ALL_DEVICES",
        "height" : "string",
        "minimumVisits" : "123456789",
        "personalizationPluginLocation" : "INSIDE_PAGES",
        "position" : "TOP",
        "width" : "string"
      },
      "newsLetter" : {
        "backgroundColor" : "string",
        "backgroundImage" : {
          "baseColor" : "1234",
          "colorDepth" : "1234",
          "date" : "2020-10-22T10:28:55.643955",
          "fileName" : "string",
          "fileWeight" : "123456789",
          "format" : "PNG",
          "height" : "1234",
          "keywords" : [ "[]" ],
          "name" : "string",
          "shared" : "false",
          "siteId" : "123456789",
          "source" : "string",
          "width" : "1234"
        },
        "confirmationText" : "string",
        "customPositionAxisX" : "string",
        "customPositionAxisY" : "string",
        "displayPluginConfiguration" : "DISPLAY_ALL_DEVICES",
        "emailKey" : "string",
        "height" : "string",
        "legalNoticeUrl" : "string",
        "outsideClose" : "false",
        "overlayEnabled" : "false",
        "pageUrl" : "string",
        "personalizationPluginLocation" : "INSIDE_PAGES",
        "position" : "TOP",
        "requestType" : "GET",
        "timerClose" : "1234",
        "titleEnabled" : "false",
        "type" : "FORM",
        "url" : "string",
        "width" : "string"
      },
      "trackingTools" : [ {
        "adobeOmnitureObject" : "string",
        "comScoreCustomerId" : "string",
        "comScoreDomain" : "string",
        "customVariable" : "1234",
        "eulerianUserCentricParameter" : "string",
        "googleAnalyticsTracker" : "string",
        "heatMapPageWidth" : "1234",
        "reportingScript" : "string",
        "type" : "GOOGLE_ANALYTICS",
        "universalAnalyticsDimension" : "1234"
      } ],
      "tags" : [ "[]" ],
      "dateCreated" : "2020-10-22T10:28:55.643955",
      "dateStarted" : "2020-10-22T10:28:55.643955",
      "description" : "string",
      "isArchived" : "false",
      "dateModified" : "2020-10-22T10:28:55.643955",
      "type" : "CLASSIC",
      "createdBy" : "123456789"
    }
    
    Response body

    Personalization
    NameTypeDescription
    iadvizeIAdvize
    idlongThis field is generated by the system to uniquely identify a personalization
    namestringThe name of the personalization
    siteIdlongThe website id that a personalization belongs to
    variationIdlongThe variation id of the given personalization
    statusstringThe status of the given personalization
    dateStatusModifieddatetimeLast moment when status was updated
    targetingSegmentIdlongSelected targeting segment
    mainGoalIdlongMain goal
    goalsarraySelected goals
    customExpositionRatedoubleThe segment percentage exposed to personalization
    globalCappingNumberVisitorsbooleanThis option allows you to set the capping configuration
    globalCappingVisitorsConfigenumThe visitors configuration for threshold of total number of exposed visitors. Can be [NUMBER_VISITORS, NUMBER_VISITORS_CONVERT_GOAL, NUMBER_VISITORS_NOT_CONVERT_GOAL]
    globalCappingGoalIdlongThe goal for threshold of total number of exposed visitors
    visitExpositionFrequencyintegerExposition frequency during a unique visit
    visitorExpositionFrequencyintegerExposition frequency during a unique visitor
    expositionFrequencyDelaylongPeriod of time of exposition frequency during different visitors
    multiExpositionFrequencyDelaylongMinimum delay between each exposition
    cappingPerVisitorExpositionsbooleanIf true stop exposing a same visitor when the total number of expositions exceeds this threshold
    visitorExpositionFrequencyMaxintegerStop exposing a same visitor when the total number of expositions exceeds this threshold
    cappingPerVisitorExposedVisitsbooleanIf true stop exposing a same visitor when the number of visits exceeds this threshold
    exposedVisitsSameVisitorMaxintegerStop exposing a same visitor when the number of visits exceeds this threshold
    cappingPerVisitorConvertGoalbooleanIf true stop exposing a same visitor when the goal is completed
    cappingPerVisitorGoalIdlongStop exposing a same visitor when the goal with given id is completed
    maxNumberVisitorsExposedlongThreshold of the total number of exposed visitors
    checkConditionsRuleenumThe behavior of Kameleoon to determine if a visitor is targeted or not. Can be [ALL_CONDITIONS, CUMULATIVE_WEIGHT]
    priorityintegerThe priority of the personalization
    popInPopInPop-In settings
    stickyBlockStickyBlockSticky block settings
    imageInPageImageInPageSettings of an image in page
    emailActionEmailActionSettings of an email
    countDownBannerCountDownBannerSettings of a countdown banner widget
    googleFormGoogleFormSettings of a Google form widget
    cookieInfoBannerCookieInfoBannerSettings of a cookie banner widget
    iAdvizeIAdvizeSettings of an iAdvize chat widget
    socialBarSocialBarSettings of a social sharing bar widget
    popInVideoPopInVideoSettings of a video pop-in widget
    adBlockAdBlockSettings of an Adblocker widget
    visitsCounterVisitsCounterSettings of a visits counter widget
    newsLetterNewsLetterSettings of a newsletter subscription form widget
    trackingToolsarray[TrackingTool]List of tracking tools
    tagsarrayList of tags
    dateCreateddatetimeDate and time when personalization was created
    dateStarteddatetimeDate and time when personalization was started
    descriptionstringThis is description of personalization
    isArchivedbooleanIf true the personalization is archived
    dateModifieddatetimeDate and time when personalization was updated last time
    typeenumType of personalization. Can be [CLASSIC, AUTOPROMO, IA, MAIL]
    createdBylongAccount id to whom created this personalization

    IAdvize
    NameTypeDescription
    customPositionAxisXstring
    customPositionAxisYstring
    displayPluginConfigurationenum. Can be [DISPLAY_ALL_DEVICES, DISPLAY_ONLY_DESKTOP, DISPLAY_ONLY_TABLET, DISPLAY_ONLY_MOBILE, DISPLAY_DESKTOP_TABLET, DISPLAY_DESKTOP_MOBILE, DISPLAY_TABLET_MOBILE]
    heightstring
    iAdvizeIdentifierstring
    iadvizeIdentifierstring
    personalizationPluginLocationenum. Can be [INSIDE_PAGES, ABOVE_PAGES]
    platformTypeenum. Can be [STANDARD, HIGH_AVAILABILITY]
    positionenum. Can be [TOP, BOTTOM, LEFT, RIGHT, CENTER, TOP_LEFT, TOP_RIGHT, BOTTOM_LEFT, BOTTOM_RIGHT, CUSTOM]
    widthstring

    PopIn
    NameTypeDescription
    animationDirectionenum. Can be [TOP, BOTTOM, LEFT, RIGHT, CENTER, TOP_LEFT, TOP_RIGHT, BOTTOM_LEFT, BOTTOM_RIGHT, CUSTOM]
    animationTriggerenum. Can be [ON_OPEN, ON_CLOSE, ON_OPEN_AND_CLOSE, CONTINUOUSLY]
    animationTypeenum. Can be [NONE, FADE, SLIDER, ZOOM_IN, ZOOM_OUT, BOUNCE]
    backgroundColorstring
    closeWithClickOnOverlayboolean
    customPositionAxisXstring
    customPositionAxisYstring
    displayImageConfigurationenum. Can be [DISPLAY_ALL_DEVICES, DISPLAY_ONLY_DESKTOP, DISPLAY_ONLY_TABLET, DISPLAY_ONLY_MOBILE, DISPLAY_DESKTOP_TABLET, DISPLAY_DESKTOP_MOBILE, DISPLAY_TABLET_MOBILE]
    fontSizestring
    heightstring
    heightImageDesktopstring
    heightImageMobilestring
    heightImageTabletstring
    htmlContentstring
    idTarget2Sellstring
    imageImage
    imageDesktopImage
    imageMobileImage
    imageTabletImage
    namestring
    positionenum. Can be [TOP, BOTTOM, LEFT, RIGHT, CENTER, TOP_LEFT, TOP_RIGHT, BOTTOM_LEFT, BOTTOM_RIGHT, CUSTOM]
    redirectURLstring
    targetBlankboolean
    templateboolean
    textColorstring
    textContentstring
    typeenum. Can be [SINGLE_IMAGE, FULL_IMAGE_TEXT, FULL_TEXT_IMAGE, HTML, TARGET2SELL]
    widthstring
    widthImageDesktopstring
    widthImageMobilestring
    widthImageTabletstring
    withOverlayboolean

    Image
    NameTypeDescription
    baseColorinteger
    colorDepthinteger
    datedatetime
    fileNamestring
    fileWeightlong
    formatenum. Can be [PNG, JPEG, GIF]
    heightinteger
    keywordsarray
    namestring
    sharedboolean
    siteIdlong
    sourcestring
    widthinteger

    StickyBlock
    NameTypeDescription
    animationDirectionenum. Can be [TOP, BOTTOM, LEFT, RIGHT, CENTER, TOP_LEFT, TOP_RIGHT, BOTTOM_LEFT, BOTTOM_RIGHT, CUSTOM]
    animationTriggerenum. Can be [ON_OPEN, ON_CLOSE, ON_OPEN_AND_CLOSE, CONTINUOUSLY]
    animationTypeenum. Can be [NONE, FADE, SLIDER, ZOOM_IN, ZOOM_OUT, BOUNCE]
    backgroundColorstring
    customPositionAxisXstring
    customPositionAxisYstring
    displayImageConfigurationenum. Can be [DISPLAY_ALL_DEVICES, DISPLAY_ONLY_DESKTOP, DISPLAY_ONLY_TABLET, DISPLAY_ONLY_MOBILE, DISPLAY_DESKTOP_TABLET, DISPLAY_DESKTOP_MOBILE, DISPLAY_TABLET_MOBILE]
    fontSizestring
    heightstring
    heightImageDesktopstring
    heightImageMobilestring
    heightImageTabletstring
    htmlContentstring
    idTarget2Sellstring
    imageImage
    imageDesktopImage
    imageMobileImage
    imageTabletImage
    namestring
    positionenum. Can be [TOP, BOTTOM, LEFT, RIGHT, CENTER, TOP_LEFT, TOP_RIGHT, BOTTOM_LEFT, BOTTOM_RIGHT, CUSTOM]
    redirectURLstring
    shiftContentboolean
    shouldScrollToboolean
    targetBlankboolean
    templateboolean
    textColorstring
    textContentstring
    typeenum. Can be [SINGLE_IMAGE, FULL_IMAGE_TEXT, FULL_TEXT_IMAGE, HTML, TARGET2SELL]
    widthstring
    widthImageDesktopstring
    widthImageMobilestring
    widthImageTabletstring

    ImageInPage
    NameTypeDescription
    domElementSelectorstring
    heightstring
    htmlContentstring
    imageImage
    mainPageUrlstring
    positionDefinitionenum. Can be [EDITOR, SELECTOR]
    positionSelectorRelativeenum. Can be [REPLACE, BEFORE, AFTER]
    redirectURLstring
    widthstring

    EmailAction
    NameTypeDescription
    customDataIndexinteger
    customSolutionNamestring
    emailContentSolutionenum. Can be [CUSTOM_TEMPLATE, HTML_CODE, NONE]
    emailSolution