---
title: "Test Sms Config"
method: POST
path: "/integrations/sms/test"
tags: ["integrations", "sms"]
---

# Test Sms Config

`POST /integrations/sms/test`

## Request

- Base URL: `https://dev.whispa.net` (the document declares no server; this is the origin it was published from)
- URL: `https://dev.whispa.net/integrations/sms/test`
- Auth: one of:
  - OAuth 2
    - Password
    - Token URL: `auth/bearer/login`
  - API key in cookie `access_token`

Send a real test SMS to the supplied number with the submitted (or
stored/env) credentials — so the admin sees a text arrive before enabling.
Dry-run is forced off for the test; a demo no-op wouldn't prove anything.

## Request body

- SmsTestRequest
  - `provider` 'twilio'
  - `enabled` boolean
  - `config` object
  - `to` string

## Response `200`

Successful Response

- SmsTestResponse
  - `provider` 'twilio', required
  - `message` string, required

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/whispa/apis/whispa-api.md) - [All operations](https://skmtc.dev/whispa/apis/whispa-api/llms.txt) - [OpenAPI document](https://skmtc.dev/whispa/apis/whispa-api/revisions/12c2e4aca43c?raw)
