Preview. This site is still being built. Features, prices and terms may change, and nothing here is a binding offer. Read the preview notice

Preview. Still being built; nothing here is a binding offer. Details

Trust & safety

18 routes. Paths are relative to https://api.intersink.com/v1.

All groups

Take a banner down

POST/safety/announcements/{id}/end

Needs a signed-in user (Bearer token or access_token cookie).

Parameters

NameTypeDescription
idrequiredstring, path

Response

200. The payload in data is not described in the spec yet.

Appeal a decision (once)

POST/safety/cases/{id}/appeal

Needs a signed-in user (Bearer token or access_token cookie).

Parameters

NameTypeDescription
idrequiredstring, path

Request body application/json

FieldTypeDescription
textrequiredstringAt least 10 characters, at most 2000 characters.

Response

200. The payload in data is not described in the spec yet.

Uphold or reverse an appealed decision

POST/safety/cases/{id}/appeal-decision

Needs a signed-in user (Bearer token or access_token cookie).

Parameters

NameTypeDescription
idrequiredstring, path

Request body application/json

FieldTypeDescription
outcomerequiredstringOne of: "upheld", "reversed".
reasonrequiredstringAt least 3 characters, at most 1000 characters.

Response

200. The payload in data is not described in the spec yet.

Warn, suspend or dismiss an open case

POST/safety/cases/{id}/decision

Needs a signed-in user (Bearer token or access_token cookie).

Parameters

NameTypeDescription
idrequiredstring, path

Request body application/json

FieldTypeDescription
decisionrequiredstringOne of: "warning", "suspended", "dismissed".
reasonstringShown to the owner (required unless dismissed) At least 0 characters, at most 1000 characters.
internal_notestringAt least 0 characters, at most 2000 characters.

Response

200. The payload in data is of type object.

Hand an open case to the channel above

POST/safety/cases/{id}/escalate

Needs a signed-in user (Bearer token or access_token cookie).

Parameters

NameTypeDescription
idrequiredstring, path

Response

200. The payload in data is not described in the spec yet.

Lift a suspension or withdraw a warning

POST/safety/cases/{id}/lift

Needs a signed-in user (Bearer token or access_token cookie).

Parameters

NameTypeDescription
idrequiredstring, path

Request body application/json

FieldTypeDescription
reasonstringAt least 0 characters, at most 1000 characters.

Response

200. The payload in data is not described in the spec yet.

The channel's announcements

GET/safety/channels/{channelId}/announcements

Needs a signed-in user (Bearer token or access_token cookie).

Parameters

NameTypeDescription
channelIdrequiredstring, path

Response

200. data is object[].

Show a banner (optionally on every channel below too)

POST/safety/channels/{channelId}/announcements

Needs a signed-in user (Bearer token or access_token cookie).

Parameters

NameTypeDescription
channelIdrequiredstring, path

Request body application/json

FieldTypeDescription
titlerequiredstringAt least 2 characters, at most 140 characters.
bodystringAt least 0 characters, at most 1000 characters.
levelstringOne of: "info", "warning", "critical".
ends_atstring
cascadebooleanAlso show on every channel below this one

Response

200. The payload in data is of type object.

Banners for the channel's people (its own and cascading ones from above)

GET/safety/channels/{channelId}/announcements/live

Public: no sign-in needed.

Parameters

NameTypeDescription
channelIdrequiredstring, path

Response

200. The payload in data is not described in the spec yet.

Pause or resume every API key of this channel or one below it

POST/safety/channels/{channelId}/api-keys/pause

Needs a signed-in user (Bearer token or access_token cookie).

Parameters

NameTypeDescription
channelIdrequiredstring, path

Request body application/json

FieldTypeDescription
target_channel_idrequiredstringThis channel or one below it
pauserequiredboolean
reasonstringAt least 0 characters, at most 400 characters.

Response

200. The payload in data is not described in the spec yet.

The channel's cases (default: open and appealed)

GET/safety/channels/{channelId}/cases

Needs a signed-in user (Bearer token or access_token cookie).

Parameters

