---
title: "Send an SMS to a contact"
method: POST
path: "/v1/messages"
tags: ["SMS"]
deprecated: true
---

# Send an SMS to a contact

`POST /v1/messages`

## Request

- Base URL: `https://api.revdesk.com`
- URL: `https://api.revdesk.com/v1/messages`
- Auth: HTTP bearer

> **Deprecated.**

Sends an outbound SMS to the given number from your organization's default sending number, creating the contact if it does not exist. Superseded by POST /v1/sms/send, which lets you pick the sending number explicitly.

## Headers

- `Idempotency-Key` string

## Request body

- object
  - `phone_number` string, required
  - `message` string, required
  - `name` string

## Response `201`

Success

- object
  - `data` object, required
    - `sent` boolean, required
    - `message_id` string, required
    - `contact_token` string, required
    - `phone_number` string, required

## Other responses

- `400`: Validation error
- `401`: Unauthorized
- `403`: Forbidden
- `404`: Not found
- `409`: Conflict (incl. idempotency conflicts)
- `429`: Rate limited

---

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