Skip to content

Submit abuse report

POST
/api/v1/abuse-reports
curl --request POST \
--url http://localhost:3001/api/v1/abuse-reports \
--header 'Authorization: <Authorization>' \
--header 'Content-Type: application/json' \
--data '{ "category": "example", "evidence": "example", "reason": "example", "target_id": "example", "target_type": "example" }'

Create an abuse report against a user, message, group or channel. Implements DSA Art. 16 notice-and-action. SA-2026-ARCH P2-J2.

Abuse report

Media typeapplication/json
object
category
string
evidence
string
reason
string
target_id
string
target_type

User|message|group|channel

string
Examplegenerated
{
"category": "example",
"evidence": "example",
"reason": "example",
"target_id": "example",
"target_type": "example"
}

Created

Media typeapplication/json
object
key
additional properties
any
Examplegenerated
{}

Bad Request

Media typeapplication/json
object
error
string
success
boolean
Examplegenerated
{
"error": "example",
"success": true
}

Unauthorized

Media typeapplication/json
object
error
string
success
boolean
Examplegenerated
{
"error": "example",
"success": true
}

Internal Server Error

Media typeapplication/json
object
error
string
success
boolean
Examplegenerated
{
"error": "example",
"success": true
}