List channels

Returns the channels in your workspace.

Query Parameters
  • type
    Type: stringenum

    Filter by channel type.

    values
    • facebook
    • apichat
    • landbot
    • whatsapi
  • active
    Type: boolean

    Filter by active status.

  • offset
    Type: integer

    Integer numbers.

  • limit
    Type: integer
    min:  
    0
    max:  
    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"
    }
  ]
}