API reference / Collectors
1 operation.
/api/v1/reportsReport a public profile, a shop, a listing or a message on a hold or question. One open report per target; rate limited.
collector.fileReport()reports:write(API keys are coming soon)Idempotency-KeyX-Request-Idobject
kindenumrequiredOne ofprofilestorelistinghold_messagequestion_message
idstring (uuid)optionalusernamestringoptionalat most 40 charactersreasonenumrequiredOne ofspamscamcounterfeitharassmenthatesexualimpersonationother
notestringoptionalat most 1000 charactersobject
reportobjectrequiredidstring (uuid)requiredstatus"open"requiredinvalid_request: The query or body doesn’t match the schema (see errors[]).
invalid_json: The body isn’t JSON.
invalid_idempotency_key: The Idempotency-Key isn’t 1–255 visible ASCII characters.
own_content: You can’t report your own profile, shop or messages.
unauthorized: Not signed in (no session or token, or an expired one).
not_found: Nothing to report there.
idempotency_in_progress: The first request with this key is still running.
already_reported: You have an open report about it already.
idempotency_key_reused: This key was used for a different request.
rate_limited: Too many reports.
internal: Something went wrong on our side (quote the requestId).
curl -X POST 'https://collection.id/api/v1/reports' \
-H "Authorization: Bearer $COLLECTOR_TOKEN" \
-H "Idempotency-Key: $(uuidgen)" \
-H 'Content-Type: application/json' \
-d @body.jsonawait collector.fileReport({ body: { … } });