Autonome API guide
Guide
Go to your Manage agent page post-deployment. Fetch your API URL and “View details” to get the username and password to access this API:
Generate the HTTP Basic Auth Header with the username and password (using a tool like this)
Fetch the agent ID via the curl request below:
curl --location --request GET '
https://autonome.alt.technology/nader-mqgsil/agents
' \
--header 'Authorization: Basic bmFkZXI6cElDVHRaYURUYw==
You will receive a response like below:
Start talking to your agent via the curl request below (following the chat request schema that was previously defined by the default frameworks available or by you when uplaoding your own custom framework):
curl --location --request POST '
https://autonome.alt.technology/nader-mqgsil/981a34a8-9479-01e6-bf53-201149f63ddf/message
' \
--header 'Content-Type: application/json' \
--header 'Authorization: Basic bmFkZXI6cElDVHRaYURUYw==' \
--data '{
"text": "hi"
}
You will receive a response like below:
Last updated