Agent

An endpoint for interacting with Agent apps using chat messages.

Chat

post

This endpoint allows you to send a message (chat) to an Agent app. You can include inputs with your message which will be passed to the app.

Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
app_uuidstringRequired

The app uuid, you can find the app uuid by going to the App => Integrate

Body
messagestringRequired

The message to send to the agent

Example: Hello, I need help with this.
session_idstringOptional

The session id of the chat. Use the session_id to send a message to an existing conversation. If not present, a new session will be created after sending the first message.

Example: 23iu3h23-34n43yib4-3243n34b4-34n434h
Responses
chevron-right
200

Message sent

application/json
post
/public_api/agent_apps/{app_uuid}/chat

Async Chat

post

This endpoint allows you to send a message (chat) to an Agent app asynchronously, without waiting for the response. You can include inputs with your message which will be passed to the app.

Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
app_uuidstringRequired

The app uuid, you can find the app uuid by going to the App => Integrate

Body
messagestringRequired

The message to send to the agent.

Example: Hello, how are you?
Responses
chevron-right
200

Message sent

application/json
post
/public_api/agent_apps/{app_uuid}/async_chat

Last updated

Was this helpful?