Editing user information

Index

1. PUT /topic/context/edit

Method: PUT

Pathname:

1 {{baseUrl}}/api/v1/{{codename}}/topic/messageuser/:messageUserId/context/edit

Header:

1 2 3 Accept: 'application/json' Content-Type: 'application/json' Authorization: 'Bearer ' + accessToken

Url params:

Parameter

type

Description

Parameter

type

Description

codename

String

Request the Chat-Tonic team.

messageUserId

String

MessageUser ID

Request params:

Parameter

type

Description

Parameter

type

Description

key

string

Context key

value

string

Value

Allowed keys:

Key

Description

 

 

 

Key

Description

 

 

 

firstName

Given name

 

 

 

lastName

Family name

 

 

 

profile.email

Email

 

 

 

profile.phone

Phone

 

 

 

Body:

1 2 3 4 { "key": "firstName", "value": "Lautaro 2" }

Response:

Edit the messageUser in Customer Service and Chat-Tonic.

1 2 3 4 5 6 { "ok": true, "messageUserId": "5d824ee4c43bfe2439e631cb", "key": "firstName", "value": "Lautaro 2" }