Foxli
Log inStart free
API reference / channels

List connected channels

GET/v1/channelsPermission channels:read

Lists all social channels connected to the active workspace.

Headers
AuthorizationstringREQUIRED

Bearer followed by your API key.

Foxli-Workspacestring

Target workspace ID. Required if account owns or admins more than one workspace.

Query parameters
workspace_idstring

Alternative way to pass workspace ID.

Errors
400workspace_requiredInvalid request parameters or missing workspace context.
401invalid_api_keyMissing, invalid, or revoked API key.
403insufficient_scopeInsufficient scope, insufficient plan tier, or unauthorized workspace.
curl https://api.foxli.app/v1/channels \
  -H "Authorization: Bearer $FOXLI_API_KEY" \
  -H "Foxli-Workspace: ws_brand_primary"
Response200 OK
{
  "next_cursor": null,
  "data": [
    {
      "id": "ch_x_12345",
      "provider": "x",
      "handle": "acme_global",
      "display_name": "Acme Global",
      "status": "active",
      "avatar_url": "https://foxli.app/avatars/x_acme.jpg"
    }
  ]
}

Build on Foxli.

Publish posts, sync social channels, stream analytics, and get instant webhooks.

No card for month one · Cancel anytime