TextKit
com.jointextkit/textkit
MCP server OK 161 tools
SMS for developers: send and receive texts, verify phones, and buy US and Canada numbers.
Technical sheet
- Author
- jointextkit.com (registry namespace)
- Repository
- github.com/textkithq/textkit-mcp
- Site
- jointextkit.com/docs/mcp?ref=mcp-registry
- Version
- 1.0.2
- Transport
- Streamable HTTP
- Authentication
- None (observed by our test)
- Server address
- https://mcp.jointextkit.com Streamable HTTP
- Tools
- 161
- Categories
- Messaging and communication
- Last updated
- 30 Oct 2026
- Published
- 30 Oct 2026
Badge for your README
Free, for every entry. It links back to this entry and shows “tested OK” as long as our latest test succeeded.
[](https://latlas.dev/en/mcp/com.jointextkit/textkit)<a href="https://latlas.dev/en/mcp/com.jointextkit/textkit"><img src="https://latlas.dev/badge/fiche/com.jointextkit/textkit.svg?lang=en" alt="Listed on L’Atlas" height="20"></a>Our tests
Every week: initialize then tools/list, without credentials, never calling a tool. Method
- Address
- https://mcp.jointextkit.com
- Last result
- OK 28 Nov 2026, 11:16
- Response time
- 810 ms (initialize + tools/list)
- Protocol version
- 2025-03-26
- Announced name
- textkit 1.0.0+21b9a036
- Tools
- 161
History
| Date | Result | Response | Tools |
|---|---|---|---|
| 28 Nov 2026, 11:16 | OK | 810 ms | 161 |
Exposed tools (161, from tools/list, 28 Nov 2026)
send_message
Send message
Send one SMS from one of your numbers. Set category "marketing" for promotions (the opt-in check applies) and scheduled_at to send later. Quiet hours apply to every message: outside 8am-9pm (narrower in some states) in the recipient's local time a marketing message is refused and anything else is held until 9am, except one-time codes and replies within 4 hours of their text. In sandbox (test keys), delivery is simulated: +15005550006 delivers, +15005550002 fails, +15005550007 is filtered as spam, +15005550013 delivers after a delay, +15005550016 has no opt-in (see /docs/sandbox).
| Parameter | Type | Required | Description |
|---|---|---|---|
| to | string | yes | Recipient's number in E.164 |
| from | string | no | One of your numbers, or a sender pool id (pool_...): TextKit picks a pool member, the same one for each recipient every time. Optional when the account has exactly one number for the key's mode. |
| body | string | yes | The message text |
| customer_id | string | no | Optional. Attribute to one of your customers. Defaults to the customer the from-number is assigned to; a number assigned to another customer is rejected (400). |
| scheduled_at | string | no | Optional. Future ISO timestamp (or epoch ms), up to 30 days out. The message is queued and the response is a scheduled_message object instead of a message. A marketing message scheduled into the recipient's quiet hours is refused now (403 quiet_hours) or, with quiet_hours defer, moved to their next… |
| category | enum: "marketing" | "transactional" | "otp" | no | Optional. It can make a message stricter (`marketing`), never looser: what a message is comes from the sending number's registration and its wording ([which messages are marketing](/docs/compliance-checks#which-messages-are-marketing)). A message outside its registration's use case is refused with… |
| quiet_hours | enum: "block" | "defer" | no | Optional. What to do with a message in the recipient's quiet hours: `block` refuses it (403 quiet_hours), `defer` holds it until their next 9:00am. Omitted: the account default (a single marketing send is refused; every other message is held). One-time codes are never held. |
| shorten_links | boolean | no | Optional. Rewrite every http(s) link in `body` to a short link with clicks tracked (`links` on the message, `message.link_clicked` events): on .txtkto.com once your business is verified, txtkto.com before that, or your own link domain when you have an active one (POST /link-domains). The links are… |
| tags | array<string> | no | Optional. Your own labels, up to 10 (letters, digits, space _ . : -; up to 32 characters each; lowercased), for example a campaign or a flow. Stored on the message, sent on its webhook events, and reported by GET /v1/deliverability?group_by=tag. Filter with GET /v1/messages?tag=. |
| consent | object | no | Optional. How the recipient agreed to your messages. A recurring non-marketing message from a number linked to a registration needs an opt-in on file for that registration; when none is, this records it and the message is sent. Never counts for marketing (use POST /v1/consent with proof). Not with… |
| media | array<string> | no | Reserved for MMS; currently returns 400 mms_not_enabled. |
| status_callback | string | no | Optional. Also send this message's status events (message.sent, message.delivered, message.failed, message.blocked) to this https URL, signed with your callback secret (POST /v1/webhooks/callback_secret; 400 callback_secret_required until it exists). Logged and retried like a webhook endpoint, unde… |
| idempotency_key | string | no | Optional. Retries are already safe: the same call with the same inputs within 10 minutes is done once and answers with the first result. Pass your own key to dedupe across a longer gap, or a new one to repeat an identical call on purpose. |
get_message
Get message
Retrieve a message by its msg_... id, with its delivery timeline.
| Parameter | Type | Required | Description |
|---|---|---|---|
| id | string | yes | Message id (msg_...) |
delete_message
Delete message
Delete a finished message (delivered, failed or received) and every copy of its text, for a privacy request. Opt-out records and billing are kept. Cannot be undone.
| Parameter | Type | Required | Description |
|---|---|---|---|
| id | string | yes | Message id (msg_...) |
redact_message
Redact message
Empty a finished message's text and media everywhere it is kept, keeping its status, price and timeline (redacted_at is set). Cannot be undone.
| Parameter | Type | Required | Description |
|---|---|---|---|
| id | string | yes | Message id (msg_...) |
list_messages
List messages
List your messages, newest first. Filter by number, direction, status, failure reason, date, batch schedule or customer.
| Parameter | Type | Required | Description |
|---|---|---|---|
| limit | number | no | Max results (default 25, max 100) |
| cursor | string | no | next_cursor from the previous page |
| number | string | no | Filter to messages to or from this number |
| to | string | no | Exact destination number (E.164) |
| from | string | no | Exact sending number (E.164) |
| status | enum: "queued" | "sent" | "delivered" | "failed" | "blocked" | "received" | no | Only messages with this status |
| blocked_reason | enum: "account_closed" | "account_suspended" | "account_paused" | "opted_out" | "destination_not_allowed" | "voip_number" | "toll_free_destination" | "toll_free_unverified" … | no | Blocked messages with this reason. Implies status=blocked. |
| failure_code | enum: "carrier_filtered" | "unreachable" | "invalid_number" | "opted_out" | "campaign_mismatch" | "content_blocked" | "screen_unavailable" | "rate_limited" … | no | Filter to messages that failed for this reason (the `failure.code` on a message) |
| direction | enum: "outbound" | "inbound" | no | outbound (sent) or inbound (received) |
| created_after | string | no | Inclusive. ISO timestamp or epoch ms. |
| created_before | string | no | Exclusive. ISO timestamp or epoch ms. |
| customer_id | string | no | Filter to one customer's messages |
| schedule_id | string | no | Filter to the occurrences of one recurring schedule (sch_...) |
| tag | string | no | Filter to messages sent with this tag |
send_verification
Send verification
Send a one-time verification code (OTP) to a phone number by text, or to an email address with channel "email". TextKit generates the code, handles expiry (10 min) and attempt limits (5), and blocks SMS-pumping and email-bombing abuse.
| Parameter | Type | Required | Description |
|---|---|---|---|
| channel | enum: "sms" | "email" | no | How the code goes out. `sms` needs `phone`; `email` needs `email`. |
| phone | string | no | The number to text the code to (channel `sms`). `to` works too. |
| string | no | The address to email the code to (channel `email`). Disposable addresses are refused. | |
| app_name | string | no | Your product name, shown in the message |
| user_ip | string | no | Optional. Your end user's IP address, as your server saw it. With it, one person requesting codes for many numbers or addresses is limited (20 an hour per IP on your account, texts and emails together); without it there is no per-IP limit, since requests come from your server. |
| from | string | no | Optional, channel `sms` only: send from a number you own instead of the TextKit pool |
| customer_id | string | no | Optional: attribute the verification to one of your customers |
| idempotency_key | string | no | Optional. Retries are already safe: the same call with the same inputs within 10 minutes is done once and answers with the first result. Pass your own key to dedupe across a longer gap, or a new one to repeat an identical call on purpose. |
check_verification
Check verification
Check a verification code submitted by a user, by the phone or email it went to. Returns {verified, status, channel, charged}. Billed only when verified is true.
| Parameter | Type | Required | Description |
|---|---|---|---|
| phone | string | no | The number the code was texted to. Send this or `email`. |
| string | no | The address the code was emailed to. After a fallback, check by `email`: the code proves the address, not the phone, and a check by `phone` answers 409 `invalid_state`. | |
| code | string | yes | The code last sent |
fallback_verification
Fallback verification
The text did not arrive: email a new code for the same pending verification (one id, one charge). The emailed code replaces the texted one and is checked by the email address, which it proves (not the phone). Once per verification.
| Parameter | Type | Required | Description |
|---|---|---|---|
| id | string | yes | Verification id (ver_...) |
| string | yes | The address to email the code to | |
| channel | enum: "email" | no | The channel to fall back to. Only `email` today. |
| user_ip | string | no | Optional. Your end user's IP address, counted in the same per-IP limit as POST /verify. |
list_numbers
List numbers
List the phone numbers on your account.
| Parameter | Type | Required | Description |
|---|---|---|---|
| customer_id | string | no | Only this customer's numbers |
| tag | string | no | Only numbers with this tag |
| pool | string | no | Pool id |
| mode | enum: "test" | "live" | no | test for sandbox numbers, live for real ones |
| q | string | no | Matches digits of the number or its label |
request_short_code
Request short code
Ask our team for a short code (or a toll-free number they set up). Provisions nothing by itself; carriers take 8-12 weeks to approve a short code.
| Parameter | Type | Required | Description |
|---|---|---|---|
| type | enum: "short_code" | "toll_free" | yes | short_code, or toll_free for a number our team sets up |
| business_name | string | yes | The business the number is for |
| monthly_volume | enum: "under_1k" | "1k_10k" | "10k_100k" | "over_100k" | yes | Expected texts a month |
| use_case | string | yes | What you will send, in a sentence or two. |
list_number_requests
List number requests
Open short-code and toll-free requests.
No parameters.
search_available_numbers
Search available numbers
Search purchasable numbers by area code (default 415).
| Parameter | Type | Required | Description |
|---|---|---|---|
| area_code | string | no | Three-digit area code (default 415) |
purchase_number
Purchase number
Buy a phone number for your account (free sandbox numbers with test keys). Live numbers are billed monthly.
| Parameter | Type | Required | Description |
|---|---|---|---|
| phone_number | string | yes | The number to buy, in E.164 |
| customer_id | string | no | Optional: assign the number to one of your customers |
| registration_id | string | no | Optional (live numbers): the registration this number should send for. Without it the number follows your account's registration. |
| idempotency_key | string | no | Optional. Retries are already safe: the same call with the same inputs within 10 minutes is done once and answers with the first result. Pass your own key to dedupe across a longer gap, or a new one to repeat an identical call on purpose. |
release_number
Release number
Release a number you own. It cannot be got back.
| Parameter | Type | Required | Description |
|---|---|---|---|
| phone_number | string | yes | E.164 number you own |
lookup_phone
Lookup phone
Look up line type (mobile, landline, VoIP) and carrier for any US/Canada number.
| Parameter | Type | Required | Description |
|---|---|---|---|
| phone | string | yes | E.164 number |
simulate_inbound
Simulate inbound
Sandbox only: simulate an inbound SMS to one of your test numbers (emits message.received; STOP, START and HELP act as for real).
| Parameter | Type | Required | Description |
|---|---|---|---|
| to | string | no | One of your sandbox numbers (never a live number). Optional while the account has one sandbox number. |
| from | string | yes | Who the simulated text comes from, in E.164 |
| body | string | yes | The text of the simulated message |
list_events
List events
List recent events (message.sent/delivered/failed/received, number.purchased/released, ...), newest first.
| Parameter | Type | Required | Description |
|---|---|---|---|
| limit | number | no | Max results (default 25, max 100) |
| cursor | string | no | next_cursor from the previous page |
| type | string | no | Only events of this type, like message.delivered |
get_verification
Get verification
Retrieve a verification by id: its status and attempts (never the code).
| Parameter | Type | Required | Description |
|---|---|---|---|
| id | string | yes | Verification id |
get_number
Get number
Retrieve one of your numbers: status, sender registration, tags, pools, customer.
| Parameter | Type | Required | Description |
|---|---|---|---|
| phone_number | string | yes | E.164 number you own |
bulk_purchase_numbers
Bulk purchase numbers
Buy several numbers in one area code at once (e.g. for a sender pool). Live numbers are billed monthly each.
| Parameter | Type | Required | Description |
|---|---|---|---|
| area_code | string | yes | Three-digit area code to buy in |
| quantity | integer | yes | How many numbers to buy (1 to 50) |
| pool_id | string | no | Add the new numbers to this pool |
| tags | array<string> | no | Tags to put on the new numbers |
| idempotency_key | string | no | Optional. Retries are already safe: the same call with the same inputs within 10 minutes is done once and answers with the first result. Pass your own key to dedupe across a longer gap, or a new one to repeat an identical call on purpose. |
link_number_to_registration
Link number to registration
Attach a number to an approved 10DLC registration so it can send that registration's traffic.
| Parameter | Type | Required | Description |
|---|---|---|---|
| phone_number | string | yes | E.164 number you own |
| registration_id | string | yes | The approved registration to attach the number to (reg_...) |
assign_number_to_customer
Assign number to customer
Platforms: attribute a number (and its messages and usage) to one of your customers, or clear it with customer_id null.
| Parameter | Type | Required | Description |
|---|---|---|---|
| phone_number | string | yes | E.164 number you own |
| customer_id | string | yes | A customer id, or null to unassign |
bulk_update_numbers
Bulk update numbers
Act on many numbers at once: tag, untag, label, add to or remove from a pool, or release. Releasing cannot be undone.
| Parameter | Type | Required | Description |
|---|---|---|---|
| ids | array<string> | yes | Numbers to act on, in E.164 |
| action | enum: "add_to_pool" | "remove_from_pool" | "add_tags" | "remove_tags" | "set_label" | "release" | yes | add_to_pool and remove_from_pool take pool_id, add_tags and remove_tags take tags, set_label takes label, release takes confirm |
| pool_id | string | no | add_to_pool / remove_from_pool |
| tags | array<string> | no | add_tags / remove_tags. Lowercased; up to 20 per number. |
| label | string | no | set_label; null clears |
| confirm | string | no | release only |
export_numbers
Export numbers
Your numbers as CSV text.
| Parameter | Type | Required | Description |
|---|---|---|---|
| tag | string | no | Only numbers with this tag |
| pool | string | no | Pool id |
| mode | enum: "test" | "live" | no | test for sandbox numbers, live for real ones |
| q | string | no | Matches digits of the number or its label |
list_number_pools
List number pools
List sender pools.
No parameters.
create_number_pool
Create number pool
Create a sender pool from numbers you own.
| Parameter | Type | Required | Description |
|---|---|---|---|
| name | string | yes | Pool name |
| description | string | no | What the pool is for |
| routing | enum: "sticky" | "local" | no | How a recipient gets a number. sticky: the same member every time. local: a member in the recipient's area code, else one in their time zone, else any; still the same one each time. |
get_number_pool
Get number pool
Retrieve a sender pool and its numbers.
| Parameter | Type | Required | Description |
|---|---|---|---|
| id | string | yes | Pool id |
update_number_pool
Update number pool
Rename a sender pool or change its numbers.
| Parameter | Type | Required | Description |
|---|---|---|---|
| id | string | yes | Pool id |
| name | string | no | Pool name |
| description | string | no | What the pool is for |
| routing | enum: "sticky" | "local" | no | How a recipient gets a number. sticky: the same member every time. local: a member in the recipient's area code, else one in their time zone, else any; still the same one each time. |
delete_number_pool
Delete number pool
Delete a sender pool. Its numbers are kept.
| Parameter | Type | Required | Description |
|---|---|---|---|
| id | string | yes | Pool id |
clone_number_pool
Clone number pool
Copy a sender pool under a new name.
| Parameter | Type | Required | Description |
|---|---|---|---|
| id | string | yes | Pool id |
| name | string | no | Name of the new pool |
import_contacts
Import contacts
Create or update up to 500 contacts per call, matched by phone_number. Attributes go in fields (up to 20 strings, e.g. plan) for segments and {{field:name}} merge tags; tags group contacts. opt_in carries consent evidence (status: false records an opt-out). import_id from the first response groups several calls; dry_run: true returns what would change and writes nothing.
| Parameter | Type | Required | Description |
|---|---|---|---|
| contacts | array<object> | yes | Contacts to create or update, up to 500 per call |
| campaign_id | string | no | Applies to every opt_in row that does not name its own campaign_id |
| dry_run | boolean | no | true returns what would change and writes nothing |
| check_line_types | boolean | no | dry_run only. Looks up line types to count landlines; live lookups are paid, so only the first 500 numbers are checked. |
| import_id | string | no | From a previous response, to group several requests as one import. |
| name | string | no | A label for the import (first request only). |
plan_import
Plan import
Find out where an audience is and the ways to bring it in. Without source: questions to ask the person (where their people are, which group, what they can sign in to, whether consent was recorded, once or kept in sync) and the kinds of source known. With source (their words, e.g. "Mixpanel", "Shopify", "our Postgres users table", "a Google Sheet"): the ways in, best first, each with steps and a console link: an integration already syncing it, another connected tool that can read it, a 6-hourly sync connected with their key here or in the console, a push to an ingest URL, a script with a key from their environment, an export, or a CSV upload. Changes nothing.
| Parameter | Type | Required | Description |
|---|---|---|---|
| source | string | no | Where the people are, in your words. Omit to get the questions first. |
upsert_contact
Upsert contact
Create a contact, or update the existing one with the same phone_number.
| Parameter | Type | Required | Description |
|---|---|---|---|
| phone_number | string | yes | E.164, US or Canada |
| name | string | no | Display name. Defaults to first + last name. |
| tags | array<string> | no | Labels that group contacts |
| fields | object | no | Up to 20 string values (account id, plan, location...), usable in segments and as {{field:key}} merge fields |
| notes | string | no | Free-text notes |
| first_name | string | no | First name |
| last_name | string | no | Last name |
| string | no | Email address | |
| company | string | no | Company name |
| state | string | no | US state or Canadian province, usually a 2-letter code |
| source | string | no | Where the contact came from. Defaults to "api". |
| opt_in | object | no | Import only (POST /v1/contacts/import). Stored as consent evidence; never lifts an opt-out. |
list_contacts
List contacts
List contacts, newest first. Filter by tag, segment_id, list_id, exact phone_number, or a free-text q (name, email, company).
| Parameter | Type | Required | Description |
|---|---|---|---|
| limit | number | no | Max results (default 25, max 100) |
| cursor | string | no | next_cursor from the previous page |
| tag | string | no | Only contacts with this tag |
| phone_number | string | no | E.164 |
| segment_id | string | no | Only contacts in this segment |
| list_id | string | no | Only contacts in this list |
| q | string | no | Search text |
get_contact
Get contact
Retrieve a contact.
| Parameter | Type | Required | Description |
|---|---|---|---|
| id | string | yes | Contact id |
update_contact
Update contact
Update a contact. Only the inputs you pass change; tags and fields replace the whole list or map.
| Parameter | Type | Required | Description |
|---|---|---|---|
| id | string | yes | Contact id |
| phone_number | string | no | E.164, US or Canada |
| name | string | no | Display name. Null clears it |
| tags | array<string> | no | Labels that group contacts |
| fields | object | no | Up to 20 string values |
| notes | string | no | Free-text notes. Null clears them |
| first_name | string | no | First name. Null clears it |
| last_name | string | no | Last name. Null clears it |
| string | no | Email address. Null clears it | |
| company | string | no | Company name. Null clears it |
| state | string | no | US state or Canadian province, usually a 2-letter code. Null clears it |
| source | string | no | Where the contact came from. Null clears it |
delete_contact
Delete contact
Delete a contact. Messages, consent records, and topic preferences for the number are kept.
| Parameter | Type | Required | Description |
|---|---|---|---|
| id | string | yes | Contact id |
bulk_update_contacts
Bulk update contacts
Add tags to, remove tags from, or delete many contacts by id.
| Parameter | Type | Required | Description |
|---|---|---|---|
| action | enum: "add_tags" | "remove_tags" | "delete" | yes | add_tags and remove_tags take tags, delete removes the contacts |
| ids | array<string> | yes | Contact ids, up to 500 |
| tags | array<string> | no | Required for add_tags and remove_tags |
set_contact_topic
Set contact topic
Subscribe a contact to a topic, or unsubscribe them (e.g. "promotions" vs "order updates").
| Parameter | Type | Required | Description |
|---|---|---|---|
| id | string | yes | Contact id |
| topic | string | yes | Topic id (see list_topics) |
| subscribed | boolean | yes | true subscribes the contact to the topic, false unsubscribes them |
| source | string | no | Where the change came from, e.g. "preference_page". Default "api". |
create_list
Create list
Create a list: a fixed group of contacts (Audience → Lists). Membership is set by hand, unlike a segment, which follows rules.
| Parameter | Type | Required | Description |
|---|---|---|---|
| name | string | no | List name |
| description | string | no | What the list is for |
list_lists
List lists
List contact lists with their contact counts.
No parameters.
get_list
Get list
Retrieve a list and its contact count.
| Parameter | Type | Required | Description |
|---|---|---|---|
| id | string | yes | List id |
update_list
Update list
Rename a list or change its description.
| Parameter | Type | Required | Description |
|---|---|---|---|
| id | string | yes | List id |
| name | string | no | List name |
| description | string | no | What the list is for |
delete_list
Delete list
Delete a list (its contacts stay).
| Parameter | Type | Required | Description |
|---|---|---|---|
| id | string | yes | List id |
list_list_contacts
List list contacts
Page through a list's contacts, most recently added first.
| Parameter | Type | Required | Description |
|---|---|---|---|
| id | string | yes | List id |
| limit | integer | no | Max results (default 25, max 100) |
| cursor | string | no | next_cursor from the previous page |
add_to_list
Add to list
Add contacts to a list by contact_ids and/or phone_numbers (up to 1,000; numbers must already be contacts).
| Parameter | Type | Required | Description |
|---|---|---|---|
| id | string | yes | List id |
| contact_ids | array<string> | no | Contact ids |
| phone_numbers | array<string> | no | Phone numbers in E.164, of existing contacts |
remove_from_list
Remove from list
Remove contacts from a list (they stay contacts).
| Parameter | Type | Required | Description |
|---|---|---|---|
| id | string | yes | List id |
| contact_ids | array<string> | no | Contact ids |
| phone_numbers | array<string> | no | Phone numbers in E.164, of existing contacts |
create_segment
Create segment
Save an audience (a segment, a cohort): it appears in the console under Audience → Segments, and broadcasts can be sent to it. Everyone who can be texted: one rule, status is subscribed. Contacts matching all (or any) of up to 10 rules. Attributes: tags, contact fields, custom fields (field = "field", key = the name), opt-in status, topic, import, created_at. Behaviour: last_message_at, last_reply_at, batch (key = batch id; value included, sent, failed, skipped or replied) and event (key = a tracked event name). Times take an ISO date or a window like 7d. It is evaluated live each time it is used, so a batch or list sent to it reaches whoever matches then.
| Parameter | Type | Required | Description |
|---|---|---|---|
| name | string | no | Segment name |
| description | string | no | What the segment is for |
| match | enum: "all" | "any" | no | all: a contact must match every rule. any: at least one rule |
| rules | array<object> | no | Up to 10 rules that decide who matches |
list_segments
List segments
List saved segments.
No parameters.
get_segment
Get segment
Retrieve a segment and its rules.
| Parameter | Type | Required | Description |
|---|---|---|---|
| id | string | yes | Segment id |
update_segment
Update segment
Rename a segment or replace its rules.
| Parameter | Type | Required | Description |
|---|---|---|---|
| id | string | yes | Segment id |
| name | string | no | Segment name |
| description | string | no | What the segment is for |
| match | enum: "all" | "any" | no | all: a contact must match every rule. any: at least one rule |
| rules | array<object> | no | Up to 10 rules that decide who matches |
delete_segment
Delete segment
Delete a segment. Contacts are not touched.
| Parameter | Type | Required | Description |
|---|---|---|---|
| id | string | yes | Segment id |
query_audience
Query audience
Count a cohort without saving anything (nothing appears in the console): run up to 10 segment rules now and get the counts (matched, opted out, eligible to text) and the first contacts. Examples: replied in the last 7 days (last_reply_at after 7d); got a batch and did not reply (batch sent, and batch replied with is_not); started checkout but never purchased (event exists, event not_exists); VIPs not texted in 30 days. Same rule fields as a saved segment. Everyone eligible to text: one rule, status is subscribed.
| Parameter | Type | Required | Description |
|---|---|---|---|
| match | enum: "all" | "any" | no | all: a contact must match every rule. any: at least one rule |
| rules | array<object> | no | Up to 10 rules that decide who matches |
| topic_id | string | no | Topic id or name: eligible also removes contacts unsubscribed from it |
| limit | integer | no | How many matching contacts to return |
preview_segment
Preview segment
Count the contacts a segment matches right now and how many a broadcast would reach (opted-out contacts removed, and with topic_id those unsubscribed from it). `notes` says when an event rule names an event never tracked.
| Parameter | Type | Required | Description |
|---|---|---|---|
| id | string | yes | Segment id |
| topic_id | string | no | Count only contacts subscribed to this topic |
list_topics
List topics
List subscription topics.
No parameters.
create_topic
Create topic
Create a subscription topic, so people can opt out of one kind of message (e.g. promotions) and keep others.
| Parameter | Type | Required | Description |
|---|---|---|---|
| name | string | yes | Topic name |
| description | string | no | What the topic covers |
create_template
Create template
Save a message template. Merge tags: {{first_name}}, {{name}}, {{phone}}, {{field: }}, and per-recipient variables.
| Parameter | Type | Required | Description |
|---|---|---|---|
| name | string | yes | Template name |
| body | string | yes | The message text, with merge tags |
list_templates
List templates
List message templates.
No parameters.
get_template
Get template
Retrieve a template.
| Parameter | Type | Required | Description |
|---|---|---|---|
| id | string | yes | Template id |
update_template
Update template
Rename or edit a template.
| Parameter | Type | Required | Description |
|---|---|---|---|
| id | string | yes | Template id |
| name | string | no | Template name |
| body | string | no | The message text, with merge tags |
delete_template
Delete template
Delete a template.
| Parameter | Type | Required | Description |
|---|---|---|---|
| id | string | yes | Template id |
recommend_message
Recommend message
Which text should we send? Ranked SMS copy for a goal (abandoned_cart, welcome, winback, failed_payment, trial, promo, ... or any) by expected revenue per message, each with its evidence: the factors that moved its score, the closest published SMS-only case studies with source links, and how much comes from this account's own sends (clicks, STOPs, revenue from tracked events). Pass your own drafts in `candidates` to score them against the generated ones. Only uses the offer, code and deadline you give it. Sends and saves nothing.
| Parameter | Type | Required | Description |
|---|---|---|---|
| industry | enum: "apparel" | "home_goods" | "food_beverage" | "restaurant" | "beauty" | "health_wellness" | "cannabis" | "hospitality" … | yes | The sender's industry |
| company_type | enum: "ecommerce" | "subscription_ecommerce" | "subscription_app" | "consumer_app" | "restaurant" | "hospitality" | "retail" | "marketplace" … | yes | Kind of business |
| goal | enum: "any" | "abandoned_cart" | "abandoned_browse" | "welcome" | "winback" | "failed_payment" | "trial" | "promo" … | no | The message type to write, or `any` to compare the types that fit `audience` |
| audience | string | no | Who gets it, in words, e.g. "opened the paywall and left" |
| brand | string | yes | Business name as customers know it |
| product | string | yes | What is being sold, as the customer would say it, e.g. "your second number" |
| offer | string | no | Optional, e.g. "50% off your first month". Without one no candidate has an offer |
| code | string | no | Optional promo code |
| deadline | string | no | Optional, e.g. "tonight" |
| link | string | no | URL or merge field; default {{link}} |
| first_name | boolean | no | Your contacts have first names, so candidates may use {{first_name}} |
| first_message | boolean | no | The first text these people get from the number: the brand and opt-out line are added and counted |
| candidates | string | no | Your own drafts to score: a JSON array of up to 10 strings |
| limit | integer | no | How many messages to return (default 5, max 20) |
| use_history | boolean | no | false ranks on the case studies only |
send_batch
Send batch
Send one message to many people (a broadcast or campaign): pick recipients by segment_id, tags, contact_ids, or an explicit recipients list. Opted-out numbers, numbers without marketing consent, and people unsubscribed from topic_id are removed before sending. dry_run: true sends nothing and returns the count, cost, rejected rows and consent. scheduled_at sends at one instant; send_at_local (like 2026-11-10T17:00) sends at that time on each person's own clock.no_opt_in (recipients the send will skip for having no opt-in). Leave out `from` and TextKit picks a number approved for `category` (marketing unless you say otherwise), one per recipient; `sender` shows them, and with none approved it answers 400 and sends nothing. scheduled_at sends later (up to 30 days). shorten_links: true tracks link clicks: suggest it whenever the text has a link. Each recipient can carry external_id (their Mixpanel distinct_id) so the text's events land on their Mixpanel profile. With a live key it texts real people.
| Parameter | Type | Required | Description |
|---|---|---|---|
| from | string | no | One of your numbers, to pin the batch to it. Leave it out and TextKit picks a number approved for `category` (marketing unless you say otherwise), the same one per recipient. Nothing approved is a 400. |
| body | string | yes | The message text. Merge tags fill per recipient |
| name | string | no | A name for the broadcast |
| recipients | array<object> | no | Explicit recipients, up to 10,000 |
| tags | array<string> | no | Send to contacts carrying any of these tags (instead of recipients). |
| contact_ids | array<string> | no | Send to these contacts, by id |
| segment_id | string | no | Send to the contacts in this saved segment, evaluated when the batch is created (instead of recipients). |
| list_id | string | no | Send to the contacts in this list, as it is when the batch is created (instead of recipients). |
| category | enum: "marketing" | "transactional" | "otp" | no | Optional. It can make the batch stricter (`marketing`), never looser: the sending number's registration and the wording decide ([which messages are marketing](/docs/compliance-checks#which-messages-are-marketing)). From a number with no registration, a batch is marketing. |
| quiet_hours | enum: "block" | "defer" | no | Optional. What to do with a message in the recipient's quiet hours: `block` refuses it (403 quiet_hours), `defer` holds it until their next 9:00am. Omitted: each recipient in quiet hours is held until their 9:00am. |
| topic_id | string | no | Subscription topic. Recipients unsubscribed from it are removed at validation (`topic_unsubscribed`) and skipped at send time, like opt-outs. Omit to apply opt-outs only. |
| shorten_links | boolean | no | Optional. Rewrite every http(s) link to a tracked short link, per recipient, when each message is sent. Clicks show in GET /batches/{id}/results. |
| scheduled_at | string | no | Future ISO timestamp or epoch ms, up to 30 days out. |
| send_at_local | string | no | Instead of `scheduled_at`: a date and time with no time zone, up to 30 days out, sent at that time in each recipient's own zone, read from the area code. Refused if it has passed for any recipient. Quiet hours still hold a time outside the window. |
| dry_run | boolean | no | Validate only: returns a BatchValidation and sends nothing. |
| check_line_types | boolean | no | Reject landlines (first 500 unique numbers are checked). |
list_batches
List batches
List batches (broadcasts), newest first.
| Parameter | Type | Required | Description |
|---|---|---|---|
| limit | number | no | Max results (default 25, max 100) |
| cursor | string | no | next_cursor from the previous page |
| status | enum: "scheduled" | "sending" | "paused" | "complete" | "canceled" | no | Only batches with this status |
get_batch
Get batch
Retrieve a batch with its progress counts.
| Parameter | Type | Required | Description |
|---|---|---|---|
| id | string | yes | Batch id |
get_batch_results
Get batch results
Results of a batch: delivered, failed, pending, replies, opt-outs (stops), spend, and failures grouped by reason.
| Parameter | Type | Required | Description |
|---|---|---|---|
| id | string | yes | Batch id |
list_batch_recipients
List batch recipients
List a batch's recipients with each one's status.
| Parameter | Type | Required | Description |
|---|---|---|---|
| id | string | yes | Batch id |
| status | enum: "queued" | "paused" | "sent" | "failed" | "skipped" | "canceled" | no | Only recipients with this status |
| limit | number | no | Max results (default 25, max 100) |
| cursor | string | no | next_cursor from the previous page |
pause_batch
Pause batch
Pause a sending or scheduled batch.
| Parameter | Type | Required | Description |
|---|---|---|---|
| id | string | yes | Batch id |
resume_batch
Resume batch
Resume a paused batch.
| Parameter | Type | Required | Description |
|---|---|---|---|
| id | string | yes | Batch id |
cancel_batch
Cancel batch
Cancel a batch. Messages already sent stay sent.
| Parameter | Type | Required | Description |
|---|---|---|---|
| id | string | yes | Batch id |
retry_batch
Retry batch
Retry a batch's failed recipients.
| Parameter | Type | Required | Description |
|---|---|---|---|
| id | string | yes | Batch id |
track_event
Track event
Record something a customer did (e.g. signed_up, cart_abandoned, trial_ending), by user_id and/or phone. It starts or advances any active automation listening for that event. external_id (their Mixpanel distinct_id, when not user_id) puts the texts it starts on their Mixpanel profile.
| Parameter | Type | Required | Description |
|---|---|---|---|
| event | string | yes | Letters, digits, and _ . : - |
| user_id | string | no | Your id for the person. Sent with phone, it links the two, so later events need only user_id |
| external_id | string | no | Optional. The person's id in your analytics tool (their Mixpanel distinct_id; `mixpanel_distinct_id` is accepted too), when it is not user_id. Kept on the event as mixpanel_distinct_id; texts the event starts land on that profile in Mixpanel. Without it, user_id is used. |
| phone | string | no | The person's number in E.164 |
| properties | object | no | Up to 20 scalar values; usable as merge fields and in conditions. |
| idempotency_key | string | no | Optional. A unique key for this call: a retry with the same key is recorded once. |
plan_task
Plan task
The questions behind anything a person does here, with this account's options for each: send a text, buy or release a number, register for 10DLC, verify a toll-free number, request a short code, verification codes, a recurring text, a segment, template, list, topic, connecting a tool, a webhook, an API key, a link domain, a spend limit, a number pool, importing opt-outs, automations, broadcasts. task: a key or the person's words ("buy a number"); omit it for the list. Each question names the fields it fills; inputs lists every field the API takes; rules, gaps, and person_submits for carrier filings (what only the person can accept or sign). Changes nothing.
| Parameter | Type | Required | Description |
|---|---|---|---|
| task | string | no | A task key (buy_number, register_10dlc, ...) or the person's own words ("buy a number"). Omit to list the tasks. |
plan_campaign
Plan campaign
Every input a send needs, as questions to ask the person, with this account's options for each. kind automation: the event that starts it (tracked events with their properties, and the Mixpanel events mapped to them), filters, how long after the event to text, right away or optimal user time, the event that ends it, follow-ups, repeats, who gets it, the message, link, sender and topic. kind broadcast: audience, who to leave out, message, when, sender, topic, follow-up. Also who never gets the text (exclusions) and what is missing (gaps). Changes nothing.
| Parameter | Type | Required | Description |
|---|---|---|---|
| kind | enum: "automation" | "broadcast" | no | automation (texts started by an event) or broadcast (one send to an audience). |
create_automation
Create automation
Create a triggered text flow (as a draft): when trigger.event is tracked, run steps such as send_sms, wait, wait_for_event, and condition branches. Example: on cart_abandoned, wait 3600s, then if checkout_completed was not received send a reminder. A send_sms step with send_time: "optimal_user_time" and max_wait_seconds (60 to 86400, required) waits for the hour that person usually replies or clicks, 10am their time with no history, inside quiet hours: recommend it for marketing and lifecycle texts, leave it off anything time-sensitive, and it is refused for one-time codes and order or shipping texts. For events that repeat, trigger.cooldown_seconds stops the same person starting it again for that long. Merge fields like {{plan}} fill from the trigger event's properties; `issues` names any no tracked event carries. Leave out `from` and TextKit picks a number approved for `category` (marketing, transactional for alerts, otp for codes) when it sends; `sender` shows the numbers, and `issues` says so when none is approved yet. Pass `from` only to pin a number. Drafts send nothing until activated.
| Parameter | Type | Required | Description |
|---|---|---|---|
| name | string | no | Automation name |
| from | string | no | One of your numbers, to pin the flow to it. Leave it out and TextKit picks a number approved for `category`. A sandbox number makes it a sandbox flow. |
| category | enum: "marketing" | "transactional" | "otp" | no | What it sends: marketing, alerts (transactional) or codes (otp). With no `from`, TextKit picks a number approved for this. Falls back to a built-in topic. |
| topic_id | string | no | Skip recipients unsubscribed from this topic. |
| trigger | object | no | What starts a run: an event, with optional filters |
| steps | array<object> | no | Up to 20 steps, run in order |
list_automations
List automations
List automations.
No parameters.
get_automation
Get automation
Retrieve an automation with its trigger and steps.
| Parameter | Type | Required | Description |
|---|---|---|---|
| id | string | yes | Automation id |
update_automation
Update automation
Edit an automation (name, sender or `category`, trigger incl. trigger.cooldown_seconds, or steps). `steps` replaces every step; `step` replaces just the one with its id. Pass `if_updated_at` (the updated_at you read): an edit made by someone else since then answers 409 instead of being overwritten.
| Parameter | Type | Required | Description |
|---|---|---|---|
| id | string | yes | Automation id |
| name | string | no | Automation name |
| from | string | no | One of your numbers, to pin the flow to it. Leave it out and TextKit picks a number approved for `category`. A sandbox number makes it a sandbox flow. |
| category | enum: "marketing" | "transactional" | "otp" | no | What it sends: marketing, alerts (transactional) or codes (otp). With no `from`, TextKit picks a number approved for this. Falls back to a built-in topic. |
| topic_id | string | no | Skip recipients unsubscribed from this topic. |
| trigger | object | no | What starts a run: an event, with optional filters |
| steps | array<object> | no | Replaces every step. |
| step | object | no | One of: send_sms {body, from?, send_time?, max_wait_seconds?}; wait {seconds}; wait_for_event {event, timeout_seconds, on_received, on_timeout}; condition {check, on_met, on_not_met}; end. Branches are "continue", "end", or "goto: ". |
| if_updated_at | string | no | The automation's `updated_at` as you read it. If it changed since (another edit), nothing is saved and the answer is 409: read it again and redo the edit on the latest. |
delete_automation
Delete automation
Delete an automation.
| Parameter | Type | Required | Description |
|---|---|---|---|
| id | string | yes | Automation id |
activate_automation
Activate automation
Turn an automation on, so tracked events start runs. With a live number it texts real people. With no `from`, a number approved for its `category` must exist or `issues` says what is missing; `sender` shows the numbers it will use.
| Parameter | Type | Required | Description |
|---|---|---|---|
| id | string | yes | Automation id |
pause_automation
Pause automation
Pause an automation: no new runs start, and runs in progress wait where they are until it is activated again.
| Parameter | Type | Required | Description |
|---|---|---|---|
| id | string | yes | Automation id |
preview_automation
Preview automation
See an automation's texts exactly as they would go out, without sending: works on drafts. Pass sample event properties (e.g. {"amount": 9.99}) and optionally `to` for a contact's merge fields. Returns each send_sms step's final text (brand and opt-out wording added as we would), segments, encoding, estimated cost, merge fields that would come out empty, and, for an optimal-user-time step with `to`, next_send: when it would go for that person and why.
| Parameter | Type | Required | Description |
|---|---|---|---|
| id | string | yes | Automation id |
| properties | object | no | Sample event properties for merge fields, e.g. {"plan": "pro"} |
| to | string | no | E.164. Fills contact merge fields and shows when an optimal-user-time text would go for this person |
test_automation
Test automation
Text an automation's messages to your own verified phone or a verified recipient now, skipping waits and conditions, without activating it (drafts work). Pass sample event properties; `steps` sends only those step ids. No run starts and stats do not change. Texts from a live number are real and billed.
| Parameter | Type | Required | Description |
|---|---|---|---|
| id | string | yes | Automation id |
| to | string | yes | E.164: your own verified phone or a verified recipient |
| from | string | no | Optional. Send this test from another of your numbers in the same mode (the automation is not changed), e.g. a verified toll-free while its own number is in review. |
| properties | object | no | Sample event properties for merge fields |
| steps | array<string> | no | Only these send_sms step ids. Default: all of them |
| idempotency_key | string | no | Optional. Retries are already safe: the same call with the same inputs within 10 minutes is done once and answers with the first result. Pass your own key to dedupe across a longer gap, or a new one to repeat an identical call on purpose. |
list_automation_runs
List automation runs
List an automation's runs, newest first.
| Parameter | Type | Required | Description |
|---|---|---|---|
| id | string | yes | Automation id |
| limit | number | no | Max results (default 25, max 100) |
| cursor | string | no | next_cursor from the previous page |
get_automation_run
Get automation run
Retrieve one run with its step-by-step timeline.
| Parameter | Type | Required | Description |
|---|---|---|---|
| id | string | yes | Automation id |
| run_id | string | yes | Run id |
cancel_automation_run
Cancel automation run
Cancel a run in progress.
| Parameter | Type | Required | Description |
|---|---|---|---|
| id | string | yes | Automation id |
| run_id | string | yes | Run id |
get_topic
Get topic
Retrieve a topic.
| Parameter | Type | Required | Description |
|---|---|---|---|
| id | string | yes | Topic id |
update_topic
Update topic
Rename or describe a topic.
| Parameter | Type | Required | Description |
|---|---|---|---|
| id | string | yes | Topic id |
| name | string | no | Topic name |
| description | string | no | What the topic covers |
delete_topic
Delete topic
Delete a topic you created (built-in topics stay).
| Parameter | Type | Required | Description |
|---|---|---|---|
| id | string | yes | Topic id |
get_contact_topics
Get contact topics
A contact's subscription to each topic.
| Parameter | Type | Required | Description |
|---|---|---|---|
| id | string | yes | Contact id |
get_consent
Get consent
Whether a number is opted in or out, per registration, with its full consent history and proof.
| Parameter | Type | Required | Description |
|---|---|---|---|
| phone | string | yes | E.164 number |
set_consent
Set consent
Record an opt-in or opt-out from your own system (CRM, checkout, a form). An opt-in for a marketing registration needs proof (source, when, the page).
| Parameter | Type | Required | Description |
|---|---|---|---|
| phone | string | yes | E.164 number |
| status | enum: "opted_out" | "opted_in" | yes | opted_in or opted_out |
| note | string | no | A note kept on the consent record |
| campaign_id | string | no | Only with opted_in: the registration the person opted in to. A marketing send from a number linked to that registration looks for this record. Proof is required when its use case is marketing or mixed (400 otherwise). An opt-out is always account-wide. |
| proof | object | no | Opt-in evidence (Messaging Policy 1.4). Accepted only with status opted_in. |
list_opt_outs
List opt outs
List opted-out numbers (the suppression list).
| Parameter | Type | Required | Description |
|---|---|---|---|
| limit | number | no | Max results (default 25, max 100) |
| cursor | string | no | next_cursor from the previous page |
import_opt_outs
Import opt outs
Bring a suppression list over from another provider or tool (up to 500 numbers per call), so people who opted out there are never texted here.
| Parameter | Type | Required | Description |
|---|---|---|---|
| phone_numbers | array<string> | yes | Opted-out numbers in E.164, up to 500 per call |
list_scheduled_messages
List scheduled messages
List single messages scheduled for later and not yet sent.
No parameters.
get_scheduled_message
Get scheduled message
Retrieve a pending scheduled message.
| Parameter | Type | Required | Description |
|---|---|---|---|
| id | string | yes | Scheduled message id |
cancel_scheduled_message
Cancel scheduled message
Cancel a scheduled message before it sends.
| Parameter | Type | Required | Description |
|---|---|---|---|
| id | string | yes | Scheduled message id |
create_schedule
Create schedule
Send the same text to one number every day, week or month at a local time (e.g. a weekly reminder). Every occurrence runs the usual send checks.
| Parameter | Type | Required | Description |
|---|---|---|---|
| to | string | yes | Recipient's number in E.164 |
| from | string | no | One of your numbers. Optional when the account has exactly one number for the key's mode. |
| body | string | yes | The text sent each time |
| repeat | object | yes | When it sends: how often, the local time and the time zone |
| start_date | string | no | First local date it may run. Defaults to today. |
| end_date | string | no | Last local date it may run (inclusive). |
| max_occurrences | integer | no | The schedule completes after this many messages have been sent. |
| category | enum: "marketing" | "transactional" | "otp" | no | Optional. It can make each occurrence stricter (`marketing`), never looser: the sending number's registration and the wording decide ([which messages are marketing](/docs/compliance-checks#which-messages-are-marketing)). |
| quiet_hours | enum: "block" | "defer" | no | Optional. What to do with a message in the recipient's quiet hours: `block` refuses it (403 quiet_hours), `defer` holds it until their next 9:00am. Omitted: an occurrence in quiet hours is held until the recipient's 8:00am and recorded as `deferred`. |
| idempotency_key | string | no | Optional. Retries are already safe: the same call with the same inputs within 10 minutes is done once and answers with the first result. Pass your own key to dedupe across a longer gap, or a new one to repeat an identical call on purpose. |
list_schedules
List schedules
List recurring schedules.
No parameters.
get_schedule
Get schedule
Retrieve a recurring schedule with its recent occurrences.
| Parameter | Type | Required | Description |
|---|---|---|---|
| id | string | yes | Schedule id |
update_schedule
Update schedule
Pause (active: false) or resume (active: true) a recurring schedule.
| Parameter | Type | Required | Description |
|---|---|---|---|
| id | string | yes | Schedule id |
| active | boolean | no | false pauses, true resumes. |
delete_schedule
Delete schedule
Delete a recurring schedule.
| Parameter | Type | Required | Description |
|---|---|---|---|
| id | string | yes | Schedule id |
get_balance
Get balance
Prepaid credit balance and auto-recharge setting.
No parameters.
get_usage
Get usage
Usage by month, today's counters, and plan limits.
| Parameter | Type | Required | Description |
|---|---|---|---|
| months | number | no | How many months back (default 3) |
get_spend_limit
Get spend limit
The monthly spend limit and this month's estimated spend.
No parameters.
get_deliverability
Get deliverability
Delivery rates by day, destination carrier, or sending number.
| Parameter | Type | Required | Description |
|---|---|---|---|
| group_by | enum: "day" | "carrier" | "number" | no | What to group the rates by |
| start_date | string | no | YYYY-MM-DD |
| end_date | string | no | YYYY-MM-DD |
list_registrations
List registrations
List 10DLC brand and campaign registrations and their status. Marketing from a local number needs an approved one.
No parameters.
get_registration
Get registration
A registration with its checks, status, and linked numbers.
| Parameter | Type | Required | Description |
|---|---|---|---|
| id | string | yes | Registration id |
list_toll_free_verifications
List toll free verifications
List toll-free verifications and their status (draft, in_review with us, submitted to the carriers, verified, rejected). A toll-free number texts the public only once verified.
| Parameter | Type | Required | Description |
|---|---|---|---|
| status | enum: "draft" | "in_review" | "submitted" | "verified" | "rejected" | no | Only verifications with this status |
| limit | integer | no | Max results (default 25, max 100) |
| cursor | string | no | next_cursor from the previous page |
get_toll_free_verification
Get toll free verification
A toll-free verification: status, numbers, the form, what is missing (problems), and the carriers' reason when it was rejected.
| Parameter | Type | Required | Description |
|---|---|---|---|
| id | string | yes | Toll-free verification id (tfv_...) |
prefill_registration
Prefill registration
Suggest a 10DLC registration from a business website: business and legal name, use case, description, opt-in, privacy and terms pages (ranked candidates), support email and draft example texts. Reads public pages only and changes nothing. The suggestions are guesses for the person to confirm.
| Parameter | Type | Required | Description |
|---|---|---|---|
| website | string | yes | The business's website to read. |
create_registration
Create registration
Create a 10DLC registration (the carrier registration local numbers need to text the public) and check it: the website, privacy policy, terms, opt-in page and example texts against carrier rules. Returns ready or checks_failed, with each finding, its fix and copy to paste. Nothing goes to the carriers and nothing is billed. Business details come from the person, not from guesses.
| Parameter | Type | Required | Description |
|---|---|---|---|
| business_name | string | yes | The name customers know the business by, as the texts will name it. |
| website | string | yes | The business's own website. Reviewers visit it to confirm the business is real. |
| use_case | enum: "2fa" | "account_notification" | "customer_care" | "delivery_notification" | "fraud_alert" | "higher_education" | "marketing" | "mixed" … | yes | What the texts are for. marketing and mixed need an opt-in for each person. |
| opt_in_url | string | no | Page where people enter their number |
| opt_in_screenshot_url | string | no | People opt in inside an app: a public link to an image of that screen. Checked in place of a phone field and filed with the opt-in. null clears it. |
| privacy_url | string | no | Discovered from homepage links when omitted |
| terms_url | string | no | Discovered from homepage links when omitted |
| support_email | string | no | Used in the generated HELP reply |
| sample_messages | array<string> | no | Real examples of the texts you will send, as a recipient would get them (no template variables). Carriers compare them with your traffic. Each must name your business; marketing and mixed use cases need opt-out wording in at least one. More than 5, or one over 320 characters, is a 400; too few or t… |
| starter_messages | array<string> | no | Draft examples suggested for this business (fields.sample_messages from POST /registrations/prefill). Shown instead of the template starter drafts; samples_source stays starter and they are never filed until you edit or confirm them. Drafts that would not pass the example check for the business nam… |
| samples_confirmed | boolean | no | true = the starter drafts are right as they are; they become your examples. Ignored when sample_messages is sent. |
| description | string | no | What you send and to whom (40 to 500 characters). Omit or null to file the generated one. |
| opt_in_flow | string | no | How people opt in, in your own words. It leads the filed opt-in account; the opt-in page, the disclosure and the START keyword are added after it. Omit or null to file the standard sentence. |
| stop_reply | string | no | Your wording of the confirmation sent when someone opts out. It must name your business, say they are unsubscribed, and carry no link; anything else is a 400 naming what is missing. Omit or null for the standard wording in your business name. Filed with the registration and sent by its numbers. |
| help_reply | string | no | Your wording of the HELP reply. It must name your business, give a way to reach you (email, phone or web page) and keep the STOP instruction. Omit or null for the standard wording. |
| includes_links | boolean | no | Your messages include web links. Also true whenever an example contains one. |
| includes_phone_numbers | boolean | no | Your messages include phone numbers. Also true whenever an example contains one. |
| age_gated | boolean | no | Your messages are for adults only (alcohol, cannabis, gambling). |
| direct_lending | boolean | no | Your messages are about loans you make yourself. |
| brand | object | no | The business as the carriers register it. street must be a street address, not a P.O. box; state a 2-letter US state or territory code; postal_code a 5-digit ZIP (optionally +4). Anything else is refused with 400 naming the field. |
recheck_registration
Recheck registration
Correct a registration and run its checks again (draft, checks_failed, ready or rejected). Send any field to change it; after fixing the website, this re-reads it. Returns the new status and findings.
| Parameter | Type | Required | Description |
|---|---|---|---|
| id | string | yes | Registration id (reg_...) |
| business_name | string | yes | The name customers know the business by, as the texts will name it. |
| website | string | yes | The business's own website. Reviewers visit it to confirm the business is real. |
| use_case | enum: "2fa" | "account_notification" | "customer_care" | "delivery_notification" | "fraud_alert" | "higher_education" | "marketing" | "mixed" … | yes | What the texts are for. marketing and mixed need an opt-in for each person. |
| opt_in_url | string | no | Page where people enter their number |
| opt_in_screenshot_url | string | no | People opt in inside an app: a public link to an image of that screen. Checked in place of a phone field and filed with the opt-in. null clears it. |
| privacy_url | string | no | Discovered from homepage links when omitted |
| terms_url | string | no | Discovered from homepage links when omitted |
| support_email | string | no | Used in the generated HELP reply |
| sample_messages | array<string> | no | Real examples of the texts you will send, as a recipient would get them (no template variables). Carriers compare them with your traffic. Each must name your business; marketing and mixed use cases need opt-out wording in at least one. More than 5, or one over 320 characters, is a 400; too few or t… |
| starter_messages | array<string> | no | Draft examples suggested for this business (fields.sample_messages from POST /registrations/prefill). Shown instead of the template starter drafts; samples_source stays starter and they are never filed until you edit or confirm them. Drafts that would not pass the example check for the business nam… |
| samples_confirmed | boolean | no | true = the starter drafts are right as they are; they become your examples. Ignored when sample_messages is sent. |
| description | string | no | What you send and to whom (40 to 500 characters). Omit or null to file the generated one. |
| opt_in_flow | string | no | How people opt in, in your own words. It leads the filed opt-in account; the opt-in page, the disclosure and the START keyword are added after it. Omit or null to file the standard sentence. |
| stop_reply | string | no | Your wording of the confirmation sent when someone opts out. It must name your business, say they are unsubscribed, and carry no link; anything else is a 400 naming what is missing. Omit or null for the standard wording in your business name. Filed with the registration and sent by its numbers. |
| help_reply | string | no | Your wording of the HELP reply. It must name your business, give a way to reach you (email, phone or web page) and keep the STOP instruction. Omit or null for the standard wording. |
| includes_links | boolean | no | Your messages include web links. Also true whenever an example contains one. |
| includes_phone_numbers | boolean | no | Your messages include phone numbers. Also true whenever an example contains one. |
| age_gated | boolean | no | Your messages are for adults only (alcohol, cannabis, gambling). |
| direct_lending | boolean | no | Your messages are about loans you make yourself. |
| brand | object | no | The business as the carriers register it. street must be a street address, not a P.O. box; state a 2-letter US state or territory code; postal_code a 5-digit ZIP (optionally +4). Anything else is refused with 400 naming the field. |
submit_registration
Submit registration
File a ready registration for carrier review, or resubmit one after a rejection. fees_acknowledged: true is the person's own acceptance of the carrier registration fees (separate from the per-text rate, a campaign billed for at least 3 months, non-refundable even if rejected); it is recorded with the time on the filed copy. The first submit for a business also carries the business attestation, signed by someone authorized to act for it, with the name they give. Both come from the person in this conversation. Our review can hold the filing for a person on our team; get the status afterwards.
| Parameter | Type | Required | Description |
|---|---|---|---|
| id | string | yes | Registration id (reg_...) |
| fees_acknowledged | enum: true | yes | Must be true. Confirms the registration fee terms above. |
| attestation | object | no | Signed by someone authorized to act for the business, once per business: that they are authorized, that the details match the business's IRS records, and that the business will text only people who agreed to it and will follow the Messaging Policy. Kept as signed, with the exact wording, who sent i… |
enter_registration_phone_code
Enter registration phone code
A sole proprietor's registration: the code texted to their mobile after submitting (it lasts 24 hours). The right code sends the campaign to carrier review. The person reads it from their phone.
| Parameter | Type | Required | Description |
|---|---|---|---|
| id | string | yes | Registration id (reg_...) |
| code | string | yes | The code from the text sent to the sole proprietor's mobile. |
resend_registration_phone_code
Resend registration phone code
Text a new code to a sole proprietor's mobile for their registration. The old code stops working. At most 5 codes per submission, one a minute.
| Parameter | Type | Required | Description |
|---|---|---|---|
| id | string | yes | Registration id (reg_...) |
create_toll_free_verification
Create toll free verification
Start the carriers' toll-free verification for live toll-free numbers, filled in from the account, its registration, hosted opt-in page and website; any field sent replaces what was filled in. Returns a draft with problems: what the carriers would reject. Nothing goes to the carriers and there is no fee. Submitting needs a paid account (the free credit does not count); otherwise point the person to a local number with 10DLC registration.
| Parameter | Type | Required | Description |
|---|---|---|---|
| numbers | array<string> | no | Your live toll-free numbers this program texts from, E.164. One per business unless multiple_numbers_reason says why. |
| multiple_numbers_reason | string | no | Why the program needs more than one number (one per store, say). Required with more than one number. |
| business_name | string | no | The legal name, as on the IRS EIN letter, optionally with "d/b/a" and the brand your messages carry. |
| ein | string | no | The EIN (US), matching the legal name; elsewhere the business registration number. |
| entity_type | enum: "PRIVATE_PROFIT" | "PUBLIC_PROFIT" | "NON_PROFIT" | "GOVERNMENT" | "SOLE_PROPRIETOR" | no | The kind of business. |
| street | string | no | Street address of the business. |
| city | string | no | City. |
| state | string | no | State or province code. |
| postal_code | string | no | ZIP or postal code. |
| country | string | no | Country of the business. |
| contact_first_name | string | no | First name of the person the carriers can contact about this program. |
| contact_last_name | string | no | Their last name. |
| contact_phone | string | no | A phone number they answer. |
| brand_email | string | no | The business's own email, for its customers: the HELP reply and the hosted opt-in page name it. |
| website | string | no | The business's website. |
| use_case | enum: "2fa" | "account_notification" | "customer_care" | "delivery_notification" | "fraud_alert" | "higher_education" | "marketing" | "mixed" … | no | What the texts are for. |
| use_case_summary | string | no | What the program sends, to whom and why. At least 40 characters. |
| sample_messages | array<string> | no | At least two example messages. |
| help_reply | string | no | The reply to HELP: names the business and how to reach it. Omit to keep ours. |
| stop_reply | string | no | The reply to STOP: names the business and says they are unsubscribed. Omit to keep ours. |
| opt_in_description | string | no | How people opt in, step by step. At least 40 characters. |
| opt_in_url | string | no | The opt-in page. With none of your own we make you a hosted one. |
| opt_in_screenshot_url | string | no | A public image of the step where people enter their number and agree. Needed when the opt-in page itself has no phone field, like a later step of a form or an app. |
| monthly_volume | string | no | How many texts a month this program sends. |
| volume_basis | enum: "existing" | "projecting" | no | existing: what it sends today. projecting: an estimate. |
| advertising | enum: "yes" | "no" | "unsure" | no | Whether the messages advertise a product or service. |
| previous_service | enum: "new" | "short_code" | "long_number" | no | Where this traffic ran before. |
| previous_content | string | no | Sample messages from the previous service (not new only). |
| previous_numbers | string | no | The numbers it used (not new only). |
| number_published | string | no | Where people see this number. |
| fortune_500 | boolean | no | The company is in the Fortune 500. |
| urls_in_messages | string | no | Links your messages include, or "None". |
| phones_in_messages | string | no | Phone numbers your messages include, or "None". |
| terms_url | string | no | The terms page, with the SMS program terms. |
| privacy_url | string | no | The privacy policy page. |
update_toll_free_verification
Update toll free verification
Change a toll-free verification: send only the fields to change. Allowed while draft, in_review (until it goes to the carriers) and rejected; after a rejection, fix what it asks for, then submit again.
| Parameter | Type | Required | Description |
|---|---|---|---|
| id | string | yes | Toll-free verification id (tfv_...) |
| numbers | array<string> | no | Your live toll-free numbers this program texts from, E.164. One per business unless multiple_numbers_reason says why. |
| multiple_numbers_reason | string | no | Why the program needs more than one number (one per store, say). Required with more than one number. |
| business_name | string | no | The legal name, as on the IRS EIN letter, optionally with "d/b/a" and the brand your messages carry. |
| ein | string | no | The EIN (US), matching the legal name; elsewhere the business registration number. |
| entity_type | enum: "PRIVATE_PROFIT" | "PUBLIC_PROFIT" | "NON_PROFIT" | "GOVERNMENT" | "SOLE_PROPRIETOR" | no | The kind of business. |
| street | string | no | Street address of the business. |
| city | string | no | City. |
| state | string | no | State or province code. |
| postal_code | string | no | ZIP or postal code. |
| country | string | no | Country of the business. |
| contact_first_name | string | no | First name of the person the carriers can contact about this program. |
| contact_last_name | string | no | Their last name. |
| contact_phone | string | no | A phone number they answer. |
| brand_email | string | no | The business's own email, for its customers: the HELP reply and the hosted opt-in page name it. |
| website | string | no | The business's website. |
| use_case | enum: "2fa" | "account_notification" | "customer_care" | "delivery_notification" | "fraud_alert" | "higher_education" | "marketing" | "mixed" … | no | What the texts are for. |
| use_case_summary | string | no | What the program sends, to whom and why. At least 40 characters. |
| sample_messages | array<string> | no | At least two example messages. |
| help_reply | string | no | The reply to HELP: names the business and how to reach it. Omit to keep ours. |
| stop_reply | string | no | The reply to STOP: names the business and says they are unsubscribed. Omit to keep ours. |
| opt_in_description | string | no | How people opt in, step by step. At least 40 characters. |
| opt_in_url | string | no | The opt-in page. With none of your own we make you a hosted one. |
| opt_in_screenshot_url | string | no | A public image of the step where people enter their number and agree. Needed when the opt-in page itself has no phone field, like a later step of a form or an app. |
| monthly_volume | string | no | How many texts a month this program sends. |
| volume_basis | enum: "existing" | "projecting" | no | existing: what it sends today. projecting: an estimate. |
| advertising | enum: "yes" | "no" | "unsure" | no | Whether the messages advertise a product or service. |
| previous_service | enum: "new" | "short_code" | "long_number" | no | Where this traffic ran before. |
| previous_content | string | no | Sample messages from the previous service (not new only). |
| previous_numbers | string | no | The numbers it used (not new only). |
| number_published | string | no | Where people see this number. |
| fortune_500 | boolean | no | The company is in the Fortune 500. |
| urls_in_messages | string | no | Links your messages include, or "None". |
| phones_in_messages | string | no | Phone numbers your messages include, or "None". |
| terms_url | string | no | The terms page, with the SMS program terms. |
| privacy_url | string | no | The privacy policy page. |
submit_toll_free_verification
Submit toll free verification
Send a draft, or a rejected form that was fixed, for review: it becomes in_review, we check it (usually within minutes) and then file it with the carriers (usually 4 to 5 business days). The first form for a business carries the business attestation, signed by someone authorized to act for it, with the name they give in this conversation. Answers with problems while anything the carriers require is missing. No fee.
| Parameter | Type | Required | Description |
|---|---|---|---|
| id | string | yes | Toll-free verification id (tfv_...) |
| attestation | object | no | Signed by someone authorized to act for the business, once per business: that they are authorized, that the details match the business's IRS records, and that the business will text only people who agreed to it and will follow the Messaging Policy. Kept as signed, with the exact wording, who sent i… |
connect_integration
Connect integration
Connect a tool so its people sync in as contacts, in a list of their own, every 6 hours: Mixpanel (projectId, username, secret = a service account; sourceId = cohort id), Amplitude (apiKey, secretKey, sourceId), HubSpot (accessToken), Shopify (shopDomain, accessToken), Salesforce, or a webhook. Takes the event or property that shows people agreed to texts (consentEvent / consentField) and the property that holds their phone (phoneField). Credentials are proved with one read, sealed, and never returned. Mixpanel also takes eventTriggers, which turn Mixpanel events into TextKit events that start, end or branch automations; `warnings` names mapped events with no volume in 7 days.
| Parameter | Type | Required | Description |
|---|---|---|---|
| provider | enum: "shopify" | "hubspot" | "salesforce" | "mixpanel" | "amplitude" | "webhook" | yes | The tool to connect |
| mode | enum: "pull" | "push" | no | Mixpanel / Amplitude: pull with credentials every 6 hours (default when credentials are sent), or push: no credentials, the tool's cohort sync posts to the ingest URL. |
| name | string | no | What to call it (default: the tool and its source). |
| sourceId | string | no | Mixpanel or Amplitude cohort id; HubSpot list id; Salesforce campaign id; a Shopify customer search. Blank = everyone (HubSpot, Shopify, Salesforce). |
| projectId | string | no | Mixpanel project id. |
| region | enum: "us" | "eu" | no | Mixpanel / Amplitude data residency. |
| username | string | no | Mixpanel service account username. |
| secret | string | no | Mixpanel service account secret. |
| apiKey | string | no | Amplitude API key. |
| secretKey | string | no | Amplitude secret key. |
| accessToken | string | no | HubSpot private app token, or Shopify Admin API access token. |
| shopDomain | string | no | Shopify store, like acme.myshopify.com. |
| instanceUrl | string | no | Salesforce My Domain URL. |
| sfObject | enum: "Contact" | "Lead" | no | Salesforce: the object to sync |
| clientId | string | no | Salesforce consumer key, or Shopify client id. |
| clientSecret | string | no | Salesforce consumer secret, or Shopify client secret. |
| phoneField | string | no | The tool's property holding the mobile number, when not the usual one ($phone, phone, mobilephone). |
| consentField | string | no | The tool's property that records SMS consent (e.g. sms_opt_in). |
| consentEvent | string | no | Mixpanel / Amplitude: the opt-in event the cohort is built on (e.g. SMS Opt In). Everyone in the cohort is recorded as opted in, from that event. |
| phoneEvent | string | no | Mixpanel: an event that carries the number when profiles do not (e.g. Verification Check Success). A member with no phone on the profile gets it from their latest such event. |
| phoneEventProperty | string | no | Mixpanel: that event's property holding the number (default phone). |
| exportEvents | boolean | no | Mixpanel (with a service account): send each text's events onto the person's Mixpanel profile: TextKit Message Sent, Delivered, Failed, Link Clicked, Reply Received and Opted Out, with the message, batch or automation and step ids and names. The person is matched by the batch recipient's external_i… |
| eventTriggers | array<object> | no | Mixpanel (with a service account): events to turn into TextKit events within about 10 minutes, so automations start, wait and branch on them. Each entry is a TextKit event name and the Mixpanel events that count as it, like { event: "purchase_completed", mixpanel_events: ["Purchase Completed", "Web… |
list_integrations
List integrations
The connected tools: status, settings, last sync (found, added, opted out), and their list. No credentials.
No parameters.
get_integration
Get integration
One connected tool and its last sync.
| Parameter | Type | Required | Description |
|---|---|---|---|
| id | string | yes | Integration id |
update_integration
Update integration
Rename, pause or resume (status), or change an integration's settings or credentials (left-out credentials keep the stored ones). eventTriggers (Mixpanel) maps Mixpanel events to TextKit events; exportEvents: false stops sending text events to Mixpanel (on by default); changing only those does not re-test credentials or resync.
| Parameter | Type | Required | Description |
|---|---|---|---|
| id | string | yes | Integration id |
| name | string | no | What to call it |
| status | enum: "active" | "paused" | no | active, or paused to stop syncing |
| sourceId | string | no | Mixpanel or Amplitude cohort id; HubSpot list id; Salesforce campaign id; a Shopify customer search |
| phoneField | string | no | The tool's property holding the mobile number |
| phoneEvent | string | no | Mixpanel: an event that carries the number when profiles do not |
| phoneEventProperty | string | no | Mixpanel: that event's property holding the number (default phone) |
| exportEvents | boolean | no | Mixpanel (with a service account): send each text's events onto the person's Mixpanel profile: TextKit Message Sent, Delivered, Failed, Link Clicked, Reply Received and Opted Out, with the message, batch or automation and step ids and names. The person is matched by the batch recipient's external_i… |
| eventTriggers | array<object> | no | Mixpanel (with a service account): events to turn into TextKit events within about 10 minutes, so automations start, wait and branch on them. Each entry is a TextKit event name and the Mixpanel events that count as it, like { event: "purchase_completed", mixpanel_events: ["Purchase Completed", "Web… |
| consentField | string | no | The tool's property that records SMS consent |
| consentEvent | string | no | Mixpanel / Amplitude: the opt-in event the cohort is built on |
| username | string | no | Mixpanel service account username |
| secret | string | no | Mixpanel service account secret |
| apiKey | string | no | Amplitude API key |
| secretKey | string | no | Amplitude secret key |
| accessToken | string | no | HubSpot private app token, or Shopify Admin API access token |
get_integration_events
Get integration events
Confirm the events behind automations: for a Mixpanel integration, each mapped event with its Mixpanel source events and their 7-day volume, how many reached TextKit and when the last did, and which automations start on, wait for or check it. `missing` names events automations rely on that nothing sends. project_events: true also lists every Mixpanel event name with its 7-day volume, to choose what to map.
| Parameter | Type | Required | Description |
|---|---|---|---|
| id | string | yes | Integration id |
| project_events | boolean | no | Also list the Mixpanel project's event names with their 7-day volume. |
sync_integration
Sync integration
Sync a connected tool now (up to 6 times an hour) and get what changed.
| Parameter | Type | Required | Description |
|---|---|---|---|
| id | string | yes | Integration id |
disconnect_integration
Disconnect integration
Disconnect a tool: its credentials and its list are deleted; the contacts stay with their consent.
| Parameter | Type | Required | Description |
|---|---|---|---|
| id | string | yes | Integration id |
create_webhook
Create webhook
Send events (message.received, message.delivered, message.opted_out, ...) to a URL: your app, a CRM, an automation tool. Returns the signing secret once.
| Parameter | Type | Required | Description |
|---|---|---|---|
| url | string | yes | The https URL that receives the events |
| events | enum: "*" | array<string> | no | Event types to receive. Omit, or send "*" or [], for every event. An unknown type is a 400. |
| description | string | no | A note on what the endpoint is for |
| numbers | array<string> | no | Optional. Only events about these of your numbers (E.164): message events by their from/to, number events by phone_number. Events about no number (batches, credits, registrations) go only to endpoints without a filter. Omit or [] for every number. |
list_webhooks
List webhooks
List webhook endpoints.
No parameters.
update_webhook
Update webhook
Change a webhook endpoint: URL, events, or turn it off (active: false).
| Parameter | Type | Required | Description |
|---|---|---|---|
| id | string | yes | Webhook endpoint id |
| url | string | no | The https URL that receives the events |
| events | enum: "*" | array<string> | no | Event types to send, or * for all |
| active | boolean | no | false pauses delivery; pending retries for a paused endpoint are dropped. |
| description | string | no | A note on what the endpoint is for |
| numbers | array<string> | no | Replace the number filter; [] or null clears it. |
delete_webhook
Delete webhook
Delete a webhook endpoint.
| Parameter | Type | Required | Description |
|---|---|---|---|
| id | string | yes | Webhook endpoint id |
rotate_webhook_secret
Rotate webhook secret
Replace a webhook endpoint's signing secret (returned once). expire_previous_in keeps the old one signing for that many seconds so the receiver can switch without dropping events.
| Parameter | Type | Required | Description |
|---|---|---|---|
| id | string | yes | Webhook endpoint id |
| expire_previous_in | integer | no | Seconds the old secret keeps signing alongside the new one. |
test_webhook
Test webhook
Send a signed test.ping to a webhook endpoint and see what it answered.
| Parameter | Type | Required | Description |
|---|---|---|---|
| id | string | yes | Webhook endpoint id |
replay_failed_webhooks
Replay failed webhooks
Re-send every event that failed to reach a webhook endpoint in a window (default the last 24 hours, up to 7 days), after fixing the receiver.
| Parameter | Type | Required | Description |
|---|---|---|---|
| id | string | yes | Webhook endpoint id |
| since | string | no | ISO date or epoch milliseconds. Default: 24 hours before `until`. |
| until | string | no | ISO date or epoch milliseconds. Default: now. |
create_link
Create link
Make a tracked short link to copy into a text, ad, email or anywhere else: returns short_url. The same url again returns the same link. Suggest this whenever someone wants to know whether a link gets clicked or leads to sales. A link inside a text needs only shorten_links: true on the send.
| Parameter | Type | Required | Description |
|---|---|---|---|
| url | string | yes | Where the link goes. Public shorteners and look-alike domains are refused. |
| name | string | no | Optional. Your name for it. |
list_links
List links
Every tracked destination with its texts, clicks, conversions and value. The answer to "which link worked?".
No parameters.
record_conversion
Record conversion
Report a sale or sign-up from someone who came through a tracked link. click_id is the tk value on the landing page's URL; value_cents is what it was worth; external_id (an order id) stops a retry counting twice.
| Parameter | Type | Required | Description |
|---|---|---|---|
| click_id | string | yes | The `tk` value on the landing page URL. |
| value_cents | integer | no | Optional. What it was worth, in US cents. |
| name | string | no | Optional. What happened, like purchase. |
| external_id | string | no | Optional. Your id for it. The same id twice counts once and returns the first with 200. |
list_conversions
List conversions
The latest 100 conversions, newest first.
No parameters.
list_link_domains
List link domains
Your short-link domains and their status (pending_dns, dns_verified, active). Optional: a message sent with shorten_links: true uses the active one, else .txtkto.com once the business is verified, or txtkto.com before that.
No parameters.
get_link_domain
Get link domain
One short-link domain, with the DNS records it needs.
| Parameter | Type | Required | Description |
|---|---|---|---|
| id | string | yes | Link domain id (ld_...) |
create_link_domain
Create link domain
Add a subdomain of the user's own (links.example.com) for short links. Returns two DNS records (CNAME and TXT) the user adds at their DNS host; then verify the domain. Optional: without one, tracked links use our domain.
| Parameter | Type | Required | Description |
|---|---|---|---|
| domain | string | yes | A subdomain you own, like links.example.com |
verify_link_domain
Verify link domain
Check a link domain's DNS records now. When both are found it is turned on (active) at once.
| Parameter | Type | Required | Description |
|---|---|---|---|
| id | string | yes | Link domain id (ld_...) |
get_webhook
Get webhook
Retrieve a webhook endpoint.
| Parameter | Type | Required | Description |
|---|---|---|---|
| id | string | yes | Webhook endpoint id |
list_webhook_deliveries
List webhook deliveries
Delivery attempts to your webhook endpoints, with response status codes.
| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint_id | string | no | One endpoint (we_...), or status_callback for the attempts to send messages' own status callbacks. |
| event_id | string | no | Every attempt for one event |
| limit | number | no | Max results (default 25, max 100) |
| cursor | string | no | next_cursor from the previous page |
replay_event
Replay event
Send an event again to one webhook endpoint (after fixing the receiver).
| Parameter | Type | Required | Description |
|---|---|---|---|
| id | string | yes | Event id |
| endpoint_id | string | yes | The webhook endpoint to send it to (we_...) |
create_customer
Create customer
Platforms sending for other businesses: create a customer to attribute numbers, messages and usage to.
| Parameter | Type | Required | Description |
|---|---|---|---|
| name | string | no | The customer's name |
| external_id | string | no | Your id for them; unique per account |
| metadata | object | no | Up to 50 string values |
list_customers
List customers
List your customers.
| Parameter | Type | Required | Description |
|---|---|---|---|
| limit | integer | no | Max results (default 25, max 100) |
| cursor | string | no | next_cursor from the previous page |
| external_id | string | no | Find the customer with this external_id (0 or 1 results) |
get_customer
Get customer
Retrieve a customer.
| Parameter | Type | Required | Description |
|---|---|---|---|
| id | string | yes | Customer id |
update_customer
Update customer
Rename a customer or change its external_id or metadata.
| Parameter | Type | Required | Description |
|---|---|---|---|
| id | string | yes | Customer id |
| name | string | no | The customer's name |
| external_id | string | no | Your id for them; unique per account |
| metadata | object | no | Up to 50 string values |
delete_customer
Delete customer
Delete a customer.
| Parameter | Type | Required | Description |
|---|---|---|---|
| id | string | yes | Customer id |
get_customer_usage
Get customer usage
A customer's messages, verifications and spend for a period.
| Parameter | Type | Required | Description |
|---|---|---|---|
| id | string | yes | Customer id |
| start | string | no | Default: first day of this month |
| end | string | no | Default: today |
create_api_key
Create api key
Create an API key for an app you are building, to store as a secret in its environment (for example TEXTKIT_API_KEY) so the app can send texts itself. Same mode (test or live) as this connection; optional scopes limit it. The secret is returned once; the account owner is emailed.
| Parameter | Type | Required | Description |
|---|---|---|---|
| name | string | yes | What the key is for, e.g. "Booking app" |
| scopes | array<string> | no | Limit the key to these scopes (see /docs/authentication). Omit for full access (full-access callers only). |
list_api_keys
List api keys
List the active API keys of this mode (never the secrets).
No parameters.
revoke_api_key
Revoke api key
Revoke an API key of this mode. Immediate and permanent: anything using it stops working.
| Parameter | Type | Required | Description |
|---|---|---|---|
| id | string | yes | API key id |
export_csv
Export csv
Export as CSV text for analysis: messages, deliveries, events, opt_outs, webhook_deliveries, usage, usage_monthly, audit_log or credit_history. At most 50,000 rows; narrow the date range with from and to.
| Parameter | Type | Required | Description |
|---|---|---|---|
| kind | string | yes | messages, deliveries, events, opt_outs, webhook_deliveries, usage, usage_monthly, audit_log or credit_history |
| from | string | no | ISO date/time or epoch ms (messages, deliveries, events, webhook_deliveries) |
| to | string | no | Inclusive; a bare date means the end of that day (UTC) |
| status | enum: "queued" | "sent" | "delivered" | "failed" | "blocked" | "received" | no | messages, deliveries |
| blocked_reason | string | no | messages, deliveries: blocked messages with this reason |
| direction | enum: "outbound" | "inbound" | no | messages |
| number | string | no | messages, deliveries: digits matched against either side |
| to_number | string | no | messages, deliveries: exact recipient (E.164). `to`/`from` are the date range here. |
| from_number | string | no | messages, deliveries: exact sender (E.164) |
| customer_id | string | no | messages, deliveries |
| failure_code | enum: "carrier_filtered" | "unreachable" | "invalid_number" | "opted_out" | "campaign_mismatch" | "content_blocked" | "screen_unavailable" | "rate_limited" … | no | messages, deliveries: failed for this reason (the `failure.code` on a message) |
| batch | string | no | messages, deliveries: batch id (bc_...) |
| q | string | no | messages: body/failure text; events: id/payload text |
| type | string | no | events, webhook_deliveries |
| endpoint_id | string | no | webhook_deliveries (default: all endpoints) |
| ok | boolean | no | webhook_deliveries |
| months | integer | no | usage: daily rows for the last N months |
| action | string | no | audit_log: one action, or a group prefix with a trailing dot (team.) |
| actor | string | no | audit_log: actor id or part of the actor email |
| target_type | string | no | audit_log |
| created_after | string | no | audit_log: same as on GET /audit-logs (from is accepted too) |
| created_before | string | no | audit_log: same as on GET /audit-logs (to is accepted too) |
export_consent
Export consent
The suppression list, or the full consent ledger with opt-in proof, as CSV text.
| Parameter | Type | Required | Description |
|---|---|---|---|
| type | enum: "suppressions" | "ledger" | no | suppressions: the opted-out numbers. ledger: every consent record, with proof |
list_audit_logs
List audit logs
Who changed what on the account (keys, team, webhooks, spend limit, numbers, consent, settings), newest first.
| Parameter | Type | Required | Description |
|---|---|---|---|
| limit | integer | no | Max results (default 25, max 100) |
| cursor | string | no | next_cursor from the previous page |
| action | string | no | One action, or a group prefix with a trailing dot (team., api_key.) |
| actor | string | no | Actor id (exact) or part of the actor email (case-insensitive) |
| target_type | string | no | Target type, e.g. api_key, member, invite, webhook, number, phone |
| created_after | string | no | Entries at or after this time (ISO 8601) |
| created_before | string | no | Entries at or before this time (ISO 8601); a bare date means the end of that day (UTC) |
wait_for_events
Wait for events
Wait up to 25 seconds for the next events after a cursor (a reply, a delivery receipt), then return them.
| Parameter | Type | Required | Description |
|---|---|---|---|
| cursor | string | no | The `cursor` of the previous response. Omit on the first call. |
| timeout | integer | no | Seconds to hold the request. |
list_registration_submissions
List registration submissions
The filed copies of a 10DLC registration, newest first.
| Parameter | Type | Required | Description |
|---|---|---|---|
| id | string | yes | Registration id |
set_spend_limit
Set spend limit
Set or remove the monthly spend cap and its alert thresholds. Live sends over the cap are refused.
| Parameter | Type | Required | Description |
|---|---|---|---|
| monthly_limit_usd | number | no | null removes the cap |
| alert_thresholds | array<integer> | no | Percentages of the limit to alert at, up to 5, like [50, 80, 100] |
delete_link_domain
Delete link domain
Remove a branded link domain. Every short link already sent on it stops working.
| Parameter | Type | Required | Description |
|---|---|---|---|
| id | string | yes | Link domain id |
forget_identity
Forget identity
Privacy erasure: forget the phone number linked to a user_id, so its tracked events stop reaching automations.
| Parameter | Type | Required | Description |
|---|---|---|---|
| user_id | string | yes | Your user id |
Client compatibility
Based on the transports each client documents as supported; this is not a live test inside the client.
| Client | Documented transports | This server | Source |
|---|---|---|---|
| Claude Code | stdio Streamable HTTP SSE | transport accepted | doc |
| Claude (claude.ai, Claude Desktop, Cowork) | stdio Streamable HTTP SSE | transport accepted | doc |
| ChatGPT (serveurs MCP personnalisés / plugins) | Streamable HTTP SSE | transport accepted | doc |
| Cursor | stdio Streamable HTTP SSE | transport accepted | doc |
| VS Code (GitHub Copilot) | stdio Streamable HTTP SSE | transport accepted | doc |
| Windsurf (documentation redirigée vers Devin Local / Devin CLI) | stdio Streamable HTTP SSE | transport accepted | doc |
| Gemini CLI | stdio Streamable HTTP SSE | transport accepted | doc |
| OpenAI Codex (CLI, extension IDE, app) | stdio Streamable HTTP | transport accepted | doc |
Ready-to-copy configs
Remote address used: https://mcp.jointextkit.com. Formats taken from each client’s documentation.
claude mcp add --transport http textkit https://mcp.jointextkit.comCustomize > Connectors > + Add > Add custom connector ; Name : textkit ; URL : https://mcp.jointextkit.comchatgpt.com/plugins > + > Add custom MCP server ; Name : textkit ; Server URL : https://mcp.jointextkit.com ; Create as a plugin{
"mcpServers": {
"textkit": {
"url": "https://mcp.jointextkit.com"
}
}
}{
"mcpServers": {
"textkit": {
"type": "http",
"url": "https://mcp.jointextkit.com",
"tools": ["*"]
}
}
}{
"mcpServers": {
"textkit": {
"url": "https://mcp.jointextkit.com"
}
}
}{
"mcpServers": {
"textkit": {
"httpUrl": "https://mcp.jointextkit.com"
}
}
}[mcp_servers.textkit]
url = "https://mcp.jointextkit.com"Cite this source
Writing an article or comparison? This entry distinguishes registry information from our measurements. Cite the permanent link and the test date; an OK result is not a security audit or an availability guarantee.
TextKit · L’Atlas · Tested on
[TextKit — L’Atlas](https://latlas.dev/en/mcp/com.jointextkit/textkit)Source : Registre officiel MCP · retrieved 29 Nov 2026. L’Atlas adds no data beyond this source and its own tests.