Saltar al contenido principal
POST
Get reports for an organization
Este endpoint está obsoleto. Usa en su lugar el nuevo endpoint RESTful GET /organization/reports. Este endpoint se eliminará en una versión futura.

Inicio rápido

Autenticación

Incluye tu clave de API en el encabezado X-API-KEY:

Paginación

Asegúrate de usar los parámetros limit y cursor para paginar los resultados.

Filtros

Fechas

Al filtrar por fechas, debes indicar tanto el parámetro startDate como el parámetro endDate.

Solo rechazados

Puedes filtrar para obtener solo los reportes que tienen Proposals (propuestas para bloquear o permitir un asset) rechazadas si estableces el parámetro onlyRejected en true. Los reportes devueltos incluirán Proposals, pero no todas estarán rechazadas, ya que un reporte puede contener varias Proposals y algunas pueden estar rechazadas mientras otras están aprobadas. Por eso, si solo quieres las Proposals rechazadas, tienes que revisar los datos.

Autorizaciones

X-API-KEY
string
header
requerido

Your API key. This is required by most endpoints to access our API programatically. Reach out to us at support@chainpatrol.io to get an API key for your use.

Cuerpo

application/json
slug
string
requerido
limit
number
requerido
Rango requerido: 1 <= x <= 20
cursor
number | null
status
enum<string>
Opciones disponibles:
TODO,
IN_PROGRESS,
CLOSED
searchQuery
string
reporterQuery
string
excludeAutomation
boolean
predeterminado:false
reporterKind
enum<string>
Opciones disponibles:
human,
automation,
machine_user
reviewerKind
enum<string>
Opciones disponibles:
human,
automation
onlyRejected
boolean
predeterminado:false
onlyFavorited
boolean
predeterminado:false
reviewStatuses
enum<string>[]
Opciones disponibles:
APPROVE,
REJECT,
SKIP,
ESCALATE
assetTypes
enum<string>[]
Opciones disponibles:
URL,
PAGE,
ADDRESS,
DISCORD,
LINKEDIN,
TWITTER,
FACEBOOK,
YOUTUBE,
REDDIT,
TELEGRAM,
GOOGLE_APP_STORE,
APPLE_APP_STORE,
AMAZON_APP_STORE,
MICROSOFT_APP_STORE,
TIKTOK,
INSTAGRAM,
THREADS,
MEDIUM,
CHROME_WEB_STORE,
MOZILLA_ADDONS,
OPERA_ADDONS,
EMAIL,
PATREON,
OPENSEA,
FARCASTER,
IPFS,
GOOGLE_FORM,
WHATSAPP,
DISCORD_USER,
QUORA,
GITHUB,
TEACHABLE,
SUBSTACK,
DEBANK,
TAWK_TO,
JOTFORM,
PRIMAL,
BLUESKY,
SNAPCHAT,
DESO,
PINTEREST,
FLICKR,
GALXE,
VELOG,
NPM,
PYPI,
HEX,
DOCKER_HUB,
VOCAL_MEDIA,
TECKFINE,
TENDERLY,
HACKMD,
ETSY,
ZAZZLE,
BASENAME,
BILIBILI_TV,
VIMEO,
DAILYMOTION,
PHONE_NUMBER,
SLACK,
CALENDLY,
NGROK,
RARIBLE,
RUST_PACKAGE,
FLATHUB,
VIDLII,
VEVIOZ,
ISSUU,
SOUNDCLOUD,
ZAPPER,
REDNOTE,
SAMSUNG_APP_STORE,
HUAWEI_APP_STORE,
XIAOMI_APP_STORE,
TENCENT_APP_STORE,
OPPO_APP_STORE,
VIVO_APP_STORE,
F_DROID,
GOOGLE_AD,
BING_AD,
TWITCH,
BEHANCE,
ZORA,
META_AD,
SIGNAL,
DEVIANTART,
BANDCAMP,
ARCHIVE_ORG,
FIVE_HUNDRED_PX,
LUMA,
SMARTMONEYMATCH,
APK_GOLD,
GLASSDOOR,
PUMP_FUN,
TUMBLR,
MASTODON
reviewedByUserId
number | null
startDate
string
endDate
string
updatedAtStartDate
string
updatedAtEndDate
string
brandIds
number[]
threatActorIds
number[]
reportedByCustomer
boolean
countryCodes
string[]
Required string length: 2
registrars
string[]
hasMxRecords
boolean
hasAttachments
boolean

Filter on evidence files uploaded with the report. true returns only reports with at least one attachment that has not been removed; false returns only reports with none. Useful for finding phone number or email reports that came with supporting evidence.

sources
enum<string>[]
Opciones disponibles:
APP,
API,
CANARY_TOKEN,
AUTO_DETECTION,
ASSET_MANAGEMENT
needsCustomerReview
boolean

Filter to reports waiting on the organization's own approval — the same queue the Review page shows a customer admin. true returns only reports with at least one pending proposal that is the customer's to action; false returns only reports that are not. A pending proposal counts when ChainPatrol staff escalated it to the customer and the customer has not answered yet, or when the organization submitted the report itself. Obligatory Organization Admin Approval does not widen this: an untriaged proposal is still waiting on ChainPatrol review, and reaches the customer only once staff escalate it.

Respuesta

Successful response

reports
object[]
requerido
nextCursor
number | null
requerido
totalCount
number
requerido