You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Error handling is done through the `APIError` class, which provides `statusCode` and `json` properties containing the API's error response details. For implementation examples, see the [Usage section](#usage).
409
+
410
+
```json
411
+
HTTP 400 Bad Request
412
+
{
413
+
"success": false,
414
+
"message": "An email or userId is required."
415
+
}
416
+
```
417
+
418
+
```json
419
+
HTTP 404 Not Found
420
+
{
421
+
"success": false,
422
+
"message": "This contact was not found."
423
+
}
424
+
```
425
+
426
+
---
427
+
428
+
### removeContactSuppression()
429
+
430
+
Remove suppression for a contact, either by email address or `userId`.
"message": "Email removed from suppression list.",
457
+
"removalQuota": {
458
+
"limit": 100,
459
+
"remaining": 4
460
+
}
461
+
}
462
+
```
463
+
464
+
Error handling is done through the `APIError` class, which provides `statusCode` and `json` properties containing the API's error response details. For implementation examples, see the [Usage section](#usage).
-`v6.3.0` (Apr 8, 2026) - Added [`checkContactSuppression()`](#checkcontactsuppression) and [`removeContactSuppression()`](#removecontactsuppression) methods.
773
892
-`v6.2.0` (Feb 9, 2026) - Support for the new arrays feature in sendTransactionalEmail.
774
893
-`v6.1.2` (Jan 29, 2026) - Added `rawBody` to `APIError` in the case no JSON is received from the server (thanks to [@leipert](https://github.com/leipert)).
775
894
-`v6.0.1` (Oct 15, 2025) - Added `optInStatus` to contact object in [`findContact()`](#findcontact) for the new double opt-in feature.
0 commit comments