Introduction
Getting Started with Sendblue | iMessage for Business
This guide will help you get started with Sendblue and understand the basics of how to use the platform. If you just want to start sending messages right away, jump to the Quickstart.
The fastest way to get started is with the Sendblue CLI:
npm install -g @sendblue/clisendblue setupThe CLI will walk you through creating an account, assigning you a Sendblue number, and verifying your first contact.
You can also create an account without email by verifying the user’s primary phone. The CLI shows a one-time phrase and waits for that phone to text the phrase to the shared Sendblue number:
sendblue setup --phone +15551234567 --company my-agentPhone-created accounts use the verified phone as the login identity. Sendblue stores an internal account email in the form [email protected] for future agent email support.
If an AI coding agent is helping, it can use the CLI directly. For the lowest-friction flow, ask for the user’s primary phone number and the account name, then run the phone setup command above. If they prefer email verification, ask for the email address they want on the account and the phone number they want to text, then run:
# The user checks email and provides the 8-digit verification code.npx -y @sendblue/cli setup --email [email protected] --code 12345678 --company my-agent --contact +15551234567The free account requires no credit card. iMessage traffic uses Apple’s end-to-end encryption, and Sendblue is SOC 2 Type II certified. Before sending a test message, make sure the recipient is comfortable using iMessage/SMS for the prototype.
View Your API Keys
Section titled “View Your API Keys”sendblue show-keysThese are the same credentials shown in the dashboard. Use them as SB-API-KEY-ID and SB-API-SECRET-KEY headers in API requests.
Already Have an Account?
Section titled “Already Have an Account?”If you already have Sendblue API credentials:
sendblue loginIf the account has a verified primary phone, you can also log in without email:
sendblue login --phone +15551234567For enterprise use cases, please reach out to sales.
Community Integrations
Section titled “Community Integrations”Here are two open-source projects built on Sendblue:
TextMe — Claude via iMessage
Section titled “TextMe — Claude via iMessage”TextMe turns your Mac into a personal Claude AI you can text from anywhere. Send messages, voice notes, or images — Claude responds directly to your phone via iMessage.
1. Install requirements:
npm install -g @sendblue/clinpm install -g @anthropic-ai/claude-code2. Get your Sendblue credentials:
sendblue setupsendblue show-keys3. Install:
git clone https://github.com/njerschow/textme.gitcd textme/daemon && npm install && npm run build4. Configure — create ~/.config/claude-imessage/config.json:
mkdir -p ~/.config/claude-imessage{ "sendblue": { "apiKey": "YOUR_API_KEY", "apiSecret": "YOUR_API_SECRET", "phoneNumber": "+1SENDBLUE_NUMBER" }, "whitelist": ["+1YOUR_PHONE"]}5. Run (from inside textme/daemon/):
npm startText your Sendblue number and Claude will respond.
openclaw-sendblue — Text Your AI Agent
Section titled “openclaw-sendblue — Text Your AI Agent”openclaw-sendblue is a plugin for openclaw that adds iMessage and SMS as a communication channel, so you can interact with your AI agent over text.
1. Get your Sendblue credentials:
npm install -g @sendblue/clisendblue setupsendblue show-keys2. Install the plugin:
git clone https://github.com/njerschow/openclaw-sendblue ~/.openclaw/extensions/sendbluecd ~/.openclaw/extensions/sendblue && npm install && npm run build3. Configure — add this to ~/.openclaw/openclaw.json:
{ "plugins": { "entries": { "sendblue": { "enabled": true, "config": { "apiKey": "YOUR_API_KEY", "apiSecret": "YOUR_API_SECRET", "phoneNumber": "+15551234567", "allowFrom": ["+15559876543"] } } } }}4. Restart and test:
openclaw gateway restartText the Sendblue number from your phone — openclaw will respond.
Both projects are MIT licensed.