4.0.0 - `category` is now optional if `rule_ids` is provided
#### Request
##### Headers
Authorization
: {{<required>}} Provide this header with `Bearer <user token>` to gain authorized access to this API method.
##### Form data parameters
account_id
: {{<required>}} String. ID of the account to report.
status_ids[]
: Array of String. You can attach statuses to the report to provide additional context.
comment
: String. The reason for the report. Default maximum of 1000 characters.
forward
: Boolean. If the account is remote, should the report be forwarded to the remote admin? Defaults to false.
category
: String. Specify if the report is due to `spam`, `violation` of enumerated instance rules, or some `other` reason. Defaults to `other`. Will be set to `violation` if `rule_ids[]` is provided (regardless of any category value you provide).
rule_ids[]
: Array of Integer. For `violation` category reports, specify the ID of the exact rules broken. Rules and their IDs are available via [GET /api/v1/instance/rules]({{< relref "methods/instance#rules" >}}) and [GET /api/v1/instance]({{< relref "methods/instance#get" >}}).
#### Response
##### 200: OK
Sample call with one status ID provided and a category of `spam` with a comment
```json
{
"id": "48914",
"action_taken": false,
"action_taken_at": null,
"category": "spam",
"comment": "Spam account",
"forwarded": false,
"created_at": "2022-08-25T09:56:16.763Z",
"status_ids": [
"108882889550545820"
],
"rule_ids": null,
"target_account": {
"id": "108366849347798387",
"username": "Baluke",
"acct": "Baluke",
"display_name": "Baluke Dental Studios",
"locked": false,
"bot": false,
"discoverable": false,
"group": false,
"created_at": "2022-05-26T00:00:00.000Z",
"note": "<p>Baluke Dental Studios is a full service dental lab offering fabrication, staining, and digital services. Advanced technologies and a meticulous process ensure reduced chair time, lower costs, and better patient outcomes with beautiful smiles. Talk to a representative today.</p><p><ahref=\"https://baluke.com/\" target=\"_blank\" rel=\"nofollownoopenernoreferrer\"><spanclass=\"invisible\">https://</span><spanclass=\"\">baluke.com/</span><spanclass=\"invisible\"></span></a></p>",