com.atproto.moderation.create Report

POST {{baseUrl}}/xrpc/com.atproto.moderation.createReport

To learn more about calling atproto API endpoints like this one, see the API Hosts and Auth guide.

Submit a moderation report regarding an atproto account or record. Implemented by moderation services (with PDS proxying), and requires auth.

Request Body

{"reasonType"=>"<token>", "subject"=>{"did"=>"<did>"}, "reason"=>"<string>"}

HEADERS

KeyDatatypeRequiredDescription
Content-Typestring
Acceptstring

RESPONSES

status: OK

{&quot;id&quot;:&quot;\u003cinteger\u003e&quot;,&quot;reasonType&quot;:&quot;\u003ctoken\u003e&quot;,&quot;subject&quot;:{&quot;did&quot;:&quot;\u003cdid\u003e&quot;},&quot;reportedBy&quot;:&quot;\u003cdid\u003e&quot;,&quot;createdAt&quot;:&quot;\u003cdateTime\u003e&quot;,&quot;reason&quot;:&quot;\u003cstring\u003e&quot;}