Skip to main content
POST
/
v1
/
privacy
/
export
Export user data (GDPR Art. 15)
curl --request POST \
  --url https://api.mail.gorillaa.one/v1/privacy/export \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "email": "[email protected]"
}
'
{
  "data": {
    "email": "[email protected]",
    "exportedAt": "2023-11-07T05:31:56Z",
    "data": {
      "emails": [
        {
          "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
          "fromEmail": "<string>",
          "toEmails": [
            "<string>"
          ],
          "ccEmails": [
            "<string>"
          ],
          "bccEmails": [
            "<string>"
          ],
          "subject": "<string>",
          "createdAt": "2023-11-07T05:31:56Z",
          "status": "<string>"
        }
      ],
      "events": [
        {
          "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
          "emailId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
          "eventType": "<string>",
          "timestamp": "2023-11-07T05:31:56Z"
        }
      ],
      "suppressions": [
        {
          "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
          "email": "<string>",
          "reason": "<string>",
          "suppressedAt": "2023-11-07T05:31:56Z"
        }
      ]
    }
  }
}

Authorizations

Authorization
string
header
required

API key authentication. Pass your Gorillaa Mail API key as a Bearer token.

Example: Authorization: Bearer grl_live_xxxxxxxxxxxx

Keys prefixed grl_test_ operate in test mode with reduced limits.

Body

application/json
email
string<email>
required

Response

Exported data

data
object
required