Connect ChatGPT to SMS in 5 Minutes
To connect ChatGPT to SMS you give it one HTTPS endpoint and one API key. Inside the ChatGPT app, build a Custom GPT with an Action that calls POST https://smsnet.net/api/v1/messages/send using an X-API-Key header. From code, use the OpenAI Responses API and declare https://smsnet.net/mcp as an MCP tool. Either way the text leaves from your own Android phone and number.
Which path should I use?
There are two, and they end in the same place: the SMSNET cloud queues the message and your own phone sends it. Path A lives entirely inside ChatGPT's GPT builder and needs no code; it is the one to use if you want to type "text Dana that the invoice is paid" into a chat window. Path B is for anything you build on the OpenAI API: a support bot, an ops agent, a script that also needs to read replies.
Both paths converge on the same phone. Pick by where the request originates.
Before either path you need a connected phone and an API key. Install the SMSNET Gateway app on any Android 8.0 or newer phone, sign in, and the last screen shows the key once. The Android gateway guide walks through the seven screens; it takes about two minutes and the free plan covers 300 messages a month.
| Compared | Path A: Custom GPT Action | Path B: Responses API + MCP |
|---|---|---|
| Where it runs | ChatGPT app, GPT builder | Your code, any language with an OpenAI SDK |
| Auth | API Key, custom header X-API-Key | Authorization: Bearer header on the MCP tool |
| Endpoint | POST /api/v1/messages/send | https://smsnet.net/mcp, 41 tools |
| Can it read replies? | Add a second Action for GET /api/v1/messages | Yes, get_new_messages and get_conversation |
| Setup time | About five minutes | About ten lines of Python |
How do I build a Custom GPT that sends SMS?
Open ChatGPT, go to Explore GPTs, choose Create, then Configure. Give it a name and, under Actions, choose Create new action. Set Authentication to API Key, Auth Type to Custom, and Custom Header Name to X-API-Key; paste your key as the value. Then paste this OpenAPI schema:
openapi: 3.1.0
info:
title: SMSNET
version: "1.0"
servers:
- url: https://smsnet.net
paths:
/api/v1/messages/send:
post:
operationId: sendSms
summary: Send an SMS from the account's own phone number
requestBody:
required: true
content:
application/json:
schema:
type: object
required: [to, body]
properties:
to:
type: string
description: Recipient in E.164 format, for example +15551234567
body:
type: string
description: The message text
transactional:
type: boolean
description: True only for a code or confirmation the person is waiting for right now
responses:
"200":
description: Queued
content:
application/json:
schema:
type: object
properties:
ok: { type: boolean }
message_id: { type: string }
conversation_id: { type: string }
In the Instructions box, tell the GPT to always confirm the recipient and the text before calling sendSms, and never to mark a message transactional unless the person asked for a code. Save, then test in the preview pane: "Send +15551234567 a text saying the table is ready." ChatGPT will show the Action call, ask you to allow it, and the response will contain a message_id.
If you want the GPT to read answers too, add a second path to the schema for GET /api/v1/messages with direction=inbound and a since cursor, which returns { "messages": [...], "next_cursor": "...", "has_more": false }.
How do I send SMS from the OpenAI API with MCP?
The Responses API accepts remote MCP servers as tools and forwards the headers you give it, so SMSNET's key-based server plugs in with no proxy.
from openai import OpenAI
client = OpenAI()
response = client.responses.create(
model="gpt-5",
tools=[{
"type": "mcp",
"server_label": "smsnet",
"server_url": "https://smsnet.net/mcp",
"headers": {"Authorization": "Bearer smsnet_your_key"},
"require_approval": "never",
}],
input="Text +15551234567: your order 1042 is ready for pickup today until 6pm.",
)
print(response.output_text)
The model reads SMSNET's tool list, picks send_sms, fills in to and body, and the SMSNET cloud queues the message for your phone. The same server exposes get_new_messages, list_conversations and reply, so an agent loop that polls for answers and responds in-thread is the same call with a different input. The full tool table is in What Is an MCP Server for SMS?.
Set require_approval to "always" while you are developing: the API then returns an approval request instead of sending, and you confirm each call. Move it to "never" only for a key scoped to send.
What stops ChatGPT from texting the wrong people?
The same guards that apply to a human. A recipient who replied STOP is refused with a readable error that names the date and the words they used, so the model can tell you rather than retry. The plan allowance is enforced on every call, with a fifth of headroom before the wall. And a new line sends at most 100 messages a day until it has earned more, whatever the model asks for.
For a key that reaches ChatGPT, scope it to send from the Developers page, and switch on client approval so an unknown MCP client cannot act until you give it a six digit code. Rotate the key if it ever leaks; the old one stops working immediately.
Sending from a script rather than an agent? How to Send an SMS from a Python Script has the plain REST version, including a webhook receiver for replies.
Both paths are free to try: create an account, connect a phone, and text yourself from ChatGPT within the hour.
FAQ
Can ChatGPT send text messages?
Yes, through an integration. Inside the ChatGPT app, a Custom GPT with an Action can call SMSNET's REST endpoint and send an SMS from your own phone number. From the OpenAI Responses API or Agents SDK, declare SMSNET's MCP server as a tool and the model can send, read and reply to texts.
Do I need a Twilio account to connect ChatGPT to SMS?
No. SMSNET sends from an Android phone and SIM you already own, so there is no carrier account and no number rental; you text from your own number on your own plan. You need the free SMSNET app on one phone and the API key it shows you at the end of setup.
Does ChatGPT support MCP servers directly?
The OpenAI Responses API and Agents SDK support remote MCP servers with custom headers, which is how SMSNET's key-based server connects. Inside the ChatGPT app itself, the reliable path is a Custom GPT Action against the REST API, which this guide covers step by step.
Can ChatGPT read the replies to the messages it sent?
Yes. Over MCP, the get_new_messages tool returns everything since a cursor and get_conversation returns one thread. In a Custom GPT, add a second Action for GET /api/v1/messages with direction=inbound. Replies arrive on your phone's SIM and are forwarded within seconds.
How much does it cost to send SMS from ChatGPT?
On SMSNET, nothing beyond your plan. The Free plan is permanent: one line, 300 messages a month, 20 a day, with the API and MCP included and replies uncounted. Paid plans start at $29 a month for two lines. OpenAI charges its own usage for the model.
What number does the recipient see?
Your own mobile number, the one on the SIM in the connected phone. Not a short code and not a rented long code, so people can reply and the conversation stays in your inbox.
Related guides
This is a spoke of What Is an MCP Server for SMS?, which lists every tool and the approval flow. The Claude equivalent is Send SMS from Claude with MCP. For the phone side, Turn Your Android Phone into an SMS Gateway; for plain code, the SMS API pillar.
Send your first message today
Free plan, no card: 400 messages a month from your own number, with the API, webhooks and MCP included.
Get the app See pricing