Skip to main content
POST
File a flag

Authorizations

Authorization
string
header
required

An API key from Settings, API keys. It starts with rc_live_.

Body

application/json
subject_type
enum<string>
required

Whether the flag is about a person or an animal.

Available options:
person,
animal
flag_type
enum<string>
required
Available options:
animal_abuse,
neglect,
fraud,
abandonment,
falsified_application,
other
severity
enum<string>
required
Available options:
advisory,
moderate,
severe
narrative
string
required

Why the flag was raised. Required, and shown in full to every organization that can see the flag.

Minimum string length: 1
identifiers
object
required

What the flag can be found by. At least one key. A person may carry name, name_alias, email, phone, phone_country, address, date_of_birth and microchip_number. An animal may carry microchip_number, animal_name, species, breed, color, sex and name_alias. Any other key is refused. After masking at least one searchable value must be left: a street address alone is refused.

visibility
enum<string>
default:network

network: other organizations can see it once it is active. private: only your organization ever sees it.

Available options:
network,
private
evidence_refs
any[]

References to your evidence, kept as you send them and shown to every organization that can see the flag.

Response

The flag, as it was filed, with its identifiers masked.

id
string
required
originating_tenant_id
string
required

The ID of the organization that filed it.

subject_type
enum<string>
required

Whether the flag is about a person or an animal.

Available options:
person,
animal
identifiers
object
required

The identifiers as they are kept. Only the keys the flag was filed with are present.

flag_type
enum<string>
required
Available options:
animal_abuse,
neglect,
fraud,
abandonment,
falsified_application,
other
severity
enum<string>
required
Available options:
advisory,
moderate,
severe
status
enum<string>
required

pending_review until two other organizations corroborate it (then active), or two dispute it (then disputed). Nothing sets revoked at present.

Available options:
pending_review,
active,
disputed,
revoked
visibility
enum<string>
required

network: other organizations can see it once it is active. private: only your organization ever sees it.

Available options:
network,
private
narrative
string
required
evidence_refs
any[]
required
moderation_metadata
object
required

The tally of other organizations' reviews.

created_at
string<date-time>
required
updated_at
string<date-time>
required