Index
Table of Contents | ||
---|---|---|
|
1. PUT /topic/context/edit
Pathname:
Code Block |
---|
{{baseUrl}}/api/v1/{{codename}}/topic/messageuser/:messageUserId/context/edit |
Method: POST
Header:
Code Block |
---|
Accept: 'application/json'
Content-Type: 'application/json'
Authorization: 'Bearer ' + accessToken |
Url params:
Parameter | type | Description |
---|---|---|
codename | String | Request the Chat-Tonic team. |
messageUserId | String | MessageUser ID |
Request params:
Parameter | type | Description |
---|---|---|
key | string | Context key |
value | string | Value |
Allowed keys:
Key | Description | |||
---|---|---|---|---|
firstName | Given name | |||
lastName | Family name | |||
profile.email | ||||
profile.phone | Phone |
Body:
Code Block |
---|
{
"key": "firstName",
"value": "Lautaro 2"
} |
Response:
Info |
---|
Edit the messageUser in Customer Service and Chat-Tonic. |
Code Block |
---|
{
"ok": true,
"messageUserId": "5d824ee4c43bfe2439e631cb",
"key": "firstName",
"value": "Lautaro 2"
} |