Reports
Report Create
POST
/
report
/
create
Body
curl --request POST \
--url https://chainpatrol-4nwgz2k0e-chainpatrol.vercel.app/api/v2/report/create \
--header 'Content-Type: application/json' \
--data '{
"assets": [
{
"content": "<string>",
"screenshot": {
"takenBy": "<string>",
"url": "<string>"
},
"status": "UNKNOWN"
}
],
"attachmentUrls": [
"<string>"
],
"contactInfo": "<string>",
"description": "<string>",
"discordGuildId": "<string>",
"externalReporter": {
"avatarUrl": "<string>",
"displayName": "<string>",
"platform": "<string>",
"platformIdentifier": "<string>"
},
"organizationSlug": "<string>",
"rawAssetsInput": "<string>",
"title": "<string>"
}'
{
"createdAt": "2023-11-07T05:31:56Z",
"id": 123,
"organization": {
"id": 123,
"name": "<string>",
"slug": "<string>"
}
}
Body
application/json
assets
object[]
requiredattachmentUrls
string[]
URLs of images to attach to the report
contactInfo
string
description
string
requiredDescription of the report. Supports markdown
discordGuildId
string
Discord Guild (Server) ID linked to the organization on ChainPatrol
externalReporter
object
organizationSlug
string
Organization slug used to identify the organization on ChainPatrol
rawAssetsInput
string
title
string
requiredTitle of the report
Response
200 - application/json
createdAt
string
requiredDate the report was created
id
number
requiredID of the created report
organization
object | null
requiredOrganization the report was created for
Was this page helpful?
curl --request POST \
--url https://chainpatrol-4nwgz2k0e-chainpatrol.vercel.app/api/v2/report/create \
--header 'Content-Type: application/json' \
--data '{
"assets": [
{
"content": "<string>",
"screenshot": {
"takenBy": "<string>",
"url": "<string>"
},
"status": "UNKNOWN"
}
],
"attachmentUrls": [
"<string>"
],
"contactInfo": "<string>",
"description": "<string>",
"discordGuildId": "<string>",
"externalReporter": {
"avatarUrl": "<string>",
"displayName": "<string>",
"platform": "<string>",
"platformIdentifier": "<string>"
},
"organizationSlug": "<string>",
"rawAssetsInput": "<string>",
"title": "<string>"
}'
{
"createdAt": "2023-11-07T05:31:56Z",
"id": 123,
"organization": {
"id": 123,
"name": "<string>",
"slug": "<string>"
}
}