---
title: "Sending SMS To Groups"
method: POST
path: "/v1/messages/groups"
---

# Sending SMS To Groups

`POST /v1/messages/groups`

## Request

- Base URL: `https://apis.cequens.com/sms`
- URL: `https://apis.cequens.com/sms/v1/messages/groups`
- Auth: API key in header `Authorization`

In case you want to send bulk SMS to predefined groups of recipients, use Cequens Send SMS to Groups API. The API will return to you the messages’ ID to track them later using Cequens Get Message Details by ID API.

Using Cequens Send SMS to Groups API is quite simple. First, submit an HTTP Request with the group’s name, the message text, and other important parameters, and then receive a Response that includes the SMS IDs.

## Request body

- object
  - `messageText` string: The message content that you want to send.
  - `senderName` string: The name of the message sender.
  - `messageType` string: Message type either text or unicode Can be text or unicode
  - `groups` string: The names of the groups to which you want to send the SMS separated by commas.
  - `clientMessageId` integer: An integer used as an identifier for your request to track it.
  - `deliveryTime` string: A string to specify the desired delivery time of the SMS.
  - `dlrUrl` string: A string to define the URL to which you would like to send the delivery receipts (DLR).
  - `dataCoding` string: A string to define the data coding scheme of the SMS.

## Response `200`

200

- object
  - `replyCode` integer
  - `replyMessage` string
  - `requestId` string
  - `clientRequestId` integer
  - `requestTime` string
  - `data` object
    - `invalidRecipients` string
    - `SentSMSIDs` object[]
      - `SMSID` string

## Other responses

- `400`: 400

---

[API](https://skmtc.dev/cequens/apis/sms.md) - [All operations](https://skmtc.dev/cequens/apis/sms/llms.txt) - [OpenAPI document](https://skmtc.dev/cequens/apis/sms/revisions/def8ba992ae2?raw)
