List bots
A page of your bots, newest publication first. order also takes -created_at and name.
state=trashed lists what is in the trash instead of what is in use.
Sorting by when the content last changed is not offered.
Query Parameters
- Type: enumstate
Lifecycle state. Defaults to
active, so trashed bots are not listed.activeis a bot in use.trashedis a bot that has been deleted but is recoverable; it does not serve conversations. - Type: integerworkspace
Workspace the bot belongs to
- Type: stringsearch
Case-insensitive match on the bot name
- Type: enumchannel
_family The family the bot runs on. Filtering by channel type is not offered.
valueslandbotwhatsappfacebookapichat - Type: "-last_published_at" or "-created_at" or "name"enumorder
How the page is sorted.
-last_published_atis the most recently published first,-created_atthe most recently created first, andnamealphabetical. - Type: integerpagemin:1
Integer numbers.
- Type: integerpage
_size min:1max:100Integer numbers.
Responses
- application/json
- application/json
- application/json
- application/json
- application/json
- application/json
Request Example for get/bots
curl 'https://api.landbot.io/v0-alpha/bots?state=active&channel_family=landbot&order=-last_published_at&page=1&page_size=20' \
--header 'Authorization: Token YOUR_AGENT_TOKEN'
{
"data": [
{
"id": "123e4567-e89b-12d3-a456-426614174000",
"name": "string",
"channel_family": "landbot",
"state": "active",
"required_tier": "sandbox",
"builder_version": "string",
"is_active": true,
"preview_only": true,
"is_published": true,
"workspace": 1,
"created_at": "2026-09-16T09:18:19",
"edited_at": "2026-09-16T09:18:19",
"edited_by": {
"id": 1,
"name": "string"
},
"last_published_at": "2026-09-16T09:18:19",
"published_by": {
"id": 1,
"name": "string"
}
}
],
"meta": {
"total": 1,
"page": 1,
"page_size": 1
}
}