curl -X POST https://app.nautilus.co/api/v1/message \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"to": "+15551234567",
"body": "Your wash is ready!"
}'
{
"success": true,
"results": [
{
"to": "+15551234567",
"success": true
}
]
}Send an SMS message to one or more recipients. Each recipient’s phone number is validated and formatted to E.164 before sending. When sending to multiple recipients, the message is dispatched in parallel and individual results are returned for each recipient.
curl -X POST https://app.nautilus.co/api/v1/message \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"to": "+15551234567",
"body": "Your wash is ready!"
}'
{
"success": true,
"results": [
{
"to": "+15551234567",
"success": true
}
]
}curl -X POST https://app.nautilus.co/api/v1/message \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"to": "+15551234567",
"body": "Your wash is ready!"
}'
to field accepts US phone numbers in several formats:
| Format | Example |
|---|---|
| E.164 | +15551234567 |
| 10-digit | 5551234567 |
| With dashes | 555-123-4567 |
+1XXXXXXXXXX) before delivery.
results for details)API key provided by Nautilus. Pass as Authorization: Bearer <token>.
Recipient phone number(s). Accepts a single number or an array. Numbers can be in E.164 format (+15551234567), raw 10-digit (5551234567), or other common US formats.
1"+15551234567"
The text content of the SMS message.
1Optional list of media attachments (MMS). Each attachment must include a publicly accessible URL.
Show child attributes