---
title: "POST /send_sms"
method: POST
path: "/send_sms"
tags: ["Notifications"]
---

# POST /send_sms

`POST /send_sms`

Create and send an SMS message to the consumer

## Request body

- SendSms — Creates and sends an SMS message
  - `site_identifier` string, required — Identifies your client site.
  - `timestamp` string, required — The Unix Epoch time of the call
  - `version` string, required — The version of the API. This version must match the version associated with your API key pair.
  - `signature` string, required — The HMAC signature that is calculated by running your API Secret Key and the alphabetized, concatenated parameters of the request payload through the SHA256 message digest algorithm.
  - `recipients` string, required — The mobile phone number where you are sending the text. Use commas to separate numbers when sending the message to multiple recipients. <b>NOTE:</b> Upon request, PayNearMe can configure the <code>/send_sms</code> endpoint to return an error response for numbers blocked due to <code>STOP</code> opt-outs. Contact your Technical Account Manager for configuration details.
  - `body_text` string, required — The text of the SMS message. This parameter does not support HTML or special characters like emojis.
  - `body_spanish` string — The text of the SMS message in Spanish. This parameter does not support HTML
  - `language` 'en' | 'sp' — Indicates which version of the SMS message should be sent to the specified recipient. Options include <ul><li><code>en</code> - English</li><li><code>sp</code>- Spanish</li></ul><br/>If sending the message in Spanish, the <code>body_spanish</code> parameter must be included.

## Response `201`

SMS Sent

- SendSmsResponse
  - `status` string — Provides the status of the request.

## Other responses

- `400` — Error

---

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