curl --request POST \
--url https://api.reflecto.dev/v1/sms-agent/sends \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"contact_handle": "ch_q3V9xK2mP0aL7bN4cR1sTw",
"body": "Running 15 minutes late for dinner"
}
'import requests
url = "https://api.reflecto.dev/v1/sms-agent/sends"
payload = {
"contact_handle": "ch_q3V9xK2mP0aL7bN4cR1sTw",
"body": "Running 15 minutes late for dinner"
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
contact_handle: 'ch_q3V9xK2mP0aL7bN4cR1sTw',
body: JSON.stringify('Running 15 minutes late for dinner')
})
};
fetch('https://api.reflecto.dev/v1/sms-agent/sends', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.reflecto.dev/v1/sms-agent/sends",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'contact_handle' => 'ch_q3V9xK2mP0aL7bN4cR1sTw',
'body' => 'Running 15 minutes late for dinner'
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.reflecto.dev/v1/sms-agent/sends"
payload := strings.NewReader("{\n \"contact_handle\": \"ch_q3V9xK2mP0aL7bN4cR1sTw\",\n \"body\": \"Running 15 minutes late for dinner\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.reflecto.dev/v1/sms-agent/sends")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"contact_handle\": \"ch_q3V9xK2mP0aL7bN4cR1sTw\",\n \"body\": \"Running 15 minutes late for dinner\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.reflecto.dev/v1/sms-agent/sends")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"contact_handle\": \"ch_q3V9xK2mP0aL7bN4cR1sTw\",\n \"body\": \"Running 15 minutes late for dinner\"\n}"
response = http.request(request)
puts response.read_body{
"state": "sent",
"recipient_label": "Richa Sharma · Mobile"
}Text a contact from the user's phone
The send_sms MCP tool’s backing endpoint. Sends body from the user’s own phone to the contact behind contact_handle — a handle from POST /v1/sms-agent/contact-queries. There is no way to send to a raw phone number; anything that is not a phone-minted handle is a 400 invalid_contact_handle.
Waits up to 30 seconds for the phone to confirm, then returns sent, failed (with a reason) or pending. pending means not yet confirmed — the send is neither retried nor cancelled. Idempotent on the handle: calling again with the same handle returns the current state and never sends a second text. Handles are single-use, so a new text always needs a new lookup.
Not end-to-end encrypted. This is Reflecto’s server-as-sender path: the request passes through Reflecto’s server in memory, is encrypted to the phone with the server’s key, and is never stored.
Sends share the phone’s on-device limits (15/hour, 50/day, 5/hour to one recipient) and post a notification on the phone naming the recipient.
curl --request POST \
--url https://api.reflecto.dev/v1/sms-agent/sends \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"contact_handle": "ch_q3V9xK2mP0aL7bN4cR1sTw",
"body": "Running 15 minutes late for dinner"
}
'import requests
url = "https://api.reflecto.dev/v1/sms-agent/sends"
payload = {
"contact_handle": "ch_q3V9xK2mP0aL7bN4cR1sTw",
"body": "Running 15 minutes late for dinner"
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
contact_handle: 'ch_q3V9xK2mP0aL7bN4cR1sTw',
body: JSON.stringify('Running 15 minutes late for dinner')
})
};
fetch('https://api.reflecto.dev/v1/sms-agent/sends', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.reflecto.dev/v1/sms-agent/sends",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'contact_handle' => 'ch_q3V9xK2mP0aL7bN4cR1sTw',
'body' => 'Running 15 minutes late for dinner'
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.reflecto.dev/v1/sms-agent/sends"
payload := strings.NewReader("{\n \"contact_handle\": \"ch_q3V9xK2mP0aL7bN4cR1sTw\",\n \"body\": \"Running 15 minutes late for dinner\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.reflecto.dev/v1/sms-agent/sends")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"contact_handle\": \"ch_q3V9xK2mP0aL7bN4cR1sTw\",\n \"body\": \"Running 15 minutes late for dinner\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.reflecto.dev/v1/sms-agent/sends")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"contact_handle\": \"ch_q3V9xK2mP0aL7bN4cR1sTw\",\n \"body\": \"Running 15 minutes late for dinner\"\n}"
response = http.request(request)
puts response.read_body{
"state": "sent",
"recipient_label": "Richa Sharma · Mobile"
}Authorizations
Body
Response
The send's state when this call returned.
sent = the phone handed the SMS to the network. failed carries a reason. pending = not confirmed within 30 s; the send is neither retried nor cancelled, and calling again with the same handle returns the current state without sending again.
sent, failed, pending "sent"