Textbelt Send An Sms
textbelt_send_an_smsSend an SMS using HTTP POST. Note: No Urls in text message. Max 800 characters
When to Use
Use this tool when you need to send an sms using http post. note: no urls in text message. max 800 characters. This is part of the Textbelt API provider on xpay✦.
MCP Connection
Connect to xpay✦ to access this tool (and 1+ others):
{
"mcpServers": {
"xpay": {
"url": "https://mcp.xpay.sh/mcp?key=YOUR_API_KEY"
}
}
}
For Claude Code:
claude mcp add --transport http xpay "https://mcp.xpay.sh/mcp?key=YOUR_API_KEY"
How to Execute
Use the xpay✦ meta-tools to run this tool:
xpay_details— Get full input schema:xpay_details("textbelt/textbelt_send_an_sms")xpay_run— Execute:xpay_run("textbelt/textbelt_send_an_sms", { ...inputs })
Input Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
replyWebhookUrl | string | No | U.S. phone numbers only: Textbelt lets you receive replies to SMS you've sent. Replies are sent by webhook, meaning you will have to set up an HTTP or HTTPS route on your website that will process inbound SMS.This will send an SMS. If the recipient responds, Textbelt will send an HTTP POST request to the specified endpoint (in this case, https://my.site/api/handleSmsReply). The webhook payload is application/json encoded. Your server must interpret it like any other HTTP POST request with a JSON payload. The JSON payload contains the following: textId: The ID of the original text that began the conversation. fromNumber: The phone number of the user that sent the reply (you can use this, for example, to send them a response depending on their reply). text: The content of their reply. Here's an example payload: { "textId": "123456", "fromNumber": "+1555123456", "text": "Here is my reply" } |
message | string | Yes | The content of your SMS. |
phone | string | Yes | A phone number. If you're in the U.S. or Canada, you can just send a normal 10-digit phone number with area code. Outside the U.S., it is best to send the phone number in E.164 format with your country code. |
sender | string | No | Optionally, the name of the business/organization you represent. This field is for regulatory purposes and is not visible to the end user in most countries. If not set, sender will default to your account-wide sender name. |
webhookData | string | No | Endpoint supports a webhookData field. This data is passed as data in the webhook request. There is a maximum length of 100 characters in the webhookData field. |
Pricing
- Cost: $0.05/call
- Balance check: Use
xpay_balanceto check remaining credits - Get your API key at xpay.tools — $5 free credits included
Related Skills
- Textbelt API (all tools) — 2 tools
- Textbelt Status — $0.01/call
Links
- Tool page: https://xpay.tools/textbelt/textbelt-send-an-sms/
- Provider: https://xpay.tools/textbelt/
- All tools: https://xpay.tools/explore
How to Execute
Input Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
replyWebhookUrl | string | No | U.S. phone numbers only: Textbelt lets you receive replies to SMS you've sent. Replies are sent by webhook, meaning you will have to set up an HTTP or HTTPS route on your website that will process inbound SMS.This will send an SMS. If the recipient responds, Textbelt will send an HTTP POST request to the specified endpoint (in this case, https://my.site/api/handleSmsReply). The webhook payload is application/json encoded. Your server must interpret it like any other HTTP POST request with a JSON payload. The JSON payload contains the following: textId: The ID of the original text that began the conversation. fromNumber: The phone number of the user that sent the reply (you can use this, for example, to send them a response depending on their reply). text: The content of their reply. Here's an example payload: { "textId": "123456", "fromNumber": "+1555123456", "text": "Here is my reply" } |
message | string | Yes | The content of your SMS. |
phone | string | Yes | A phone number. If you're in the U.S. or Canada, you can just send a normal 10-digit phone number with area code. Outside the U.S., it is best to send the phone number in E.164 format with your country code. |
sender | string | No | Optionally, the name of the business/organization you represent. This field is for regulatory purposes and is not visible to the end user in most countries. If not set, sender will default to your account-wide sender name. |
webhookData | string | No | Endpoint supports a webhookData field. This data is passed as data in the webhook request. There is a maximum length of 100 characters in the webhookData field. |
Related Tools from Textbelt API
Install Skill
Pricing
Cost
$0.05/call
Model
Flat rate
Provider
Textbelt API

