---
title: "Send a test SMS to the specified phone number"
method: POST
path: "/sms/v1/test/messages"
tags: ["SMS Libraries and APIs"]
---

# Send a test SMS to the specified phone number

`POST /sms/v1/test/messages`

Send a test SMS to the specified phone number. This is for testing purposes only.
Fixed message content is used for testing, and the message will not be persisted in the database.

## Request body

- AssistantSMSPayload
  - `to` string, nullable — Phone number to which SMS to be sent.
  - `from_` string, nullable — Phone number from which SMS is received.
  - `body` string, nullable — Message content of SMS
  - `assistantId` string, nullable
  - `teamId` string, nullable
  - `botconfig` object, nullable
  - `meta` object, nullable
  - `skipSmsLog` boolean, nullable — If true, skip persisting an SMSLogs record for this send (e.g. OTP messages).

## Response `200`

Successful Response

- unknown

## Other responses

- `422` — Validation Error

---

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