Skip to main content
POST
Send a test turn to a deployed Copilot

Authorizations

X-API-Key
string
header
required

Supply the API Key in the HTTP-Header

Headers

Accept
enum<string>

The Accept header specifies the media type that the client expects in the response. Available options: application/json, application/hal+json, application/xml, text/xml, text/csv. The default value is application/json.

Available options:
application/json,
application/hal+json,
application/xml,
text/xml,
text/csv

Path Parameters

copilotConfigId
string
required

The unique identifier for the Copilot config.

Required string length: 24
Pattern: ^[a-z0-9]{24}$

Body

application/json

One turn for a Copilot's test contact: either a text turn (customer or agent, with text) or an event turn (System, with copilotEvent). The participant values of the two do not overlap, so a request matches exactly one.

text
string
required

What was said. Must contain something other than whitespace.

Minimum string length: 1
Pattern: \S
data
object
required
urlToken
string
required

The urlToken the open-session operation returned.

userId
string
required

The session's userId.

sessionId
string
required

The session's sessionId.

projectId
string
required
Required string length: 24
Pattern: ^[a-z0-9]{24}$

Response

The endpoint accepted the turn.

An acknowledgement only. The endpoint acks before the flow runs, and the Copilot's output reaches the Agent Copilot workspace on its own connection.

status
enum<string>
Available options:
message sent
Last modified on October 12, 2026