Last updated 2 months ago
Retrieve list of customers who have opted out of communications
Your API key
Your Secret key
email
sms
POST /v2/ExternalApi/getOptoutCustomers HTTP/1.1 Host: api.gleantap.com X-API-KEY: text X-SECRET-KEY: text Content-Type: application/json Accept: */* Content-Length: 53 { "app_id": "text", "limit": 1, "offset": 1, "type": "email" }
Opted-out customers retrieved successfully
{ "members": [ { "id": "text", "firstname": "text", "lastname": "text", "email": "text", "phone": "text", "email_optout": 1, "sms_optout": 1, "optout_date": "2025-05-21T17:40:58.758Z" } ] }