Skip to main content
Create Report
Submits a report on an entity, comment, or chat message. If an open report already exists for the target, the authenticated user’s report is added to it (increments reporterCount). If the same user already reported that open report, nothing new is created and their existing report comes back with 200. Resolved reports (dismissed and actioned, a moderator’s decisions, and auto-closed, closed by the system) are closed: a later report of the same target creates a new report rather than reopening the old one. A target therefore has at most one open report at a time, alongside any number of resolved ones. Authentication required. Rate limit: 25 requests per 5 minutes. An entity, or a comment, in a space the reporter can’t read (see who can read content; a comment goes by its entity’s space) answers 404 report/target-not-found, exactly like a target that doesn’t exist. A ban doesn’t stop a user reporting content they can still read. Only content users posted can be reported. An entity or comment with no author — the app’s own (created with a service key naming nobody), or what a deleted account left behind — answers 400 report/no-author. (A deleted account’s chat messages are deleted messages, which answer 404 report/target-not-found, below.) Content its author deleted (a comment or chat message), and content a moderator removed, can’t be reported: 404 report/target-not-found. When its author deletes content, its open report is closed automatically: status becomes "auto-closed" and actionTaken is "Deleted by its author.". When the author’s account is deleted, the open reports on everything they wrote close the same way, with actionTaken "Its author's account was deleted.". The report stays, as history.

Body Parameters

string
required
The UUID of the entity, comment, or chat message being reported. For a message this is the message id — the conversation is resolved server-side, so no conversationId is needed.
string
required
The type of content being reported. One of: entity, comment, message. Values match exactly: another case ("Entity") returns 400 report/invalid-body.
string
required
The reason for the report. Must be one of: spam, inappropriateContent, harassment, misinformation, hateSpeech, violence, illegalActivity, selfHarm, other. Any other value is rejected with report/invalid-body — use other plus details for anything the taxonomy doesn’t cover.
string | null
Optional additional context or description provided by the reporter. null or an empty string stores none.
string
Service key only, and required with one: the user this request acts as. This user is the reporter. A user token always acts as its own user and must not send it (400 report/acting-user-not-allowed).

Response

Returns the authenticated user’s own report of the target: their submission, not the shared report that collects every reporter.
  • 201 Created when this call records the user’s report, whether it opens a new report or joins an open one other users already filed.
  • 200 OK when the user already reported this open report. The body is their existing record, and nothing is changed.
string
ID of this user’s report (UUID).
string
The reported entity, comment or message.
string
entity, comment or message.
string
The reason the user gave.
string | null
The context the user gave, or null.
string
ISO timestamp of when the user reported the target.
The response never shows how many users reported the target or the report’s moderation status.

Error Responses

The target doesn’t exist, or it’s an entity or comment in a space the reporter can’t read. The error message reflects the reported type, e.g. "entity not found" or "comment not found".
The content has no author: it’s the app’s own, or a deleted account’s.
A user cannot report content they authored.
Only members of a conversation may report a message in it. In a space chat, the reporter must also be able to see the space (visibility). Applies to targetType: "message" only.
Returned for a malformed targetId, an unknown targetType (including one in another case, such as "Entity"), or a reason outside the accepted set.
A service key sent no actingUserId.
A user token sent actingUserId, even naming its own user. Only a service key names the user it acts as; a user token always acts as its own user.
Returned when a service key names an actingUserId that isn’t a user in this project.
The request sent userId. On this route the user a service key acts as is actingUserId.With a service key:
With a user token, or with no credentials: