Add a conversation metadata
Add metadata attributes of one issue/conversation
Body
A set of conversation metadata attributes
Conversation ID from the external chat / voice system
256
"issue1389"
An event id used to track the submission; if none is provided, service will generate one
256
"eventId-1388"
The line of business id
256
"1038"
The descriptive name of the line of business
256
"manufacturing"
The group id of which the agent belong to
256
"group59"
The descriptive name of the group
256
"groupXYZ"
The agent's routing attribute
256
"route-13988"
The activities related to the issue
256
"campaign-A"
The client's device type
TABLET
, PHONE
, DESKTOP
, WATCH
, OTHER
"TABLET"
The client's platform type WAB: WhatsApp Business
SMS
, WEB
, IOS
, ANDROID
, APP
, LOCAL
, VOICE
, VOICE_IOS
, VOICE_ANDROID
, VOICE_ECHO
, VOICE_HOMEPOD
, VOICE_GGLHOME
, VOICE_WEB
, APPLEBIZ
, GOOGLEBIZ
, GBM
, WAB
"IOS"
The company's segment of which the issue belongs to
["Sales", "Marketing"]
The company's subdivision of which the issue belongs to
256
"Operating"
The business rule to use
256
"Apply customer's discount"
The way the issue started and created in the system
256
"reactive"
The operating system used to enter the issue
MAC_OS
, LINUX
, WINDOWS
, ANDROID
, IOS
, OTHER
"MAC_OS"
The browser type used
64
"Safari"
The browser version used
16
"14.1.2"
A map of key-value pairs for extra metadata attributes
A key-value pair of additional metadata attributes
[
{
"name": "attr1_name",
"value": "attr1_value"
},
{
"name": "attr2_name",
"value": "attr2_value"
}
]
Response
A response with the status of a sent message
{
"eventId": "5484e507-feaf-11ec-bfc1-fda566fa9333",
"error": "FAIL_BAD_PARAMS: ERROR: agent id cannot be blank"
}
Was this page helpful?