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

# Send Test Sms

`POST /admin/test-sms/`

## Request

- Base URL: `https://api-docs.upsmith.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api-docs.upsmith.com/admin/test-sms/`
- Auth: one of:
  - API key in header `x-api-key`
  - HTTP bearer

Send a one-shot SMS for admin testing.

Dispatches through the channel's provider — Twilio (SMS) or Telnyx
(SMS_TELNYX). Bypasses the engagement / agent
pipeline entirely: no Contact is created, no Engagement record is written,
and inbound replies are NOT routed back to any agent. Use this only to
verify SMS delivery for an org's configured SMS channel.

## Headers

- `organization-id` string, nullable
- `timezone` string
- `x-user-id` string, nullable
- `x-actor-email` string, nullable
- `x-request-source` string, nullable
- `x-operation-id` string, nullable
- `x-commit-message` string, nullable
- `x-confirmation-id` string, nullable
- `x-chat-id` string, nullable

## Request body

- SendTestSMSRequest
  - `organization_id` string, required
  - `to_number` string, required: Recipient phone number in E.164 format, e.g. +14155551234
  - `message` string, required
  - `channel_id` string, nullable: Optional SMS channel id. If omitted, the first active SMS channel for the org is used.

## Response `200`

Successful Response

- SendTestSMSResponse
  - `message_sid` string, required
  - `from_number` string, required
  - `to_number` string, required
  - `channel_id` string, required

## Other responses

- `422`: Validation Error

---

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