PelekaPeleka Developers
API ReferenceAudienceContacts

Unsubscribe multiple contacts at once

POST
/api/v1/contacts/bulk-unsubscribe
X-API-Key<token>

In: header

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

curl -X POST "https://example.com/api/v1/contacts/bulk-unsubscribe" \  -H "Content-Type: application/json" \  -d '{    "contactIds": [      "42c382fb-14d8-48d9-b3ff-0b7917436af9"    ]  }'
{  "updated": 5}