Skip to main content
Use TextIt through Corsair: one client, typed API calls. TextIt API v2 uses an API token from your TextIt account. List operations return a page with next, previous and results; pass the cursor from the next link to request another page.
  • Sending messages and broadcasts and starting flows can contact real people. Bulk contact and message actions include permanent deletion.
  • Campaign, campaign event and field updates replace the record, so they need the same fields as a create (TextIt answers 400 otherwise). A group used by a campaign can’t be deleted until the campaign is archived in TextIt.
  • Message actions apply only to incoming messages and take the integer id that messages.list returns.
  • Updating a contact by URN creates it if the URN is unknown. messageActions.apply returns undefined on complete success or an object { failures: [...] } when some messages could not be updated; access the failed IDs through result.failures.
  • Upload media with a Blob using media.upload; its UUID can be used in message attachments.
  • Rate-limited requests are retried up to three times, waiting for TextIt’s Retry-After. Other failures throw Corsair’s ApiError with the HTTP status and TextIt’s error body; the default handlers do not replay writes.
  • Outbound resthook subscription management is supported; inbound webhook verification is not included.
  • The provider’s globals create example uses /global.json, which currently returns 404; the indexed plural /globals.json route is used. Its subscriber ID prose says integer while examples show strings, so both are accepted.
What you get:
  • 49 typed API operations

Setup

1

Install

2

Add the plugin

corsair.ts
With multiTenancy: true, scope calls with corsair.withTenant(id). See Quick start for KEK + Hub keys, and Multi-tenancy for account isolation.
3

Choose authentication

4

Connect a tenant

Mint a connect link and send the tenant to it. Hub hosts the page and delivers the result to your app — see Connect / OAuth.

Example API calls

archives.list
broadcasts.send
See the full list on the API page.

What’s next

API reference

Every textit.api.* operation with input and output types.

Connect / OAuth

createLink, Hub delivery, and tenant connect flows.

Use with agents

Expose this plugin’s operations as MCP tools.