---
title: "Getting Messages Count"
method: GET
path: "/v1/messages/count"
---

# Getting Messages Count

`GET /v1/messages/count`

## Request

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

You can know the count of SMS messages you have sent during a certain period. The API will return an integer that represents the count of SMS messages sent during the provided date range in the API request.To use Cequens Get Sent Messages Count API, first submit an HTTP Request with the date range, then receive a Response that includes the count of SMS messages sent during the provided date range.

## Query parameters

- `from` string, required
- `to` string, required

## Response `200`

200

- object
  - `replyCode` integer
  - `replyMessage` string
  - `requestId` string
  - `clientRequestId` integer
  - `requestTime` string
  - `data` object
    - `Count` integer

## 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)
