Skip to main content
POST
Add a customer metadata

Authorizations

asapp-api-id
string
header
required
asapp-api-secret
string
header
required

Body

application/json

A set of customer metadata attributes

externalConversationId
string
required

Conversation ID from the external chat / voice system

Maximum string length: 256
Pattern: [a-zA-Z0-9\-\_]+
Example:

"issue509"

externalCustomerId
string
required

The customer id involved in respect to the issue in question

Maximum string length: 256
Pattern: [a-zA-Z0-9\-\_\.\@]+
Example:

"555.555.0100-jdoe@example.com"

eventId
string | null

An event id used to track the submission; if none is provided, service will generate one

Maximum string length: 256
Pattern: [a-zA-Z0-9\-\_]+
Example:

"eventId-1938"

status
string | null

The descriptive label to describe the customer's status and/or type

Maximum string length: 256
Pattern: [a-zA-Z0-9\-\_]+
Example:

"new"

phoneNumber
string | null

The customer's phone number

Maximum string length: 32
Pattern: [0-9\-\.\(\)\+]+
Example:

"(555)555-0100"

emailAddress
string<email> | null

The customer's email address

Example:

"jdoe@example.com"

userId
string | null

The customer's user Id

Maximum string length: 256
Pattern: [a-zA-Z0-9\-\_]+
Example:

"user908038"

addressCountry
string | null

The country portion of the customer's address

Maximum string length: 128
Pattern: [a-zA-Z0-9\-\_]+
Example:

"United-States"

addressState
string | null

The state portion of the customer's address

Maximum string length: 128
Pattern: [a-zA-Z0-9\-\_]+
Example:

"New-York"

addressZipcode
string | null

The zipcode/postal code portion of the customer's address

Maximum string length: 16
Pattern: [a-zA-Z0-9\-\_]+
Example:

"10001"

attributes
object[] | null

A map of key-value pairs for extra metadata attributes

Maximum array length: 10
Example:

Response

200 - Success Submit a single item to the service to be ingested. Record can be traced back to the submitted record by the eventId. A message sent status will be returned with no error message for successful input checks.

result
object
required

A response with the status of a sent message

Example: