whatsapp
Bulk update contacts
Perform bulk operations on multiple contacts (max 500 per request). Supported actions: addTags, removeTags, addGroups, removeGroups, optIn, optOut, block, unblock.
AuthorizationBearer <token>
API key authentication - use your Late API key as a Bearer token
In: header
actionstring
Bulk action to perform
Value in
"addTags" | "removeTags" | "addGroups" | "removeGroups" | "optIn" | "optOut" | "block" | "unblock"contactIdsarray<string>
Contact IDs to update (max 500)
Items
items <= 500tags?array<string>
Tags to add or remove (required for addTags/removeTags)
groups?array<string>
Groups to add or remove (required for addGroups/removeGroups)
Response Body
application/json
application/json
curl -X POST "https://getlate.dev/api/v1/whatsapp/contacts/bulk" \ -H "Content-Type: application/json" \ -d '{ "action": "addTags", "contactIds": [ "507f1f77bcf86cd799439011", "507f1f77bcf86cd799439012" ], "tags": [ "vip", "priority" ] }'{
"success": true,
"action": "string",
"modified": 0,
"matched": 0
}Empty
{
"error": "Unauthorized"
}