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.

POSThttps://api.sndr.sh/api/cranl/v1/contact-groups/{id}/members
Add group members
curl -X POST 'https://api.sndr.sh/api/cranl/v1/contact-groups/grp_4d8a0c5e-1f7/members' \
  -H 'Authorization: Bearer sndr_your_access_token' \
  -H 'Content-Type: application/json' \
  -d '{"contact_ids": ["con_0e6b7f21-c58", "con_71c3b9e4-a02"]}'
200OK
{
  "added": 2
}

Authorization

Authorizationstringheaderrequired

Bearer followed by an access token. Needs the send scope.

Path parameters

idstringrequired

Group ID (grp_...).

Body

application/json
contact_idsstring[]required

Contact IDs (con_...) to add, at least one.

Errors

401unauthenticatedMissing or invalid Bearer token.
401token_expiredAccess token expired — exchange the refresh token for a new pair.
401token_revokedToken was explicitly revoked.
400invalid_requestBody is not valid JSON, or contact_ids is missing or empty.
403insufficient_scopeToken is missing the send scope.
404not_foundResource does not exist or belongs to a different account.