Implementation
Buy a line, copy the prompt below and paste it into your coding agent (Claude Code, Cursor, Copilot, Codex or similar). The agent adds Blue Dialer to your project: sending, replies, delivery status, opt-outs and limit handling. Most setups take about 30 minutes.
- Buy a lineCreate an account, choose how many lines on the pricing page, and pay. Your key and line appear as soon as payment completes.
- Copy the promptThe success page and your dashboard give you a copy already filled with your line ids. The generic one is below.
- Hand it to your agentIt reads your repo, adds the integration, tests, and asks for your phone number for one real test message.
- Set two env vars
BLUEDIALER_API_KEY and BLUEDIALER_WEBHOOK_SECRET. Register your webhook URL in the dashboard and press “Send test event”.
The prompt
Pick your stack and what you're building. This generic version has no line ids; after you buy, the prompt on your success page and in the dashboard has yours filled in. The prompt never contains your API key: your agent reads it from an environment variable.
What the agent will build for you
- A single
sendMessage module with retries, 429 Retry-After handling and idempotent send records.
- A webhook route that verifies the HMAC signature on the raw body and de-duplicates deliveries.
- STOP / opt-out handling, line-paused handling, and delivery-status tracking.
- Tests (signature, opt-out, rate limits) and a one-message live verification to your own phone.
Before you send to real customers
- Make sure you have the legal right to message each person (consent). Honor STOP.
- Stay inside the sending limits; spread bulk sends over time. See Terms §7 for what happens if a line is banned because of how it was used.
- Keep the API key on your server only. If it leaks, rotate it in the dashboard.
Get a line Read the API docs