Clarion API for travel management companies
API guide for IT teams
Connect your systems to Clarion: send each client’s files to TraCarta, then pull their reconciled lines, airline PDFs and reports, your client list and usage. REST and JSON, with signed webhooks.
API guide
For TMCs
Contents
Introduction
The Clarion API gives your systems the same as Clarion: send TraCarta your files, then collect every reconciled airline line, the airline invoices and credit notes behind them, and TraCarta’s reconciliation reports.
Everything is filed under an engagement: one client and one financial year of work. So each call works on one client at a time, and one client’s data never appears under another.
It’s safe by design. A key acts as the person who made it and sees exactly what they can see: the same companies, GSTINs and columns. Keys only read, unless an admin ticks Can send files when making the key. Nothing in the API changes or deletes your data.
| What you can do | How |
|---|---|
| Send files | Travel agent reports, GSTR-2B and GSTR-6A, to an engagement. |
| Reconciled lines | Every column of My Data, filtered your way. |
| Airline PDFs | One at a time, or a ZIP for an engagement. |
| Reports | TraCarta’s reconciliation workbooks. |
| Clients and usage | Your client list with its figures, and documents delivered per client per month. |
| Webhooks | A call to your system the moment something changes. |
https://clarion.tracarta.com/api/v1Using Clarion rather than code? Read the product guide for TMCs.
Quick start
Three steps to your first call, then try it live from this page.
- 1Make a keyIn Clarion, open SettingsAPI and choose Create key. Copy it straight away: it’s shown only once.
- 2Keep it safeStore it as an environment variable, such as
CLARION_KEY. Never put it in a web page or send it by email. - 3Call the APIStart with
/clientsto see your clients, then use each client’s engagement to send files or fetch reports, lines and PDFs.
curl "https://clarion.tracarta.com/api/v1/engagements?status=active" \
-H "Authorization: Bearer $CLARION_KEY"Try it live
Send a real request to your Clarion account from this page. Your key stays in this browser tab and isn’t saved anywhere.
Paste your key, pick an endpoint and press Send. The real response from your Clarion account shows here.
Authentication and keys
Send your key in the Authorization header as a Bearer token with every request. Keys start with clr_live_.
- A key sees at most what its owner sees: their companies, GSTINs and the columns TraCarta allows.
- When you make a key you choose what it can read (data lines, documents, reports, GSTINs), whether it may send files, which addresses it works from, and when it stops working.
- If the owner loses access to a company, so does the key, immediately.
- Turn a key off any time in SettingsAPI. It stops working straight away.
- A key made by a TMC Admin sees every client. A key made by a Team Member sees only the clients given to them, and stops seeing a client the moment that access is removed.
Authorization: Bearer clr_live_8f2a…{
"error": "This key isn't valid or has been turned off."
}For travel management companies
A TMC works for many clients, so every engagement belongs to one client and one year. The API follows the same path as Clarion: clients, then the client’s engagement, then its files, lines, PDFs and reports.
GET /clientslists your clients with the figures from My Clients, and the engagement that opens by default.GET /engagements?client=<id>lists every year for one client, active and completed.- Use that engagement’s id everywhere else: send files to it, and fetch its uploads, lines, reports and PDFs.
GET /usage?fy=2026-27gives the airline documents delivered per client per month, for your own billing.- Reports and GSTR-2B marks are there only for clients where TraCarta does the reconciliation (
reconciliation: true). For the others you get data and airline PDFs. - Webhooks carry the engagement with its client, so one address can serve every client.
import os, requests
API = "https://clarion.tracarta.com/api/v1"
H = {"Authorization": f"Bearer {os.environ['CLARION_KEY']}"}
# 1. Your clients and their figures
clients = requests.get(f"{API}/clients", headers=H).json()
for c in clients["clients"]:
e = c["engagement"] # active year
if not e:
continue
# 2. That client's lines for the year
r = requests.get(f"{API}/lines", headers=H,
params={"engagement": e["id"], "per_page": 1000})
print(c["name"], r.json()["total"])
# 3. Usage, for your own billing
u = requests.get(f"{API}/usage", headers=H, params={"fy": "2026-27"}).json()
for c in u["clients"]:
print(c["name"], c["total"])Your clients and usage
Two calls only travel management companies have: your client list with its figures, and the documents delivered per client per month.
/api/v1/clientsYour clients (TMCs)
Travel management companies only. Every client the key can see, with the same figures as the All clients page: the engagement that opens by default, files with TraCarta, airline invoices delivered this month and in the engagement, lines still waiting for an airline document, lines not in GSTR-2B, and alerts.
- Keys of a TMC's team members see only the clients assigned to that person.
- invoices_delivered counts airline invoices, credit notes and debit notes by the day TraCarta delivered them. A document linked to several lines counts once.
- needs_attention is true when lines aren't in GSTR-2B, or the client has no active engagement.
- Full-service accounts get 403: use /engagements.
Query parameters
attentiontruecurl "https://clarion.tracarta.com/api/v1/clients?attention=true" \
-H "Authorization: Bearer $CLARION_KEY"{
"total": 1,
"month": "2026-11",
"clients": [
{
"id": "c41b…",
"name": "Lotus Pharma Ltd",
"reconciliation": true,
"gstins": 2,
"engagement": {
"id": "8a41c2d0-…",
"name": "Airline GST Reconciliation",
"financial_year": "2026-27",
"status": "active"
},
"active_engagements": 1,
"files_with_tracarta": 1,
"invoices_delivered": {
"this_month": 18,
"in_engagement": 60
},
"lines": 65,
"waiting_for_airline": 5,
"not_in_gstr2b": 4,
"needs_attention": true,
"alerts": [
"4 not in GSTR-2B",
"4 new invoices"
],
"last_activity": "2026-11-22T10:12:00.000Z",
"links": {
"engagements": "https://clarion.tracarta.com/api/v1/engagements?client=c41b…"
}
}
]
}/api/v1/usageUsage (TMCs)
Travel management companies only. Airline documents TraCarta delivered for each client, month by month, split into invoices, credit notes and debit notes. The same figures as "Download usage" on the All clients page, ready for your own billing.
- Months run April to March. Months with nothing delivered show zeros.
- Keys of a TMC's team members see only their clients.
Query parameters
fytext2026-27curl "https://clarion.tracarta.com/api/v1/usage?fy=2026-27" \
-H "Authorization: Bearer $CLARION_KEY"{
"financial_year": "2026-27",
"months": [
"2026-04",
"2026-05",
"…",
"2027-03"
],
"total": 93,
"clients": [
{
"id": "c41b…",
"name": "Lotus Pharma Ltd",
"total": 60,
"months": {
"2026-10": {
"invoices": 31,
"credit_notes": 3,
"debit_notes": 0,
"total": 34
},
"2026-11": {
"invoices": 17,
"credit_notes": 1,
"debit_notes": 0,
"total": 18
}
}
}
]
}Engagements
Each client’s years of work. Pick the engagement to work on one client.
/api/v1/engagementsEngagements
Everything in Clarion is filed under an engagement, usually one financial year of work ("Airline GST Reconciliation · FY 2026-27"). This lists the ones your key can see, newest year first, with links to everything inside each one.
- Travel management companies: each engagement belongs to one of your clients (see client), so pick the engagement to work on one client.
- Any valid key can list engagements.
Query parameters
clienttextstatusactive · completedcurl "https://clarion.tracarta.com/api/v1/engagements?status=active" \
-H "Authorization: Bearer $CLARION_KEY"{
"total": 1,
"engagements": [
{
"id": "8a41c2d0-…",
"name": "Airline GST Reconciliation",
"financial_year": "2026-27",
"status": "active",
"starts": "2026-04-01",
"ends": "2027-03-31",
"client": null,
"reconciliation": true,
"links": {
"send_files": "https://clarion.tracarta.com/api/v1/engagements/8a41c2d0-…/uploads",
"uploads": "https://clarion.tracarta.com/api/v1/uploads?engagement=8a41c2d0-…",
"lines": "https://clarion.tracarta.com/api/v1/lines?engagement=8a41c2d0-…",
"reports": "https://clarion.tracarta.com/api/v1/reports?engagement=8a41c2d0-…",
"documents_zip": "https://clarion.tracarta.com/api/v1/engagements/8a41c2d0-…/documents.zip"
}
}
]
}Sending files
Send TraCarta travel agent reports, GSTR-2B and GSTR-6A files, then follow them until they’re done.
/api/v1/engagements/{id}/uploadsSend files to TraCarta
Sends your travel agent report, GSTR-2B, GSTR-6A or other files into an engagement. They arrive exactly like "Send files" in Clarion: TraCarta is alerted, and you can follow them from Received to Being processed to Done.
- Needs a key with "Send files" ticked (client admins can make one in Settings → API).
- Send multipart/form-data. Repeat the file field for several files: up to 50 files and 100 MB per call. Zip bigger sets.
- Completed engagements can't take new files (409).
- When TraCarta is done, the reconciliation report, data and PDFs appear in the same engagement. Use a webhook to hear the moment that happens.
Form fields (multipart/form-data)
kindrequiredgstr2bfilefile, repeatabletitletext, optionalGSTR-2B Oct 2026notetext, optionalIncludes the new Pune GSTINcurl -X POST "https://clarion.tracarta.com/api/v1/engagements/ENGAGEMENT_ID/uploads" \
-H "Authorization: Bearer $CLARION_KEY" \
-F kind=gstr2b \
-F "title=GSTR-2B Oct 2026" \
-F "file=@GSTR2B_29AAKCV4821M1Z5_102026.json"{
"id": "e52f…",
"engagement_id": "8a41c2d0-…",
"client": null,
"kind": "gstr2b",
"kind_label": "GSTR-2B",
"title": "GSTR-2B Oct 2026",
"note": null,
"via": "api",
"status": "received",
"status_label": "Received",
"message": null,
"sent_on": "2026-11-19T10:02:11.000Z",
"updated_on": "2026-11-19T10:02:11.000Z",
"files": [
{
"name": "GSTR2B_29AAKCV4821M1Z5_102026.json",
"size_bytes": 482113
}
],
"url": "https://clarion.tracarta.com/api/v1/uploads/e52f…"
}/api/v1/uploadsFiles you sent, and their status
Everything sent to TraCarta (from Clarion or the API), newest first, with where each one is: received, processing or done. GET /api/v1/uploads/{id} returns one.
Query parameters
engagementtextstatusreceived · processing · donecurl "https://clarion.tracarta.com/api/v1/uploads?engagement=8a41c2d0-…&status=done" \
-H "Authorization: Bearer $CLARION_KEY"{
"total": 1,
"uploads": [
{
"id": "c19a…",
"engagement_id": "8a41c2d0-…",
"client": null,
"kind": "travel_agent_report",
"kind_label": "Travel agent report",
"title": "Oct bookings",
"note": null,
"via": "api",
"status": "done",
"status_label": "Done",
"message": "Done. Your data and documents are in Clarion.",
"sent_on": "2026-11-04T08:15:00.000Z",
"updated_on": "2026-11-09T12:40:00.000Z",
"files": [
{
"name": "Oct-2026-bookings.xlsx",
"size_bytes": 91340
}
],
"url": "https://clarion.tracarta.com/api/v1/uploads/c19a…"
}
]
}Companies and GSTINs
Every client company and GSTIN the key can see.
/api/v1/gstinsCompanies and GSTINs
The companies and GSTINs your key can see (for travel management companies, your clients, with their ids). A good first call to check the key works.
curl "https://clarion.tracarta.com/api/v1/gstins" \
-H "Authorization: Bearer $CLARION_KEY"{
"account": "Vertex Global Services",
"companies": [
{
"id": "b3e0…",
"name": "Vertex Analytics India Pvt Ltd",
"kind": "company",
"pan": "AAKCV4821M",
"gstins": [
{
"gstin": "29AAKCV4821M1Z5",
"state": "Karnataka"
},
{
"gstin": "27AAKCV4821M1ZA",
"state": "Maharashtra"
}
]
},
{
"id": "71d2…",
"name": "Vertex Technologies Pvt Ltd",
"kind": "company",
"pan": "AAGCV1190K",
"gstins": [
{
"gstin": "33AAGCV1190K1Z0",
"state": "Tamil Nadu"
}
]
}
]
}Reconciled lines
Every reconciled airline line, with the same columns as My Data, filtered and paged your way.
/api/v1/linesReconciled lines
Every reconciled line, the same as My Data, newest airline invoice date first. Each line has the columns TraCarta lets your company see, plus links to its airline PDF.
- Add engagement=<id> for one engagement (travel management companies: one client's engagement). Leave it out for every engagement.
- All the filters below work here.
- in_gstr2b is true, false, or null when not checked yet (accounts with reconciliation).
Query parameters
engagementtext8a41c2d0-…fytext2026-27gstintext, repeatable27AAKCV4821M1ZAfrom · todate2026-10-01monthYYYY-MM, repeatable2026-10airlinetext, repeatableIndiGotypeinvoice · creditdoclinked · waitingb2yes · no · uncheckedqtextpagenumber1per_pagenumber500curl "https://clarion.tracarta.com/api/v1/lines?engagement=ENGAGEMENT_ID&airline=IndiGo&doc=linked&per_page=2" \
-H "Authorization: Bearer $CLARION_KEY"{
"total": 112,
"page": 1,
"per_page": 2,
"lines": [
{
"transaction_id": "VX-B98491",
"financial_year": "2026-27",
"transaction_type": "Invoice",
"client_gstn": "27AAKCV4821M1ZA",
"pax_name": "Ms Kavya Raman",
"itinerary": "DEL-BOM",
"airline_iata": "6E",
"airline_name": "IndiGo",
"airline_invoice_number": "MH12261028BA9849",
"airline_invoice_date": "2026-10-28",
"airline_gstn": "27AABCI2726B1Z6",
"taxable_value": 13142,
"total_igst": 0,
"total_cgst": 328.55,
"total_sgst": 328.55,
"gstr2b_status": "Yes",
"in_gstr2b": true,
"engagement_id": "8a41c2d0-…",
"document_url": "https://clarion.tracarta.com/api/v1/documents/7f3c…"
},
{
"transaction_id": "VX-B1027827",
"financial_year": "2026-27",
"transaction_type": "Invoice",
"client_gstn": "29AAKCV4821M1Z5",
"pax_name": "Ms Pooja Shetty",
"itinerary": "BOM-BLR",
"airline_iata": "6E",
"airline_name": "IndiGo",
"airline_invoice_number": "DL12261028BA10278",
"airline_invoice_date": "2026-10-28",
"airline_gstn": "07AABCI2726B1Z6",
"taxable_value": 6468,
"total_igst": 323.4,
"total_cgst": 0,
"total_sgst": 0,
"gstr2b_status": null,
"in_gstr2b": null,
"engagement_id": "8a41c2d0-…",
"document_url": "https://clarion.tracarta.com/api/v1/documents/a91d…"
}
]
}Filters
Combine as many as you like. Repeat a parameter to pass several values, such as airline=IndiGo&airline=Air India.
| Parameter | Type | What it does |
|---|---|---|
fy | text | Financial year. Leave out for all years. For example 2026-27. |
gstin | text, repeatable | Only lines for these client GSTINs. Leave out for every GSTIN the key can see. For example 27AAKCV4821M1ZA. |
from · to | date | Date of airline invoice, from and to (inclusive), as YYYY-MM-DD. For example 2026-10-01. |
month | YYYY-MM, repeatable | One or more months of the airline invoice date. For example 2026-10. |
airline | text, repeatable | Standard airline name from the airline master. For example IndiGo. |
type | invoice · credit | Only invoices, or only credit notes. |
doc | linked · waiting | Lines that have their airline PDF, or are still waiting for it. |
b2 | yes · no · unchecked | Reflected in GSTR-2B (accounts with reconciliation). |
q | text | Search transaction ID, airline invoice number, e-ticket or passenger. |
page | number | Page number, starting at 1. For example 1. |
per_page | number | Lines per page: 100 by default, up to 1,000. For example 500. |
Pagination
Lines come in pages: 100 by default, up to 1,000 with per_page. Every response says how many lines match in total (total), with page and per_page, so you know when you have them all.
import os, requests
key = os.environ["CLARION_KEY"]
lines, page = [], 1
while True:
r = requests.get(
"https://clarion.tracarta.com/api/v1/lines",
params={"fy": "2026-27", "per_page": 1000, "page": page},
headers={"Authorization": f"Bearer {key}"},
)
r.raise_for_status()
data = r.json()
lines += data["lines"]
if page * data["per_page"] >= data["total"]:
break
page += 1
print(len(lines), "lines")Fields in a line
Each line carries the columns of TraCarta’s standard airline ITC format that your company can see, plus engagement_id, document_url and, on accounts with reconciliation, in_gstr2b. Dates are YYYY-MM-DD; amounts are numbers in rupees.
| Field | Meaning | Type |
|---|---|---|
transaction_id | Transaction ID | text |
financial_year | Financial Year | text |
transaction_type | Transaction Type | text |
client_name | Company Name | text |
client_gstn | Client GSTN | text |
client_gstn_state_code | Client GSTN Code | text |
client_place_of_supply | Client Place of Supply | text |
ta_invoice_date | Date of Travel Agent Invoice | date |
itinerary | Itinerary | text |
city_of_origin | City of Origin | text |
journey_type | Journey Type | text |
total_fare | Total Fare | number |
pax_name | Pax Name | text |
class_of_travel | Class | text |
airline_iata | Airline IATA Code | text |
airline_name | Airline Name | text |
airline_pnr | Airline PNR | text |
eticket | E-Ticket No | text |
airline_invoice_number | Airline Invoice Number | text |
airline_invoice_date | Date of Airline Invoice | date |
airline_gstn | Airline GST Number | text |
los_code | Code for Location of Supply - Airline Service | text |
los | Location of Supply - Airline Service | text |
hsn | HSN Code - Airline Service | text |
taxable_value | Taxable Value of Service - Airline Service | number |
tax_type | Type of Tax | text |
gst_pct | Percentage of GST | number |
igst_pct | Percentage of IGST - Airline Service | number |
igst_amt | IGST Amount - Airline Service | number |
cgst_pct | Percentage of CGST - Airline Service | number |
cgst_amt | CGST Amount - Airline Service | number |
sgst_pct | Percentage of SGST - Airline Service | number |
sgst_amt | SGST Amount - Airline Service | number |
total_igst | Total IGST Charged by Airlines | number |
total_cgst | Total CGST Charged by Airlines | number |
total_sgst | Total SGST Charged by Airlines | number |
gstr2b_status | Reflected in GSTR-2B | text |
in_gstr2b | Reflected in GSTR-2B: true, false or null | boolean |
engagement_id | The engagement the line belongs to | text |
document_url | The airline PDF, when it’s linked | text |
Airline PDFs
The airline’s own PDF for any line, or every PDF of an engagement in one ZIP.
/api/v1/documents/{id}Airline PDF
Downloads the airline invoice, credit note or debit note for a line. Use the document_url from /lines; the file name is the document number.
curl "https://clarion.tracarta.com/api/v1/documents/DOCUMENT_ID" \
-H "Authorization: Bearer $CLARION_KEY" \
-o invoice.pdf(the PDF file)/api/v1/engagements/{id}/documents.zipAll PDFs of an engagement (ZIP)
Every airline invoice, credit note and debit note linked in the engagement, as one ZIP with a folder per airline. Ask for one month to keep it small.
- Up to 3,000 PDFs per call. Bigger engagements: one month at a time.
Query parameters
monthYYYY-MM2026-10curl "https://clarion.tracarta.com/api/v1/engagements/ENGAGEMENT_ID/documents.zip?month=2026-10" \
-H "Authorization: Bearer $CLARION_KEY" \
-o documents.zip(the ZIP file)Reconciliation reports
TraCarta’s reconciliation workbooks: list them, then download any one.
/api/v1/reportsReconciliation reports
The reconciliation reports TraCarta has added, newest first, with the period each one covers. Use engagement=<id> for one engagement.
- Travel management companies: each engagement belongs to one of your clients (see client), so pick the engagement to work on one client.
Query parameters
engagementtext8a41c2d0-…fytext2026-27curl "https://clarion.tracarta.com/api/v1/reports?engagement=ENGAGEMENT_ID" \
-H "Authorization: Bearer $CLARION_KEY"{
"total": 2,
"reports": [
{
"id": "3b1e…",
"name": "Reconciliation – Oct 2026",
"engagement_id": "8a41c2d0-…",
"period": "Oct 2026",
"period_from": "2026-10-01",
"period_to": "2026-10-31",
"financial_year": "2026-27",
"added_on": "2026-11-11T09:30:00.000Z",
"size_bytes": 16384,
"download_url": "https://clarion.tracarta.com/api/v1/reports/3b1e…"
},
{
"id": "c720…",
"name": "Quarterly summary – Q1 FY 2026-27",
"engagement_id": "8a41c2d0-…",
"period": "Q1 FY 2026-27 (Apr–Jun 2026)",
"period_from": "2026-04-01",
"period_to": "2026-06-30",
"financial_year": "2026-27",
"added_on": "2026-10-11T09:30:00.000Z",
"size_bytes": 29696,
"download_url": "https://clarion.tracarta.com/api/v1/reports/c720…"
}
]
}/api/v1/reports/{id}Download a report
Downloads one reconciliation report as the Excel workbook TraCarta uploaded.
curl "https://clarion.tracarta.com/api/v1/reports/REPORT_ID" \
-H "Authorization: Bearer $CLARION_KEY" \
-o report.xlsx(the Excel file)Webhooks
Rather than asking Clarion again and again whether something is ready, give it a web address. A client admin adds it in Settings, API, Webhooks, and gets a signing secret, shown once.
| Event | When it’s sent |
|---|---|
upload.received | Files sent to TraCarta were received |
upload.processing | TraCarta started working on sent files |
upload.done | Sent files are done (data and documents are in Clarion) |
report.added | A reconciliation report was added or replaced |
data.updated | Reconciled data lines were added or updated |
documents.linked | Airline PDFs were linked to data lines |
- Each call is a POST with a JSON body: the event, the engagement with its client, and links to fetch what changed.
- Headers:
Clarion-Event,Clarion-Delivery(stays the same if a call is retried) andClarion-Signature: t=…,v1=…. v1is the HMAC-SHA256 of<t>.<body>with your secret, in hex. Check it, and ignore calls more than 5 minutes old.- Answer with any 2xx within 10 seconds. Calls that fail are tried again automatically, with the same
Clarion-Delivery. Settings shows the latest calls and lets you send a test.
import hashlib, hmac, time
def from_clarion(headers, body: bytes, secret: str) -> bool:
parts = dict(p.split("=", 1) for p in headers["Clarion-Signature"].split(","))
t, sig = int(parts["t"]), parts["v1"]
if abs(time.time() - t) > 300:
return False # too old
mac = hmac.new(secret.encode(), f"{t}.".encode() + body, hashlib.sha256)
return hmac.compare_digest(mac.hexdigest(), sig){
"id": "d7c1…",
"event": "upload.done",
"created_at": "2026-11-21T11:04:52.000Z",
"account": {
"id": "9b2e…",
"name": "Meridian Travels"
},
"engagement": {
"id": "8a41c2d0-…",
"name": "Airline GST Reconciliation",
"financial_year": "2026-27",
"status": "active",
"client": {
"id": "c41b…",
"name": "Lotus Pharma Ltd"
}
},
"data": {
"upload": {
"id": "e52f…",
"kind": "gstr2b",
"title": "GSTR-2B Oct 2026",
"via": "api",
"status": "done",
"message": "Done. Your data and documents are in Clarion.",
"url": "…/api/v1/uploads/e52f…"
}
}
}Errors and limits
Clarion uses ordinary HTTP status codes. Errors come back as JSON with a plain-language error message you can show or log.
| Code | Meaning | What to do |
|---|---|---|
| 200 | OK | Everything worked. |
| 201 | Created | Your files were received. The Location header and url point to their status. |
| 400 | Bad request | The form couldn’t be read, or no file was attached. Send multipart/form-data with each file in a field called file. |
| 401 | Unauthorised | The key is missing, not valid, revoked or expired. |
| 403 | Forbidden | The key isn’t allowed to do this, is used from an address the key or your company doesn’t allow, or the account isn’t active. |
| 404 | Not found | The engagement, upload, document or report doesn’t exist, or the key can’t see it. |
| 409 | Conflict | The engagement is completed and can’t take new files. |
| 413 | Too large | Over 100 MB in one call, or too many PDFs for one ZIP: split it up. |
| 415 | Wrong format | Files must be sent as multipart/form-data. |
| 422 | Check the request | Something is missing or not allowed: kind, more than 50 files, a file type your account doesn’t accept, or a month or year written the wrong way. |
| 429 | Too many requests | Over the per-minute limit for this key. Wait for the Retry-After seconds, then try again. |
| 503 | API switched off | TraCarta has paused the API for now. |
Limits and keys
| Limit | Value |
|---|---|
| Requests per minute, per key | 60 |
| Lines per page, at most | 1,000 |
| Files per call | 50, and 100 MB in all |
| Before a key stops working | No expiry, unless you set one |
Over the limit you get 429 with a Retry-After header. For large pulls, use per_page=1000 and filter by financial year or dates rather than fetching everything every time.
Sandbox
Need to test first? Ask TraCarta for a sandbox account: a separate test copy with sample data, where files finish by themselves within minutes so you can try every webhook.
- Sample data: fictional companies, GSTINs, reconciled lines, airline PDFs and reports.
- Every webhook: files sent to a sandbox finish by themselves, so
upload.processing,upload.done,report.addedanddata.updatedall fire. - The same API: every endpoint, field and webhook works exactly as on the live site.
In the sandbox, engagements carry "sandbox": true, webhook calls carry account.sandbox: true, and emails start [Sandbox]. Results are sample data, not a real reconciliation. When you go live, make a new key on the live site and point your system at the live address; nothing else changes. TraCarta sets the sandbox up and shares the details with you directly.
What’s changed
New in the API, newest first.
- 23 Nov 2026
- For travel management companies:
GET /clients(every client with files with TraCarta, invoices delivered, lines waiting for an airline document, GSTR-2B gaps and alerts) andGET /usage(documents delivered per client per month, by type). - 19 Nov 2026
- Sandbox accounts: sample data, and files that finish by themselves so you can test webhooks end to end.
- 19 Nov 2026
- Engagements (one per client and year), sending files (travel agent report, GSTR-2B, GSTR-6A) with status, per-engagement reports, lines and a PDF ZIP, and webhooks.
- 16 Nov 2026
- Launch on the live site:
/gstins,/lines,/documentsand/reports, with GSTR-2B marks (in_gstr2band theb2filter) and standard airline names and IATA codes from TraCarta’s airline master.