Delete a Broadcast Group

Easily remove one or more WhatsApp broadcast groups using the DoubleTick API to keep your messaging lists organized and up-to-date. πŸš€

API Endpoint

Use the following endpoint to delete a broadcast group:

DELETE https://public.doubletick.io/groups

Request Headers

{
  "Authorization": "YOUR_API_KEY",
  "Content-Type": "application/json"
}

Request Body Parameters

{
  "groupIds": [
    "unique_group_id_1",
    "unique_group_id_2"
  ]
}

Parameter

  • groupIds (array of strings, required): A list of broadcast group IDs to be deleted.

Responses

Success Response (201)

{}

Bad Request (400)

{
  "message": "error_message",
  "error": "Bad Request",
  "statusCode": 400
}

Unauthorized (401)

{
  "message": "Invalid public api key",
  "error": "Unauthorized",
  "statusCode": 401
}

Unprocessable Entity (422)

{
  "message": "invalid file type for audio: text/html; charset=utf-8",
  "error": "Unprocessable Entity",
  "statusCode": 422
}

Best Practices

  • Double-check the group ID before sending the delete request.
  • Ensure that the group is no longer needed before deletion.

What’s Next

Explore more message types and enhance your WhatsApp communication with DoubleTick API