---
title: "Send text message"
method: POST
path: "/smsmessaging/text"
tags: ["messaging"]
---

# Send text message

`POST /smsmessaging/text`

Sends a text message to a list of recipients

## Request body

- TextSmsSendRequest
  - `recipientAddressList` integer[], required — List of recipients (E164 formatted MSISDNs - see Wikipedia en.wikipedia.org/wiki/MSISDN) to whom the message should be sent. The list of recipients may contain a maximum of 1000 entries.
  - `senderAddress` string — _Optional._ Address of the sender (assigned to the account) from which the message is sent.
  - `senderAddressType` 'national' | 'international' | 'alphanumeric' | 'shortcode' — _Optional._ The sender address type. The following address types are supported: `national`, `international`, `alphanumeric` or `shortcode`).
  - `contentCategory` 'informational' | 'advertisement' — _Optional._ The content category that is used to categorize the message (used for blacklisting). The following content categories are supported: `informational` or `advertisement`. If no content category is provided, the default setting is used (may be changed inside the onlinesms web interface).
  - `notificationCallbackUrl` string — _Optional._ When setting a notificationCallbackUrl all delivery reports are forwarded to this URL.
  - `clientMessageId` string — _Optional._ May contain a freely definable message id.
  - `priority` integer — _Optional._ Priority of the message. Must not exceed the value configured for the account used to send the message. For more information please contact our customer service.
  - `test` boolean — _Optional._ `true`: The transmission is only simulated, no SMS is sent. Depending on the number of recipients the status code 2000 or 2001 is returned. `false` (default): No simulation is done. The SMS is sent via the SMS Gateway.
  - `validityPeriode` integer — _Optional._ Specifies the validity periode (in seconds) in which the message is tried to be delivered to the recipient. A minimum of 1 minute and a maximum of 3 days are allowed.
  - `sendAsFlashSms` boolean — _Optional._ `true`: The message is sent as flash SMS (displayed directly on the screen of the mobile phone). `false` (default): The message is sent as standard text SMS
  - `messageContent` string, required — `UTF-8` encoded message content
  - `maxSmsPerMessage` integer — _Optional._ Specifies the maximum number of SMS to be generated. If the system generates more than this number of SMS, the status code 4026 is returned. The default value of this parameter is `0`.If set to `0`, no limitation is applied.
  - `messageType` 'default' | 'voice' — _Optional._ Specifies the message type. Allowed values are `default` and `voice`. When using the message type `default`, the outgoing message type is determined based on account settings. Using the message type `voice` triggers a voice call.

## Response `200`

OK

## Other responses

- `401` — Unauthorized

---

[API](https://skmtc.dev/linkmobility/apis/untitled-api.md) · [All operations](https://skmtc.dev/linkmobility/apis/untitled-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/linkmobility/untitled-api/revisions/db84f79799b9/schema)
