Skip to main content
Step 2 of Chat with an agent. Opens a text chat. The agent replies exactly as it would on a phone call, so you can test it without dialing anyone. No phone call is made. Your wallet must have balance.

Path

number
required
Agent ID.

Body

object
required
A value for every variable from Prepare chat. Send {} if the agent has none.

Response

number
Save this. You need it to send messages.
number
Send it with your next message.
array
The chat so far. assistant is the agent, user is the customer.

Errors