Contact Groups

Delete contact group

Delete a group and its memberships. The contacts themselves are kept. A group that a broadcast still targets cannot be deleted.

DELETEhttps://api.sndr.sh/v1/contact-groups/{id}
Delete contact group
curl -X DELETE 'https://api.sndr.sh/v1/contact-groups/grp_4d8a0c5e-1f7' \
  -H "Authorization: Bearer $SNDR_API_KEY"
200OK
{
  "status": "ok"
}

Authorization

Authorizationstringheaderrequired

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

Path parameters

idstringrequired

Group ID (grp_...).

Errors

401unauthenticatedMissing or invalid API key.
403insufficient_scopeThe API key is missing the send scope.
404not_foundResource does not exist or belongs to a different account.
409group_in_useA broadcast still targets this group. Delete or retarget the broadcast first.