Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Index

Table of Contents
excludeIndex

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

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"
}