groups
Add contacts to a group (v2)
Add one or more contacts to a group by providing an array of contact IDs. Contacts that are already members are silently skipped server-side. Requires Idempotency-Key. Returns { data: { affected, ids } } where affected is the count of NEW memberships created and ids echoes the input contact IDs.
post/v2/groups/{groupId}/contacts
Path parameters
groupIdstring uuid required
Headers
Idempotency-Keystring required
Example:01HV8N6X7K3P9Q5R2T4Y6W8Z0A
Required. UUID per logical operation, reused on every retry. See apps/rest-api/src/shared/idempotency.ts for the full contract. Missing → 400 BadRequest; same key + different body → 409 Conflict.
Request body
Response
Successful response