Chatbots
The Chatbot API can be used to retrieve your chatbots within your Support AI account.
Properties
- Name
id
- Type
- string
- Description
Unique identifier for the chatbot.
- Name
uid
- Type
- string
- Description
Secondary identifier for the chatbot. (Deprecated)
- Name
name
- Type
- string
- Description
The name of the chatbot.
- Name
configuration
- Type
- string
- Description
The details of the chatbot configuration.
GET/getMyChatbots
List all Chatbots
Get the list of all your chatbots including their settings of your account.
Request
GET
/getMyChatbotscurl -G https://api.supportai.com/getMyChatbots \
-H "Authorization: Bearer IDZFdfiD..." \
Response
{
"success": true,
"data": [
{
"id": "i082x935...",
"name": "My Chatbot",
"configuration": "{json string containing chatbot's configuration}"
},
...
]
}
GET/fetchChatbot/:chatbot_id
Fetch Chatbot
Get the details of a specific chatbot of your account based on the ID.
Required attributes
- Name
chatbot_id
- Type
- string
- Description
The ID of the chatbot being requested.
Request
POST
/fetchChatbot/:chatbot_idcurl https://api.supportai.com/fetchChatbot/:chatbot_id \
-H "Authorization: Bearer IDZFdfiD..." \
Response
{
"success": true,
"data": [
{
"id": "i082x935...",
"name": "My Chatbot",
"configuration": "{json string containing chatbot's configuration}"
}
]
}