Report a message to GAMPEON
const url = 'https://api.gampeon.com/v1/communities/1/messages/1/reports';const options = { method: 'POST', headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'}, body: '{"category":"illegal_content","explanation":"example","reporterName":"example","reporterEmail":"hello@example.com","anonymous":true,"goodFaith":true}'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request POST \ --url https://api.gampeon.com/v1/communities/1/messages/1/reports \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "category": "illegal_content", "explanation": "example", "reporterName": "example", "reporterEmail": "hello@example.com", "anonymous": true, "goodFaith": true }'For illegal content or breaks of the GAMPEON terms (Art. 16 DSA), separate from the moderators of the community. GAMPEON keeps a copy of the message and the three before it. You get a confirmation and the result.
Not available with access tokens.
Rate limit: 10 per hour per IP.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”Community ID
Message ID
Request Bodyrequired
Section titled “Request Bodyrequired”object
Defaults to your display name
Defaults to your email address
Only for child_safety: report without name and email
Confirms the report is made in good faith
Responses
Section titled “Responses”Report received (200 if you already reported it)
object
Example
{ "status": "open"}Error codes: invalid_field
object
Machine-readable error code, for example not_found or rate_limited.
Human-readable detail. Only present for some errors.
Example generated
{ "error": "example", "message": "example"}Error codes: unauthorized
object
Machine-readable error code, for example not_found or rate_limited.
Human-readable detail. Only present for some errors.
Example generated
{ "error": "example", "message": "example"}Error codes: token_not_allowed
object
Machine-readable error code, for example not_found or rate_limited.
Human-readable detail. Only present for some errors.
Example generated
{ "error": "example", "message": "example"}Error codes: not_found
object
Machine-readable error code, for example not_found or rate_limited.
Human-readable detail. Only present for some errors.
Example generated
{ "error": "example", "message": "example"}Error codes: good_faith_confirmation_required
object
Machine-readable error code, for example not_found or rate_limited.
Human-readable detail. Only present for some errors.
Example generated
{ "error": "example", "message": "example"}Limit: 10 per hour per IP. Error codes: rate_limited
object
Machine-readable error code, for example not_found or rate_limited.
Human-readable detail. Only present for some errors.
Example generated
{ "error": "example", "message": "example"}