---
title: "ToggleStatus"
description: "Change the status of an SMS contact by its unique ID, setting it to active, inactive or blocked and providing a reason, such as a request to cancel the subscription."
source: https://docs.payplus.co.il/en/payplus/latest/post-sms-togglestatus-contact-uid
language: en
product: payplus
version: v1
updated: 2025-05-28
---

# ToggleStatus

**POST** `/SMS/ToggleStatus/{contact_uid}`

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

**Parameters**

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

**Request body** (application/json)

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `reason` | string | yes | This contact asked to cancel his subscription |
| `status` | string | yes | Values that can be send are: active, inactive, blocked |

```json
{
  "reason": "string",
  "status": "active"
}
```

**Response 200** — 200

```json
{}
```

**Response 400** — 400

```json
{}
```
