Report publication
Please use this (https://twibe.net/mobile_api/publication_report) API for access publication reporting endpoint
Post parameters
Field | Value | Remarks |
---|---|---|
session_id | Access token ID | E.g. de25cc16eb00960f076... |
post_id | Post int ID | E.g. 4567 |
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, 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": "Post id is missing or invalid",
"data": []
}
{
"code": 400,
"message": "Report reason id is missing or invalid",
"data": []
}