Skip to main content
POST
cURL

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Headers

X-API-KEY
string
required

API key required for authentication

Body

application/json
targetUserId
integer
required
reason
enum<string>
required
Available options:
kandungan_tidak_sesuai,
isu_keselamatan,
penyalahgunaan,
spam,
kandungan_palsu,
kandungan_sensitif,
pelanggaran_hak_cipta,
maklumat_salah
targetPostId
integer | null
notes
string | null

Response

Report created successfully

id
integer
required
targetUserId
integer
required
reason
enum<string>
required
Available options:
kandungan_tidak_sesuai,
isu_keselamatan,
penyalahgunaan,
spam,
kandungan_palsu,
kandungan_sensitif,
pelanggaran_hak_cipta,
maklumat_salah
status
enum<string>
required
Available options:
reviewing,
no_action,
suspended
createdAt
string<date-time>
required
updatedAt
string<date-time>
required
reporterUserId
integer
required
targetPostId
integer | null
notes
string | null