---
title: "SendSingleSMSMessage"
description: "Send a single SMS or text-to-speech message to one recipient by providing an active sender name, phone number, content and terms approval, with optional short links and unsubscribe link."
source: https://docs.payplus.co.il/en/payplus/latest/post-sms-sendsinglesmsmessage
language: en
product: payplus
version: v1
updated: 2025-05-28
---

# SendSingleSMSMessage

**POST** `/SMS/SendSingleSMSMessage`

- Production: `https://restapi.payplus.co.il/api/v1.0/`
- Staging: `https://restapidev.payplus.co.il/api/v1.0/`

**Parameters**

| Name | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `api-key` | header | string | yes | API Key |
| `secret-key` | header | string | yes | Secret Key |

**Request body** (application/json)

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `type` | string | yes | Possible types of messages are: ''tts'' / ''sms'' |
| `phone` | string | yes | 05xxxxxxx |
| `content` | string | yes | Content of the SMS or TTS message |
| `last_name` | string |  | Recepient Last Name |
| `first_name` | string |  | Recepient First Name |
| `sms_sender_uid` | string | yes | Should be active sender name. Can be use only for SMS |
| `agreement_signed` | boolean | yes | You must approve our terms and conditions for every sending of message |
| `generate_short_links` | boolean |  | If you would like we will create shortcut for all your links in your message content |
| `show_unsubscribe_link` | boolean |  | To show unsubscribe link at the end of the SMS message type only |
| `unsubscribe_link_title` | string |  | What is the word to show in the message to unsubscribe |

```json
{
  "type": "string",
  "phone": "string",
  "content": "string",
  "last_name": "string",
  "first_name": "string",
  "sms_sender_uid": "string",
  "agreement_signed": false,
  "generate_short_links": false,
  "show_unsubscribe_link": false,
  "unsubscribe_link_title": "string"
}
```

**Response 200** — 200

```json
{
  "barcode": "472819632332439",
  "brand": {
    "name": "Company Name",
    "uuid": "67a8cc93-75ac-4832-8386-3eb5b24bf3d0"
  },
  "copyDocAddress": "https://restapi.payplus.co.il/getdoc/s/c/1fa79282-61d1-4898-b7b9-afa67f46d34a.pdf",
  "currency_code": "ILS",
  "customer": {
    "customer_name": "John Doe",
    "email": "johndoe@example.com",
    "phone": "123456789",
    "subject_code": "987654321",
    "uuid": "faa6280f-dba5-4889-9b15-de60e1527bdc",
    "vat_number": "1231231"
  },
  "customer_uuid": "faa6280f-dba5-4889-9b15-de60e1527bdc",
  "docUID": "1fa79282-61d1-4898-b7b9-afa67f46d34a",
  "doc_date": "2022-11-15",
  "doc_type": "inv_tax",
  "more_info": null,
  "number": "SCP/50042",
  "originalDocAddress": "https://restapi.payplus.co.il/getdoc/s/o/1fa79282-61d1-4898-b7b9-afa67f46d34a.pdf",
  "total_items_base_currency": 150,
  "validDocumentGenerated": true
}
```

**Response 400** — 400

```json
{}
```
