iBlueText
v1.0.2Send iMessage, SMS and WhatsApp from a dedicated line, run text campaigns and read replies.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
ibt_balance
Check the iBlueText wallet: prepaid credits, free-trial + free-daily lookups, free verifications, and per-line daily usage. Use this before paid actions to warn the user if they need to top up.
ibt_lines
List the account's sending lines: status, today's new-contact cap and usage per channel, health (last sent, failures, last error), send window and webhook. A key limited to one line sees only that line.
ibt_lookup
Check which phone numbers are on iMessage (iPhone). Submits the list, waits for results, and returns each number tagged imessage true/false. Costs 1 credit each beyond the free allowance (returns a 402 with buy_url if out — a HUMAN must pay).
| Parameter | Type | Description |
|---|---|---|
numbers * | array | Phone numbers in E.164, e.g. ["+18135550142"] |
ibt_lookup_status
Get the status and results of an iPhone lookup job by id.
| Parameter | Type | Description |
|---|---|---|
id * | number |
ibt_send
Send one iMessage/SMS to one person (with optional attachments). Requires an active sending line — returns 402 with buy_url if none. channel auto = iMessage for iPhones, SMS for everyone else.
| Parameter | Type | Description |
|---|---|---|
body * | string | Message text. {firstname} is personalized if first_name is given. |
to * | string | Recipient phone in E.164 |
channel | string | |
effect | string | iMessage effect, e.g. confetti, balloons, slam, invisible_ink. |
first_name | string | |
line_id | number | Send from this line (default: the line the conversation is on). |
media_urls | array | https links to a photo, video, voice memo, .vcf or PDF (up to 5, 5 MB each). |
reply_to | string | Quote-reply to an inbound message_id like "in_3909". |
send_at | string | Schedule (ISO 8601, up to 30 days ahead). |
voice | boolean | Send the body as an AI voice note (real iMessage voice memo; playable link on Android lines) in the account's chosen or cloned voice. Up to 600 characters. Mood tags like [laughs], [whispers], [excite… |
voice_text | string | Words to speak as a voice note; body (optional) then goes along as text. |
ibt_send_status
Status of a sent iMessage/SMS by id (queued, sent, delivered, failed + error).
| Parameter | Type | Description |
|---|---|---|
id * | number |
ibt_react
Put an iMessage reaction (tapback) on a message someone sent you: love, like, dislike, laugh, emphasize, question ("-love" removes it). Use message_id from conversations/webhooks, or "to" for their latest message.
| Parameter | Type | Description |
|---|---|---|
reaction * | string | |
line_id | number | |
message_id | string | |
to | string |
ibt_campaign_create
Send one message to a whole list, exactly like the dashboard Campaigns page. Opt-outs and duplicates are removed; every {merge} field must exist on the recipients (else nothing is sent and you get the reason). channel: imessage, sms, auto (looks each number up first, then iMessage or SMS) or whatsapp (from the account's WhatsApp numbers; each number's warm-up applies — 10 new conversations on day 1 rising to 300/day by day 21 — and anyone who never replied to the last 3 WhatsApp messages is skipped). TIP for WhatsApp: open with a question like "Hey, is this {first_name}?" — low reply rat…
| Parameter | Type | Description |
|---|---|---|
message * | string | Text with {merge} fields, e.g. "Hey, is this {first_name}?" |
name * | string | Unique campaign name |
recipients * | List of {phone, first_name, ...any fields} (or bare phone strings), or CSV text with a header row. | |
channel | string | |
effect | string | |
line_id | Default "all" (spread across your lines). | |
media_urls | array | |
voice | boolean | Send as an AI voice note. {first_name} is spoken, so each person hears their own name; no merge fields = one note for everyone. Works on WhatsApp too. Mood tags like [laughs], [whispers], [excited], [… |
voice_intro | string | Short text sent with the voice note (default "🎤 Voice note for you"). iMessage/SMS only. |
wa_session_id | number | WhatsApp: send from this one number (see ibt_whatsapp_numbers). |
ibt_campaigns
List recent campaigns (id, name, channel, status, total, sent, replies).
| Parameter | Type | Description |
|---|---|---|
limit | number |
ibt_campaign_status
One campaign with stats: sent, delivered, read, failed, waiting, held by warm-up/daily cap, replies, reply rate and any skipped note.
| Parameter | Type | Description |
|---|---|---|
id * | number |
ibt_campaign_pause
Pause or resume a campaign.
| Parameter | Type | Description |
|---|---|---|
action * | string | |
id * | number |
ibt_whatsapp_send
Send a WhatsApp message from the account's linked or hosted WhatsApp number. Over the number's daily new-contact limit it waits (held_until) and sends automatically. Someone who never replied gets at most 3 messages: the 3rd returns a "warning", a 4th is refused (code no_reply_limit) until they reply.
| Parameter | Type | Description |
|---|---|---|
to * | string | |
body | string | |
media_url | string | One file per message (≤16 MB); body becomes the caption. |
session_id | number | |
voice | boolean | Send the body as a WhatsApp voice note spoken in the account's voice. |
ibt_whatsapp_status
Status of a WhatsApp message by id (queued, sent, delivered, read, failed); held_until/held_reason while it waits on the warm-up limit.
| Parameter | Type | Description |
|---|---|---|
id * | number |
ibt_whatsapp_numbers
The account's WhatsApp numbers with warm-up (day N of 21, today's new-contact limit, used, left, held), 7/30-day reply rate, health (good/watch/risk), slowed flag (reply rate under 15% halves the limit) and hosted flag. Check this before a big WhatsApp send.
ibt_conversations
Full two-way transcripts per contact (in/out messages, channel, status, attachments) plus fields, opt-out and lead score. Default: only contacts who replied.
| Parameter | Type | Description |
|---|---|---|
include_no_reply | boolean | |
limit | number | |
phone | string | |
since | string | ISO time: only conversations with newer activity |
ibt_conversation_ai
Pause or resume the built-in iBlueText AI in one conversation so a person can take over (pause lasts until resumed). The AI also steps back by itself for 24h after someone replies by hand.
| Parameter | Type | Description |
|---|---|---|
ai * | string | |
phone * | string |
ibt_quick_answers
List Quick answers: free keyword auto-replies checked before the AI (never counted as AI replies; keep AI costs low).
ibt_quick_answer_set
Add a Quick answer {keywords:"hours, open", reply, match:"contains"|"exact"}, or change one by id (active:false to turn off, delete:true to remove).
| Parameter | Type | Description |
|---|---|---|
active | boolean | |
delete | boolean | |
id | number | |
keywords | string | comma-separated words/phrases; any one matches |
match | string | |
reply | string |
ibt_contact
One contact record: fields, tags, opt-out, last activity and lead score (0-100 + hot/warm/cold tier).
| Parameter | Type | Description |
|---|---|---|
phone * | string |
ibt_contact_update
Create or update a contact: merge fields, add/remove tags (a tag can start a tag-triggered sequence), set opted_out. opted_out:false re-subscribes — only if the person asked to hear from you again. fields.lead_tier = hot|warm|cold|dead overrides the lead tier.
| Parameter | Type | Description |
|---|---|---|
phone * | string | |
fields | object | |
opted_out | boolean | |
remove_tags | array | |
tags | array |
ibt_contacts
Pull widget-verified contacts (phone, name, email, channel, verified time) to sync into a CRM. Paginate with since/limit.
| Parameter | Type | Description |
|---|---|---|
limit | number | |
since | number |
ibt_contacts_find
Find contacts, newest activity first: everyone with a tag (tag), a search by name, company, email, part of a tag or 4+ digits of a phone number (search), or a lead tier (tier: hot, warm, cold, dead). Each result has fields, tags, opt-out, last activity and lead score. Up to 100 per call; more:true means there are others.
| Parameter | Type | Description |
|---|---|---|
limit | number | |
search | string | |
tag | string | |
tier | string |
ibt_sequences
List sequences (drip follow-ups that stop when the contact replies).
ibt_sequence_enroll
Enroll a contact in a sequence (skips opted-out / already enrolled), or stop them with stop:true.
| Parameter | Type | Description |
|---|---|---|
phone * | string | |
sequence_id * | number | |
stop | boolean |
ibt_sequence_create
Create a follow-up sequence: up to 10 texts sent automatically, each after a wait (minutes, hours or days after the previous one), stopping for a contact as soon as they reply or opt out. Steps can use {first_name} and other contact fields. start_on_tag (optional) starts it whenever that tag is added to a contact. Creating it texts no one; add people with ibt_sequence_enroll, the tag, or the Sequences page.
| Parameter | Type | Description |
|---|---|---|
name * | string | |
steps * | array | |
start_on_tag | string |
ibt_webhooks
Read the reply-webhook setup: signing secret, account webhook, per-line webhooks, events.
ibt_webhooks_set
Point incoming replies at your bot: url ("" clears), lines ("account" default | "all" | "reserved" | [line ids]), replies_handled_by_webhook (default true: built-in AI stays quiet), test:true sends a message.test event, status_events turns on opt-in events (message.sent, message.delivered, message.failed, message.read, reaction.received, line.status, contact.created, call.*).
| Parameter | Type | Description |
|---|---|---|
lines | ||
replies_handled_by_webhook | boolean | |
status_events | array | |
test | boolean | |
url | string | null |
ibt_verify_start
Start an SMS/iMessage verification: sends a 6-digit code to a phone. Returns an id to check the code with. First 10 verifications are free.
| Parameter | Type | Description |
|---|---|---|
phone * | string | |
email | string | |
name | string |
ibt_verify_check
Check a verification code the user entered. Returns { verified, token, channel }.
| Parameter | Type | Description |
|---|---|---|
code * | string | |
id * | number |
ibt_create_site
Create an SMS-Verify widget site. Returns a site_key (for the widget) + secret (for /siteverify) + ready-to-paste embed.
| Parameter | Type | Description |
|---|---|---|
name * | string | |
domains | string | Comma-separated allowed domains |
theme | string |