RiskPilot API
RiskPilot customer API

Privacy and consent


Your latest deletion request

GET
/api/v1/customer/account/deletion

Your latest deletion request › Responses

OK

​required
autoAfterDays
​integer | null

Carried out automatically after this many days.


Ask for the account to be deleted (account holder)

POST
/api/v1/customer/account/deletion

Ask for the account to be deleted (account holder) › Request Body

confirm
​string · enum · required
Enum values:
DELETE
password
​string

When the account has one.

reason
​string · maxLength: 500

Ask for the account to be deleted (account holder) › Responses

Requested.

​ErasureRequest · required

Withdraw a pending deletion request

DELETE
/api/v1/customer/account/deletion

Withdraw a pending deletion request › Responses

OK

withdrawn
​boolean · required

Download everything kept about the account (JSON)

GET
/api/v1/customer/export

Download everything kept about the account (JSON) › Responses

The export (Content-Disposition: attachment).

Everything RiskPilot keeps about the account (GDPR art. 15 and 20): the account, members, sign-ins, sessions, requests, deliveries, alerts, chat, tickets and consents.
format
​string · enum · required
Enum values:
riskpilot-export-1
exportedAt
​string · date-time · required
​object · required

GET
/api/v1/customer/marketing/consent

OK

​ConsentChannel · required
​ConsentChannel · required
address
​string | null
emailVerified
​boolean

PUT
/api/v1/customer/marketing/consent

Give or withdraw marketing consent › Request Body

email
​boolean
push
​boolean

Give or withdraw marketing consent › Responses

OK

​ConsentChannel · required
​ConsentChannel · required
address
​string | null
emailVerified
​boolean

GET
/api/v1/public/marketing/unsubscribe
t
​string · required

The signed token from the mail.

OK

valid
​boolean
channel
​string · enum
Enum values:
email
push
address
​string | null

Masked.

subscribed
​boolean

Unsubscribe from marketing (one click, RFC 8058)

POST
/api/v1/public/marketing/unsubscribe

Unsubscribe from marketing (one click, RFC 8058) › query Parameters

t
​string

The signed token (or send it as token in the body).

Unsubscribe from marketing (one click, RFC 8058) › Request Body optional

token
​string

Unsubscribe from marketing (one click, RFC 8058) › Responses

OK

unsubscribed
​boolean · required
channel
​string