Communities
Get community moderators
GET /v1/communities/{community_id}/moderators reads 2 credits
The admins and moderators of a Community.
Query parameters
| Query parameter | Type | Meaning |
|---|---|---|
count | int 1–100 = 50 | Requested page size; X treats it as a hint |
cursor | string | From the previous page's next_cursor; a cursor that cannot be decoded is 400 |
response
Same shape as members; most Communities fit on one page, so next_cursor is usually null.
Status: 200, 400, 404, 422, 429, 502
request
curl https://api.xsignalfeed.com/v1/communities/1493446837214187523/moderators \ -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"
},
{
"…": "…",
"role": "Moderator"
}
],
"next_cursor": null
}