Outvexa

API reference

Privacy

4 endpoints. All paths are relative to your installation, for example https://app.example.com.

get/api/v1/w/{workspaceId}/privacy/requests

Data export / erasure requests

Workspace member or API keyRole admin or higherSuccess: 200

Path parameters

workspaceIdrequiredstring
Request
curl -X GET "https://app.example.com/api/v1/w/$WORKSPACE_ID/privacy/requests" \
  -H "Authorization: Bearer $EMN_API_KEY"

post/api/v1/w/{workspaceId}/privacy/requests

Create an export or erasure request for one email address

Workspace member or API keyRole admin or higherSuccess: 201

Path parameters

workspaceIdrequiredstring

Request body (JSON)

typerequiredenumOne of: EXPORT, ERASURE
subjectEmailrequiredstring (email)
Request
curl -X POST "https://app.example.com/api/v1/w/$WORKSPACE_ID/privacy/requests" \
  -H "Authorization: Bearer $EMN_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "type": "EXPORT",
    "subjectEmail": "name@example.com"
  }'

get/api/v1/w/{workspaceId}/privacy/requests/{id}/download

Download a completed export (JSON)

Workspace member or API keyRole admin or higherSuccess: 200

Path parameters

workspaceIdrequiredstring
idrequiredstring
Request
curl -X GET "https://app.example.com/api/v1/w/$WORKSPACE_ID/privacy/requests/$ID/download" \
  -H "Authorization: Bearer $EMN_API_KEY"

get/api/v1/w/{workspaceId}/export

Full workspace data export (JSON)

Workspace member or API keyRole owner or higher3 requests / 1 h per workspaceSuccess: 200

Path parameters

workspaceIdrequiredstring
Request
curl -X GET "https://app.example.com/api/v1/w/$WORKSPACE_ID/export" \
  -H "Authorization: Bearer $EMN_API_KEY"