From c96cf155339149472db2b4b2e32113f569f77169 Mon Sep 17 00:00:00 2001 From: Harshal Dhir Date: Mon, 10 Aug 2020 13:19:04 -0700 Subject: [PATCH] updating readme for new api --- index.rst | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/index.rst b/index.rst index 851d97a..afd1316 100644 --- a/index.rst +++ b/index.rst @@ -329,9 +329,11 @@ The personalization and engagement api is the core base to build sophisticated r The process starts with tagging a user, Tagging a user allows you to open up multiple re-targeting or re-engagement use cases such as sending daily news, personalized responses, etc. +This opens up your chat bot to support variety of deeply personalized use cases without a need for a huge dev ops team. + Tag a User ----------------------------------------------------------------------------- -Annotate or Tag a user for deeper personalization. +Annotate or Tag a user with values for deeper personalization. :: @@ -339,9 +341,10 @@ Annotate or Tag a user for deeper personalization. --header 'api_token: ' \ --header 'Content-Type: application/json' \ --data-raw '{ - "tag": "india", + "tag": "preferred_languages", "status": 1, - "displayName": "India" + "values": ["en", "fr"], + "displayName": "Languages" }' Un-tag a User @@ -354,9 +357,8 @@ Un-tag a user for deeper personalization. --header 'api_token: ' \ --header 'Content-Type: application/json' \ --data-raw '{ - "tag": "india", - "status": 0, - "displayName": "India" + "tag": "preferred_languages", + "status": 0 }' Get all the Active Tags for a Particular User in Context