Contact Groups

Remove group members

Remove contacts from a group. The contacts themselves are kept. IDs that are not members are ignored.

DELETEhttps://api.sndr.sh/v1/contact-groups/{id}/members
Remove group members
curl -X DELETE '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"]}'
200OK
{
  "status": "ok"
}

Authorization

Authorizationstringheaderrequired

Bearer followed by your API key. Needs the send scope.

Path parameters

idstringrequired

Group ID (grp_...).

Body

application/json
contact_idsstring[]required

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

Errors

401unauthenticatedMissing or invalid API key.
400invalid_requestBody is not valid JSON, or contact_ids is missing or empty.
403insufficient_scopeThe API key is missing the send scope.