---
title: "Track multiple messages with filters for a specific time range"
method: POST
path: "/sms/tracking"
---

# Track multiple messages with filters for a specific time range

`POST /sms/tracking`

Limit the tracking result of multiple sms by passing filters (accept a date range only for the latest 7 days).

## Query parameters

- `dateStart` string, date, required
- `dateEnd` string, date, required
- `page` integer
- `size` integer
- `sort` string
- `trackingId` string
- `campaign` boolean

## Headers

- `Content-Type` string, required
- `Authorization` string, required

## Request body

- object
  - `fieldName` string, required — The name of the field to filter. Available values: smsId, to, status.status, direction, label, campaign
  - `searchTerm` string, required — The exact value that the specified field must match.
  - `searchOperator` string — Optional: The operator upon which the search operation will be executed. Possible values: 'is', 'is_not', 'contains', 'starts_with', 'ends_with'. If missing defaults to 'is'.

## Response `200`

200

- object
  - `totalPages` integer
  - `last` boolean
  - `totalElements` integer
  - `first` boolean
  - `numberOfElements` integer
  - `size` integer
  - `number` integer
  - `content` object[]
    - `applicationName` string
    - `campaignName` string
    - `country` string
    - `smsId` string
    - `messageId` string
    - `groups` object[]
    - `body` string
    - `operator` string
    - `originatingService` string
    - `to` string
    - `status` object
      - `status` string
      - `date` string
      - `reason` object
        - `detailedStatus` string
        - `description` string
    - `latency` integer
    - `parts` integer
    - `part` integer
    - `price` number
    - `from` string
    - `direction` string

## Other responses

- `400` — 400

---

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