Request a copy of your data
POST
/_torii/users/me/data-requests
const url = 'https://your-app.torii.so/_torii/users/me/data-requests';const options = {method: 'POST'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request POST \ --url https://your-app.torii.so/_torii/users/me/data-requestsCreates a pending subject-access request. The operator at the company is notified and fulfils the request out-of-band by downloading the data from their dashboard.
Responses
Section titled “ Responses ”OK
Media type application/json
object
id
required
string format: uuid
userId
required
string format: uuid
userEmail
string | null
environmentId
required
string format: uuid
status
required
string
requestedAt
required
string format: date-time
fulfilledAt
string | null format: date-time
Example
{ "status": "PENDING"}