Add a customer metadata
Add metadata attributes of one customer
Body
A set of customer metadata attributes
Conversation ID from the external chat / voice system
256
"issue509"
The customer id involved in respect to the issue in question
256
"555.555.0100-jdoe@example.com"
An event id used to track the submission; if none is provided, service will generate one
256
"eventId-1938"
The descriptive label to describe the customer's status and/or type
256
"new"
The customer's phone number
32
"(555)555-0100"
The customer's email address
"jdoe@example.com"
The customer's user Id
256
"user908038"
The country portion of the customer's address
128
"United-States"
The state portion of the customer's address
128
"New-York"
The zipcode/postal code portion of the customer's address
16
"10001"
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?