Add properties to respondent

POST - Set or update

The Custom Data API is a feature included in

Premier and Enterprise plans.

The Custom Data API allows you to send custom data on specific custom user IDs and improve your campaign targetings.

Request structure

The users data endpoint allows you to set user data either for one user, or for multiple users.

Important Note:Any data changed by calling this API willnotbe available in real time: Processing time can be required.


The custom data API exposes two POST endpoints:

  • /api/data/user for a single update

NOTE:YOUR_USER_IDis a custom id as described here

Single update:

curl -H 
"Content-Type: application/json"
"Authorization: Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpZCI6IjU5ZDczNTNiNjU0YzE5MDAxMWI1NDRmZSJ9.v1Q9KT8vtvPSJvWcXKKET2Bh7quxowauNL_iA61tGqo"Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpZCI6IjU5ZDczNTNiNjU0YzE5MDAxMWI1NDRmZSJ9.v1Q9KT8vtvPSJvWcXKKET2Bh7quxowauNL_iA61tGqo"
 -X POST -d 


In order to authenticate with the API, you need to provide your company REST API Key as the value of theAuthorization Header.

"Authorization":"Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpZCI6IjU5ZDczNTNiNjU0YzE5MDAxMWI1NDRmZSJ9.v1Q9KT8vtvPSJvWcXKKET2Bh7quxowauNL_iA61tGqo"Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpZCI6IjU5ZDczNTNiNjU0YzE5MDAxMWI1NDRmZSJ9.v1Q9KT8vtvPSJvWcXKKET2Bh7quxowauNL_iA61tGqo

Post data

The body of the request must contain a valid JSON describing the update operations to execute for the user's custom data.

Here is a how a complete JSON payload looks like:

    "attribute": {
        "favorite_brands": {
            "$inc": 98

Add properties to the application


with data, the same as for the previous one.

results matching ""

    No results matching ""