---
title: "Analyze Bulk Messages - Campaigns"
method: POST
path: "/sms/analyze/campaign"
---

# Analyze Bulk Messages - Campaigns

`POST /sms/analyze/campaign`

Analyzing a bulk sendout is useful when the user needs information about the send out before actually sending it.

## Headers

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

## Request body

- object
  - `contacts` string[] — The contact ids that the message will be sent to. At least one of "contacts", "groups" or "to" is required.
  - `groups` string[] — The groups of contacts in the account selected as recipients.
  - `to` string[] — The phone numbers the message is about to be sent to. Format with a '+' and country code e.g., +306948530920 (E.164 format).
  - `from` string, required — The sender of the message. This can be a telephone number (numeric string with maximum length 16 characters) or an alphanumeric string (maximum length 11 characters). When you want to use a [number](/docs/numbers), you have to enter it without the '+' before the country code (eg 447123123456).
  - `body` string, required — The message you want to send.

## Response `200`

200

- object
  - `numberOfRecipients` integer
  - `recipientsPerCountry` object
    - `GR` integer
    - `DE` integer
    - `FR` integer
    - `RU` integer
  - `recipientCountries` object
    - `+30697xxxxxxx` string
    - `+30693xxxxxxx` string
    - `+30694xxxxxxx` string
  - `contacts` object
  - `recipientsPerGroup` object
    - `customers` integer
  - `totalInGroups` integer
  - `bodyAnalysis` object
    - `characters` integer
    - `parts` integer
    - `unicode` boolean

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