PelekaPeleka Developers
API ReferenceAudienceContacts

Add or remove tags from multiple contacts at once

POST
/api/v1/contacts/bulk-tag
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-tag" \  -H "Content-Type: application/json" \  -d '{    "contactIds": [      "42c382fb-14d8-48d9-b3ff-0b7917436af9"    ],    "tagIds": [      "9c99701b-f191-4642-8bc0-e04053f29131"    ],    "action": "add"  }'
{  "updated": 5}