Skip to content

Add a new report​

POST
/api/users/{userId}/reports

Authorizations​

api_key

Requests manipulating data need to supply a CSRF token

Type
API Key (header: X-CSRF-Token)

Parameters​

Path Parameters

userId*
Type
integer
Required
Minimum
1

Request Body​

application/json
JSON
{
  
"reason": 0,
  
"message": "string",
  
"storeId": 0,
  
"forumThreadId": 0,
  
"status": "reports.statuses.to_do",
  
"consequence": "string",
  
"sendConfirmationMail": true
}

Responses​

Success

Playground​

Authorization
Variables
Key
Value
Body

Samples​