Skip to main content
POST
/
reports
curl --request POST \
  --url https://api.falconalert.com/reports \
  --header 'Content-Type: application/json' \
  --data '{
    "title": "Sitio de phishing bancario",
    "description": "Sitio fraudulento que imita la página de login de un banco para robar credenciales",
    "report_url": "https://ejemplo-fraudulento.com",
    "category": [1, 5],
    "is_anonymous": false
  }'
{
  "reportId": 48,
  "report_category": [2, 3]
}

Documentation Index

Fetch the complete documentation index at: https://mintlify.com/4rt21/backend-proyecto/llms.txt

Use this file to discover all available pages before exploring further.

Creates a new report for a fraudulent or suspicious website.

Request Body

title
string
required
Title of the report. Should be concise and descriptive.
description
string
required
Detailed description of the reported issue. Explain why the site or resource is suspicious.
report_url
string
required
URL of the reported website or resource. Must be a valid URL.
category
array
required
Array of category IDs that classify this report. Must contain valid category IDs.
image
string
Path to an image file that provides evidence for the report. Images should be uploaded separately.
is_anonymous
boolean
Whether the report should be submitted anonymously. Defaults to false.

Response

reportId
number
The unique identifier assigned to the newly created report
report_category
array
Array of category IDs that were successfully associated with the report
curl --request POST \
  --url https://api.falconalert.com/reports \
  --header 'Content-Type: application/json' \
  --data '{
    "title": "Sitio de phishing bancario",
    "description": "Sitio fraudulento que imita la página de login de un banco para robar credenciales",
    "report_url": "https://ejemplo-fraudulento.com",
    "category": [1, 5],
    "is_anonymous": false
  }'
{
  "reportId": 48,
  "report_category": [2, 3]
}

Build docs developers (and LLMs) love