Skip to main content

Overview

The channels query is designed to fetch a list of channels accessible to the authenticated user. This includes public channels in the user’s team and private channels where the user is a member.

Arguments

This query does not require any arguments.

Schema

Fields available to the Channel query

Usage Example

query Channels {
  channels {
    id
    title
    is_private
    created_by
    created_at
    updated_at
    members {
      user_id
      email
      name
    }
  }
}
curl -X POST \
    -H "Content-Type: application/json" \
    -H "Authorization: Bearer your_api_key" \
    --data '{ "query": "query Channels { channels { id title is_private members { user_id email } } }" }' \
    https://api.fireflies.ai/graphql
{
  "data": {
    "channels": [
      {
        "id": "channel-id-1",
        "title": "Engineering",
        "is_private": false,
        "members": [
          {
            "user_id": "user-id-1",
            "email": "[email protected]",
            "name": "John Doe"
          },
          {
            "user_id": "user-id-2",
            "email": "[email protected]",
            "name": "Jane Smith"
          }
        ]
      },
      {
        "id": "channel-id-2",
        "title": "Private Project",
        "is_private": true,
        "members": [
          {
            "user_id": "user-id-1",
            "email": "[email protected]",
            "name": "John Doe"
          }
        ]
      }
    ]
  }
}

Additional Resources