Skip to main content
PATCH
/
v1
/
privacy
/
preferences
Update privacy preferences
curl --request PATCH \
  --url https://api.mail.gorillaa.one/v1/privacy/preferences \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "doNotSell": true,
  "marketingEmails": true,
  "productUpdates": true
}
'
{
  "data": {
    "doNotSell": true,
    "marketingEmails": true,
    "productUpdates": true,
    "updatedAt": "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
doNotSell
boolean
marketingEmails
boolean
productUpdates
boolean

Response

Updated preferences

data
object
required