NameTypeDescription
channelIdrequiredstring, path
statusstring, queryOne of: "open", "actioned", "dismissed", "appealed", "closed".

Response

200. data is object[].

Warn or suspend something below the channel directly

POST/safety/channels/{channelId}/cases

Needs a signed-in user (Bearer token or access_token cookie).

Parameters

NameTypeDescription
channelIdrequiredstring, path

Request body application/json

FieldTypeDescription
target_typerequiredstringOne of: "account", "profile", "business", "channel".
target_idrequiredstring
categoryrequiredstringOne of: "spam", "fraud", "abuse", "illegal", "impersonation", "copyright", "privacy", "other".
detailsstringAt least 0 characters, at most 2000 characters.
actionrequiredstringOne of: "warning", "suspended".
reasonrequiredstringShown to the owner At least 3 characters, at most 1000 characters.
internal_notestringOnly the channel's managers see it At least 0 characters, at most 2000 characters.

Response

200. The payload in data is of type object.

Legal and data requests (default: open), by due date

GET/safety/channels/{channelId}/legal-requests

Needs a signed-in user (Bearer token or access_token cookie).

Parameters

NameTypeDescription
channelIdrequiredstring, path
statusstring, queryOne of: "open", "in_progress", "completed", "refused".

Response

200. data is object[].

Record a request that arrived another way

POST/safety/channels/{channelId}/legal-requests

Needs a signed-in user (Bearer token or access_token cookie).

Parameters

NameTypeDescription
channelIdrequiredstring, path

Request body application/json

FieldTypeDescription
kindrequiredstringOne of: "data_access", "data_erasure", "data_correction", "law_enforcement", "court_order", "copyright", "other".
requester_namerequiredstringAt least 2 characters, at most 200 characters.
requester_emailstring
organisationstringAt least 0 characters, at most 200 characters.
subjectstringWho or what it is about At least 0 characters, at most 300 characters.
detailsrequiredstringAt least 20 characters, at most 5000 characters.
due_atstringManagers only: a deadline the order sets

Response

200. The payload in data is of type object.

Send a legal or data request to a channel (anyone; returns a reference)

POST/safety/channels/{channelId}/legal-requests/public

Public: no sign-in needed.

Parameters

NameTypeDescription
channelIdrequiredstring, path

Request body application/json

FieldTypeDescription
kindrequiredstringOne of: "data_access", "data_erasure", "data_correction", "law_enforcement", "court_order", "copyright", "other".
requester_namerequiredstringAt least 2 characters, at most 200 characters.
requester_emailstring
organisationstringAt least 0 characters, at most 200 characters.
subjectstringWho or what it is about At least 0 characters, at most 300 characters.
detailsrequiredstringAt least 20 characters, at most 5000 characters.
due_atstringManagers only: a deadline the order sets

Response

200. The payload in data is not described in the spec yet.

Move a request along and record the answer

PATCH/safety/legal-requests/{id}

Needs a signed-in user (Bearer token or access_token cookie).

Parameters

NameTypeDescription
idrequiredstring, path

Request body application/json

FieldTypeDescription
statusrequiredstringOne of: "open", "in_progress", "completed", "refused".
responsestringAt least 0 characters, at most 5000 characters.

Response

200. The payload in data is of type object.

Decisions about me, or a business or channel I own (?type=&id=)

GET/safety/notices

Needs a signed-in user (Bearer token or access_token cookie).

Parameters

NameTypeDescription
typerequiredstring, queryOne of: "account", "profile", "business", "channel".
idstring, query

Response

200. The payload in data is not described in the spec yet.

Report an account, business or channel

POST/safety/reports

Needs a signed-in user (Bearer token or access_token cookie).

Request body application/json

FieldTypeDescription
target_typerequiredstringOne of: "account", "profile", "business", "channel".
target_idrequiredstring
categoryrequiredstringOne of: "spam", "fraud", "abuse", "illegal", "impersonation", "copyright", "privacy", "other".
detailsstringAt least 0 characters, at most 2000 characters.

Response

200. The payload in data is not described in the spec yet.