---
title: "Send Sms"
method: POST
path: "/sms/send"
tags: ["SMS", "sms"]
---

# Send Sms

`POST /sms/send`

## Request

- Base URL: `https://api.openintake.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://api.openintake.ai/sms/send`
- Auth: none declared

Send an SMS message via Twilio.

Args:
    request: SMS sending request
    db_session: Database session
    current_user: Authenticated user

Returns:
    SMS log record

## Request body

- SendSMSRequest: Request to send an SMS message.
  - `to_number` string, required: Phone number to send SMS to (E.164 format recommended)
  - `message` string, required: Message body to send

## Response `200`

Successful Response

- SMSLogResponse: Response containing SMS log details.
  - `sms_id` string, uuid, required
  - `customer_id` string, uuid, required
  - `to_number` string, required
  - `from_number` string, required
  - `message_body` string, required
  - `twilio_message_sid` string, nullable
  - `status` string, nullable
  - `sent_at` string, date-time, nullable
  - `created_at` string, date-time, required

## Other responses

- `422`: Validation Error

---

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