Report user profile
Please use this (https://2wasl.com/mobile_api/profile_report) API for access user profile reporting endpoint
Post parameters
Field | Value | Remarks |
---|---|---|
session_id | Access token ID | E.g. de25cc16eb00960f076... |
user_id | User int ID | E.g. 12 |
reason |
Report reason int ID (This value must be an int number as shown on the right)
For example, if you want to report spam account, then this value should be 1
|
|
comment | Comment to the reviwer | `Please take some actions. Thanks!` |
Success response
{
"code": 200,
"message": "Report sent successfully",
"data": []
}
Error responses
{
"code": 401,
"data": [],
"message": "Unauthorized Access"
}
{
"code": 400,
"message": "User id is missing or invalid",
"data": []
}
{
"code": 400,
"message": "Report reason id is missing or invalid",
"data": []
}