Report
Endpoints:
The current reasons that will be honored for reporting are:
account_type
: posting in a behavior counter to the purposes of account typesnsfw
: unflagged mature material according to the community guidelinessoliciting
: unwelcome solicitinguser_abuse
: use of the API or network to abuse another user
POST /channels/{channel_id}/messages/{message_id}/report
Token:
Scope:
Report a message in a channel for abuse.
To test this endpoint, report a message by user @testuser.
URL Parameters
Name | Description |
---|---|
channel_id |
ID of the channel. |
message_id |
ID of the message to report. |
POST Body Data
Name | Description |
---|---|
reason |
One of: account_type , nsfw , soliciting , user_abuse . |
Example
curl "https://api.pnut.io/v1/channels/18/messages/0/report" \
-H "Authorization: Bearer ${ACCESS_TOKEN}" \
-H "X-Pretty-Json: 1"
Returns a 201