> Fetch clean Markdown by appending `.md` to any page URL under https://signalwire.com/docs or requesting it with the HTTP header `Accept: text/markdown`. The root index at https://signalwire.com/docs/llms.txt lists the available documentation indexes.

# Messages

> Send SMS and MMS messages and redact the body of a sent message.

[restclient]: /docs/server-sdks/reference/python/rest/client

[logs-messages]: /docs/server-sdks/reference/python/rest/logs/messages

Send outbound SMS and MMS messages and redact the body of a message you already
sent. This resource sends and redacts; to query the history of sent and received
messages, use [message logs][logs-messages] at `client.logs.messages`.

Access via `client.messages` on a [`RestClient`][restclient] instance.

```python {9}
from signalwire.rest import RestClient

client = RestClient(
    project="your-project-id",
    token="your-api-token",
    host="your-space.signalwire.com",
)

message = client.messages.create(
    to="+15551234567",
    from_="+15559876543",
    body="Your table is ready.",
)
print(message["id"], message["status"])
```

## Methods

#### [create](/docs/server-sdks/reference/python/rest/messages/create)

Send an SMS or MMS message.

#### [update](/docs/server-sdks/reference/python/rest/messages/update)

Redact the body of a sent message.