Contact Groups
Add group members
Add contacts to a group by ID. Contacts already in the group or not in the account are skipped; added counts new memberships only.
POST
https://api.sndr.sh/v1/contact-groups/{id}/membersAdd group members
curl -X POST 'https://api.sndr.sh/v1/contact-groups/grp_4d8a0c5e-1f7/members' \
-H "Authorization: Bearer $SNDR_API_KEY" \
-H 'Content-Type: application/json' \
-d '{"contact_ids": ["con_0e6b7f21-c58", "con_71c3b9e4-a02"]}'200OK
{
"added": 2
}Authorization
AuthorizationstringheaderrequiredBearer followed by your API key. Needs the send scope.
Path parameters
idstringrequiredGroup ID (grp_...).
Body
application/jsoncontact_idsstring[]requiredContact IDs (con_...) to add, at least one.
Errors
401
unauthenticatedMissing or invalid API key.400
invalid_requestBody is not valid JSON, or contact_ids is missing or empty.403
insufficient_scopeThe API key is missing the send scope.404
not_foundResource does not exist or belongs to a different account.