Send SMS (Line)
Send an SMS through a specific Dial line. Bot auth required. Per-line suppression checks and moderation enforced.
Send an SMS through a specific Dial line. Bot auth required. Per-line suppression checks and moderation enforced.
Authorization
bearer AuthorizationBearer <token>
Privy access token (dashboard sessions) or API key (programmatic access — issue #61). Required for endpoints that operate on provisioned resources (e.g. sending SMS from your own number, listing /numbers/mine).
In: header
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
curl -X POST "https://x402.dial.wtf/api/v1/xmpp/messages/send" \ -H "Content-Type: application/json" \ -d '{ "lineId": "string", "to": "string", "body": "string" }'{
"success": true,
"messageId": "string",
"queued": true,
"blocked": true
}{
"x402Version": 2,
"accepts": [
{
"scheme": "exact",
"network": "eip155:8453",
"amount": "100000",
"payTo": "string"
}
]
}