Report

The current reasons that will be honored for reporting are:

  • account_type: posting in a behavior counter to the purposes of account types
  • nsfw: unflagged mature material according to the community guidelines
  • soliciting: unwelcome soliciting
  • user_abuse: use of the API or network to abuse another user

Endpoints:

POST /channels/{channel_id}/messages/{message_id}/report

Token: user

Scope: any

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/v0/channels/18/messages/0/report" \
    -H "Authorization: Bearer ${ACCESS_TOKEN}" \
    -H "X-Pretty-Json: 1"

Returns a 201