---
title: "Send OTP Through SMS"
description: "Send a one-time passcode by SMS to a mobile number, with message content and sender ID, plus optional code length (default 6) and expiry time in minutes."
source: https://docs.payplus.co.il/en/payplus/latest/post-otp-send-1
language: en
product: payplus
version: v1
updated: 2025-05-28
---

# Send OTP Through SMS

**POST** `/Otp/Send`

- 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 |
| --- | --- | --- | --- |
| `phone` | string | yes | The cellular number you would like to send OTP |
| `length` | integer |  | The length of the code you would like us to send, 6 is the default. |
| `content` | string | yes |  |
| `expiry_minutes` | integer |  | The expiry minutes the code will expired. |
| `sms_sender_uid` | string | yes |  |

```json
{
  "phone": "string",
  "length": 0,
  "content": "string",
  "expiry_minutes": 0,
  "sms_sender_uid": "string"
}
```

**Response 200** — 200

```json
{}
```

**Response 400** — 400

```json
{}
```
