View Categories

Export Profile Data

1 min read

The Profile Delete allows you to mark user data for deletion given a user’s email or profileId.

Do I need to call it? #

GDPR mandates that the user has a right to be forgotten, and this API allows you to respect that right in an automated way.

Request Parameters #

You may perform requests to the API using the following curl equivalent:

curl -XGET -H 'Authorization: Bearer <secretKey>' 'https://releva.ai/api/v0/profiles?email=<email>&sendToEmail=your_email@gmail.com'
curl -XGET -H 'Authorization: Bearer <secretKey>' 'https://releva.ai/api/v0/profiles?profileId=<profileId>&sendToEmail=your_email@gmail.com'
curl -XGET -H 'Authorization: Bearer <secretKey>' 'https://releva.ai/api/v0/profiles?phoneNumber=<phoneNumber>&sendToEmail=your_email@gmail.com'

Request URL Parameters #

FieldTypeDescription
emailString (Optional)Userโ€™s email address.
profileIdString (Optional)Userโ€™s profile id.
phoneNumberString (Optional)User’s phone number.
sendToEmailStringEmail that will receive the exported data.

Note that email, profileId and phoneNumber are optional but we need exactly one of them.

A successful response will return HTTP Status 202 with an empty response body ({}).

Response Format #

An error response will return a HTTP 4xx or 5xx status code and have the following structure:

{
  "message": "A description of the error and how to fix it, if it's a client error."
}