curl --request GET \
--url https://api.member.dev/api/v1/admin/teams/{team_id}/hubs/{hub_id}/moderation/queue \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.member.dev/api/v1/admin/teams/{team_id}/hubs/{hub_id}/moderation/queue"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.member.dev/api/v1/admin/teams/{team_id}/hubs/{hub_id}/moderation/queue', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.member.dev/api/v1/admin/teams/{team_id}/hubs/{hub_id}/moderation/queue",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.member.dev/api/v1/admin/teams/{team_id}/hubs/{hub_id}/moderation/queue"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.member.dev/api/v1/admin/teams/{team_id}/hubs/{hub_id}/moderation/queue")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.member.dev/api/v1/admin/teams/{team_id}/hubs/{hub_id}/moderation/queue")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"data": [
{
"attributes": {
"created_at": "<string>",
"hub_id": "<string>",
"notes": "<string>",
"reason_id": "<string>",
"reportable_id": "<string>",
"reportable_type": "<string>",
"reporter_contact_id": "<string>",
"resolution": "<string>",
"resolved_at": "<string>",
"resolved_by_user_id": "<string>",
"status": "<string>",
"team_id": "<string>",
"updated_at": "<string>"
},
"id": "<string>",
"type": "<string>",
"meta": {
"first_reported_at": "<string>",
"last_reported_at": "<string>",
"report_count": 123,
"content_preview": "<string>",
"is_new": true,
"parent_comment_id": "<string>",
"reason_breakdown": [],
"space_id": "<string>",
"space_name": "<string>",
"title": "<string>"
},
"relationships": {
"author": {
"data": {
"id": "<string>",
"type": "<string>"
}
}
}
}
],
"included": [
{
"attributes": {
"avatar_url": "<string>",
"display_name": "<string>",
"is_former_member": false,
"membership_status": "active",
"role": "owner"
},
"id": "<string>",
"type": "contacts"
}
],
"meta": {}
}{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>",
"ctx": {},
"input": "<unknown>"
}
]
}List Moderation Queue
Return the duplicate-collapsed moderation queue for a hub.
Each entry represents a unique (reportable_type, reportable_id) target.
The meta block on each resource carries report_count, first_reported_at,
content_preview (first 280 chars of body), and reason_breakdown.
Top-level included carries sideloaded contact resources for content authors.
A mention token naming a former member of the hub reads “@Former member” in
content_preview and title.
Query parameters:
filter[status] — default ‘pending’; any valid report status accepted.
filter[reportable_type] — optional; restrict to discussion | comment | member | message.
sort — one of last_reported_at | -last_reported_at |
report_count | -report_count | reportable_type |
-reportable_type | content | -content |
author_name | -author_name.
Default ‘-last_reported_at’ matches the earlier
implicit order
byte-for-byte. ‘content’/‘-content’ orders by
the effective visible content text (discussion
title-fallback-to-body, or comment body);
member/message reports have no content and
sort last in both directions. ‘author_name’/
‘-author_name’ orders by the content author’s
resolved display name (contact-only — Reports
authors are never platform users); member/
message reports have no author and sort last
in both directions. Anything else → 422
invalid_sort.
page[size] — 1-100, default 20.
page[after] — opaque cursor from previous page’s meta.next_cursor.
Must have been minted under the same sort — a
mismatch → 422 invalid_cursor.
curl --request GET \
--url https://api.member.dev/api/v1/admin/teams/{team_id}/hubs/{hub_id}/moderation/queue \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.member.dev/api/v1/admin/teams/{team_id}/hubs/{hub_id}/moderation/queue"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.member.dev/api/v1/admin/teams/{team_id}/hubs/{hub_id}/moderation/queue', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.member.dev/api/v1/admin/teams/{team_id}/hubs/{hub_id}/moderation/queue",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.member.dev/api/v1/admin/teams/{team_id}/hubs/{hub_id}/moderation/queue"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.member.dev/api/v1/admin/teams/{team_id}/hubs/{hub_id}/moderation/queue")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.member.dev/api/v1/admin/teams/{team_id}/hubs/{hub_id}/moderation/queue")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"data": [
{
"attributes": {
"created_at": "<string>",
"hub_id": "<string>",
"notes": "<string>",
"reason_id": "<string>",
"reportable_id": "<string>",
"reportable_type": "<string>",
"reporter_contact_id": "<string>",
"resolution": "<string>",
"resolved_at": "<string>",
"resolved_by_user_id": "<string>",
"status": "<string>",
"team_id": "<string>",
"updated_at": "<string>"
},
"id": "<string>",
"type": "<string>",
"meta": {
"first_reported_at": "<string>",
"last_reported_at": "<string>",
"report_count": 123,
"content_preview": "<string>",
"is_new": true,
"parent_comment_id": "<string>",
"reason_breakdown": [],
"space_id": "<string>",
"space_name": "<string>",
"title": "<string>"
},
"relationships": {
"author": {
"data": {
"id": "<string>",
"type": "<string>"
}
}
}
}
],
"included": [
{
"attributes": {
"avatar_url": "<string>",
"display_name": "<string>",
"is_former_member": false,
"membership_status": "active",
"role": "owner"
},
"id": "<string>",
"type": "contacts"
}
],
"meta": {}
}{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>",
"ctx": {},
"input": "<unknown>"
}
]
}Authorizations
Send platform JWTs, contact JWTs, or team API keys as Authorization: Bearer <token>.
Query Parameters
Sort order for the queue. One of: -author_name, -content, -last_reported_at, -report_count, -reportable_type, author_name, content, last_reported_at, report_count, reportable_type
-author_name, -content, -last_reported_at, -report_count, -reportable_type, author_name, content, last_reported_at, report_count, reportable_type 1 <= x <= 100