List channels
Returns the channels in your workspace.
Query Parameters
- Type: stringenumtype
Filter by channel type.
values- facebook
- apichat
- landbot
- whatsapi
- Type: booleanactive
Filter by active status.
- Type: integeroffset
Integer numbers.
- Type: integerlimitmin:0max:100
Integer numbers.
Responses
- application/json
Request Example for get/channels/
curl 'https://api.landbot.io/v1/channels/?type=facebook&active=true&offset=0&limit=20' \
--header 'Authorization: Token YOUR_AGENT_TOKEN'
{
"success": true,
"total": 20,
"channels": [
{
"id": 32,
"name": "Facebook Test",
"type": "facebook",
"active": true,
"created_at": 1487261343.857799,
"facebook_id": "508675412663271"
}
]
}