Communities

Get community members

GET /v1/communities/{community_id}/members reads 2 credits

The members of a Community, admins and moderators first, each with its role.

Query parameters

Query parameterTypeMeaning
countint 1–100 = 50Requested page size; X treats it as a hint
cursorstringFrom the previous page's next_cursor; a cursor that cannot be decoded is 400

response

The Community id, a page of user records carrying identity, avatar, badges and role (bio and counts are not available here), and a cursor for the next page (null at the end).

Status: 200, 400, 404, 422, 429, 502

request
curl https://api.xsignalfeed.com/v1/communities/1493446837214187523/members?count=50 \
  -H "Authorization: Bearer xsf_your_key"
response · 200 / 400
{
  "community_id": "1493446837214187523",
  "users": [
    {
      "id": "641633",
      "screen_name": "marckohlbrugge",
      "name": "Marc Köhlbrugge",
      "bio": "",
      "avatar": "https://pbs.twimg.com/profile_images/1857124042433572864/…_normal.jpg",
      "banner": null,
      "followers": null,
      "following": null,
      "tweets": null,
      "location": "",
      "url": null,
      "verified": true,
      "verified_type": "blue",
      "protected": false,
      "created_at": null,
      "category": null,
      "role": "Admin"
    },
    {
      "…": "…"
    }
  ],
  "next_cursor": "CycRAAAAAAwABAwKmwzBVQo+vQAAAABEb5BTCm07AAABfwdrA/gADJorCj69f…"
}