---
title: "Retrieve number of sms sent"
method: GET
path: "/sms/count"
tags: ["Sms"]
---

# Retrieve number of sms sent

`GET /sms/count`

Retrieve number of sms sent between two date

## Query parameters

- `from` string
- `to` string

## Headers

- `ApiKey` string, required
- `MerchantId` string, required
- `Environment` 'live' | 'sandbox', required

## Response `200`

- SmsCountDto
  - `from` string, date-time, required — Starting Date. Follows the [Datetime ISO](https://en.wikipedia.org/wiki/ISO_8601).
  - `to` string, date-time, required — Ending Date. Follows the [Datetime ISO](https://en.wikipedia.org/wiki/ISO_8601).
  - `count` number, required — Number of sms send during the period

## Other responses

- `401` — Wrong credentials
- `500` — Internal error

---

[API](https://skmtc.net/hub2/apis/hub2-service-api.md) · [All operations](https://skmtc.net/hub2/apis/hub2-service-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/hub2/hub2-service-api/versions/adb17b4b80f4/schema)
