1
Create a personal access token
Open Personal access tokens in Text and select + New token.Copy your Account ID and your personal access token. You’ll use both in the next step.See personal access tokens for more on scopes and how authentication works.
2
Make your first call
Open the Create ticket method in our API reference playground — the reference page for the endpoint you’re about to call. Select the button on the request page for a live way to call the API.In Authorization, enter your copied Account ID as the username and your personal access token as the password.Fill in the fields marked required, then use the button to send your request. If you’re comfortable, feel free to adjust any of the other available params too.
3
See it in action
A successful call returns the ID of the ticket you just created. To view it in Text, go to Inbox → Tickets. Your new ticket is at the top of the list, ready to assign, reply to, or close.
What’s next
See what's possible
Before anything technical, it helps to understand what the API actually
covers. The API overview section walks through every part of Text that’s
accessible via API — what each one does, who it’s for, and when you’d reach
for it.
Learn how conversations are structured
The API surfaces Text’s data as structured objects: chats, threads, events,
users. If you’re going to read from or write to a conversation, knowing how
these relate to each other makes everything click.
Chats and Users and
accounts explain the model.
Already know what you want to build?
CRM or data sync
Use webhooks to get notified the moment something happens in Text, then push
data wherever it needs to go.
Reports and analytics
Use the Reports API to pull conversation data, response times, and
performance metrics into your own tools.
Team and account management
Use the Configuration API to manage agents, teams, tags, and routing rules
programmatically.
A bot or automation
Use the Agent Chat API to send messages, handle routing, or automate
responses — acting as an agent from outside Text.
A custom chat interface
Use the Customer Chat API to build a fully branded chat experience — on your
site, in your app, or on another channel.