Unsubscribe a Subscriber
Silently unsubscribe a subscriber from a list using their unique subscriber and list identifiers. No notification email is sent.
📤 Unsubscribe a Subscriber
Remove a subscriber from active communication without sending an email notification.
🔹 HTTP Request
PUT API-URL/lists/LIST-UNIQUE-ID/subscribers/SUBSCRIBER-UNIQUE-ID/unsubscribe
🔸 URL Segments
Segment
Required
Description
LIST-UNIQUE-ID
Yes
List unique ID to which the subscriber belongs.
SUBSCRIBER-UNIQUE-ID
Yes
Subscriber unique ID to unsubscribe.
🔐 Authorization Header
X-API-KEY: your-api-key-here
💻 PHP Example
// UNSUBSCRIBE existing subscriber, no email is sent, unsubscribe is silent
$response = $endpoint->unsubscribe('LIST-UNIQUE-ID', 'SUBSCRIBER-UNIQUE-ID');
// DISPLAY RESPONSE
echo '<hr /><pre>';
print_r($response->body);
echo '</pre>';
📦 Sample JSON Response
{
"status": "success"
}
Last updated