/v1/workspaces/{workspace_id}/communities/{community_id}/moderation/flagsAuthList flags in this community. Filter by ?status=open|dismissed|actioned. 50/page (max 200), cursor-paginated.
Path parameters
workspace_id*string · uuidId of the workspace.
community_id*string · uuidId of the community.
Query parameters
statusenum (3)Only reports with this status.
limitintegerMaximum number of items to return (1-200, default 50).
cursorstringOpaque cursor from the previous page's `pagination.next_cursor`; omit for the first page.
Response · 200 Page of flags with next-cursor and has-more.
data*arrayThe reports on this page.
pagination*objectnext_cursor*stringOpaque base64url cursor for the next page; `null` when no further pages.
Example: "eyJjcmVhdGVkX2F0IjoiMjAyNi0wNS0wMVQxMjowMDowMC4wMDBaIiwiaWQiOiJiYmJiIn0"
has_more*boolean`true` when at least one more page exists. Mirrors `next_cursor !== null`; published as a separate field so SDKs can drive a `while` loop without parsing the cursor. A short or empty `data` array does NOT imply the end of the list when a lane post-filters — always page until this is `false`.
Example: true
Example
Request
GET https://social.productcraft.co/v1/workspaces/{workspace_id}/communities/{community_id}/moderation/flags
Authorization: Bearer YOUR_TOKENimport { Social } from "@productcraft/social";
// Reads PRODUCTCRAFT_API_KEY from the environment
const social = new Social();
for await (const flag of social.communities.moderation.flags.list("3f0c3c1e-8a2b-4c55-9d3f-0a1b2c3d4e5f")) {
console.log(flag);
}
const page = await social.communities.moderation.flags.list("3f0c3c1e-8a2b-4c55-9d3f-0a1b2c3d4e5f", {}, { timeout: 5_000 });social.communities.moderation.flags.list(communityId, params?, options?): PagePromise<Social.Flag>
Response
{
"data": [
{
"id": "ffffffff-0000-0000-0000-000000000001",
"community_id": "cccccccc-cccc-cccc-cccc-cccccccccccc",
"target_kind": "post",
"target_id": "bbbbbbbb-bbbb-bbbb-bbbb-bbbbbbbbbbbb",
"reporter_actor_id": "aaaaaaaa-0000-0000-0000-000000000001",
"reporter_actor": {},
"reason": "Spam — same link posted 6 times in 5 minutes.",
"status": "open",
"created_at": "2026-05-01T12:00:00.000Z",
"updated_at": "2026-05-01T12:00:00.000Z"
}
],
"pagination": {
"next_cursor": "eyJjcmVhdGVkX2F0IjoiMjAyNi0wNS0wMVQxMjowMDowMC4wMDBaIiwiaWQiOiJiYmJiIn0",
"has_more": true
}
}