---
title: "Recent SMS Opt-out"
method: GET
path: "/public/v1/sms-opt-outs"
tags: ["Communication Preferences"]
---

# Recent SMS Opt-out

`GET /public/v1/sms-opt-outs`

Retrieves a list of the most recent SMS opt-out changes for each phone numbers used in your workspace.

> 📘 You can filter results by time range using `timestamp_from` and `timestamp_to`.

## Query parameters

- `timestamp_from` string, date-time
- `timestamp_to` string, date-time

## Response `200`

A list of phone numbers, their SMS current opt-out statuses and timestamp of the last change.

- ListSmsOptOutChangelogResponse
  - `results` object[]
    - `phone_number` string
    - `status` 'opt-in' | 'opt-out'
    - `opt_out_changed` string, date-time

## Other responses

- `400` — Bad Request
- `401` — Authentication error
- `403` — Permission error
- `429` — Too Many Requests

---

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