Build on the Telltail API
For developers: a script or an app can read a Telltail shop through the REST API at /api/v1 or the MCP server at /mcp, with a read-only token that acts as one person in one shop.
Two ways to get a token
- A personal access token
- For your own script, spreadsheet or tool. You make the token in Settings › Integrations › API and paste the token into the script, with no OAuth flow to build.
- An OAuth app
- For an app other people will connect. Each person signs in to Telltail from your app and approves it, and your app gets a token for them.
See Make a personal access token and Register an OAuth app. Either way the token is used the same way: Make requests to the API.
What a token can do
- Read only. A request to anything that writes is refused with 403 and This connection is read-only.
- One person’s view. A token acts as the person it belongs to, in one shop, with their role’s permissions as they stand on each request.
- Two surfaces. The same token works on the REST API at /api/v1 and the MCP server at /mcp.
The reference
The API reference lists every route a token can call, with its parameters, and /api/v1/spec.json is the same list as an OpenAPI document. Both are public.
When a token stops working
- The person revokes the token, or disconnects the app.
- The person leaves the shop, or is suspended or archived in Staff.
- The token goes 90 days without being used.
- A personal access token reaches the expiry it was given.
- The shop switches Connected apps off in Settings › Features.
In each case the next request answers 401. A personal access token is replaced by making a new one; an OAuth app sends the person back through authorize.
Getting changes as they happen
The API returns data when you ask for it and doesn’t send events. To hear about a sale or a job as it happens, add a webhook for your system (see Send events with webhooks), then read the record through the API.
Q&A
Can I create sales or update stock through the API?
No. Every token is read only.
Can I run reports through the API?
Yes, if the person the token belongs to has the Run shop reports permission: run a report, or export one as CSV.
Is there a token for the shop itself, with no person behind it?
No. Every token belongs to a person and ends when they leave the shop.
Where does the shop see what has access?
Both are in Settings › Integrations: apps on the MCP card (see Manage connected apps) and personal access tokens on the API card.