Chatbots
List chatbots
Chatbots
List chatbots
Get a list of all the chatbots in the project.
GET
/
chatbots
curl --request GET \
--url https://api.chatling.ai/v2/chatbots \
--header 'Authorization: Bearer <token>'
{
"status": "success",
"data": {
"pages": {
"current_page": 1,
"last_page": 1,
"per_page": 25
},
"chatbots": [
{
"id": "8917794239",
"name": "My first chatbot",
"version": "2.0",
"visibility": "public",
"created_at": "2024-06-05T12:13:35:00+00:00"
}
]
}
}
Request parameters
Query
page
integer
default: "1"The page number for pagination.
Response
status
string
The status of the request. Will be success
if the request was successful, otherwise error
.
data
object
pages
object
current_page
integer
The current page number.
last_page
integer
The last page number.
per_page
integer
The number of items per page.
chatbots
array
id
string
The unique identifier of the chatbot.
name
string
The name of the chatbot.
version
string
The version of the chatbot.
visibility
string
The visibility of the chatbot. Can be public
or private
.
created_at
string
The date the chatbot was created.
{
"status": "success",
"data": {
"pages": {
"current_page": 1,
"last_page": 1,
"per_page": 25
},
"chatbots": [
{
"id": "8917794239",
"name": "My first chatbot",
"version": "2.0",
"visibility": "public",
"created_at": "2024-06-05T12:13:35:00+00:00"
}
]
}
}
curl --request GET \
--url https://api.chatling.ai/v2/chatbots \
--header 'Authorization: Bearer <token>'
{
"status": "success",
"data": {
"pages": {
"current_page": 1,
"last_page": 1,
"per_page": 25
},
"chatbots": [
{
"id": "8917794239",
"name": "My first chatbot",
"version": "2.0",
"visibility": "public",
"created_at": "2024-06-05T12:13:35:00+00:00"
}
]
}
}