POST
/
api
/
v1
/
agents
/
test
/
messages

Authorizations

Syllable-API-Key
string
header
required

Body

application/json

Message sent in a test chat with an agent.

service_name
string
required

Name of the service producing the message

source
string
required

Name of the source of the message, should identify the user, like an email or username

test_id
string
required

Channel-manager-side ID of the session (see Session.channel_manager_sid)

agent_id
string
required

ID of the agent with which the chat is taking place

org_name
string
required

Name of the organization associated with the agent

text
string | null

The text of the message

override_timestamp
string | null

Override for the timestamp of the message

session_start
boolean
default:
false

Whether this message is the start of a new session

Response

200
application/json

Response from an agent in a test chat.

test_id
string
required

Channel-manager-side ID of the session (see Session.channel_manager_sid)

agent_id
string
required

ID of the agent with which the chat is taking place

text
string

The text of the message that elicited the response

response
object
response_text
string

The text of the response