Conversation with Chatbot Agent
The Chatbot Conversation API is a powerful tool designed to enable developers to integrate chatbot functionalities into their applications.
This API allows seamless communication between a client application and a custom chatbot service agent, facilitating natural language processing and response generation.
Get your Chatbot Agent ID
A Chatbot Agent ID is gotten from the Autogon console after a successful creation of a chatbot agent, see here on how to create a Chatbot Agent.
Authentication
Requests to this API doesn't require an API Key to be included in its headers
Pricing
Requests made to the Chatbot Conversation API are billed. Each message - response cycle incurs a specific charge.
The pricing for API requests is as follows:
Per Request Cost: 0.05 units per API request
POST
https://api.autogon.ai/api/v1/services/chatbot/{agent_id}/chat/
Initiates a new conversation session with the chatbot.
Path Parameters
agent_id*
String
Unique identifier for the Agent which responds to the conversation.
Headers
Content-Type*
String
application/json
Request Body
question*
String
message from the user
session_id
String(UUID v4)
Identifier for the ongoing conversation session.
Sample request
Autogon Response
Last updated