Skip to navigation

SDKs

One client for every Travelers API — TypeScript and Python.

The Travelers SDKs are generated with Fern from the same OpenAPI specifications that power this reference. Every API is a namespace on a single client, so one install and one set of credentials covers surety, claims, payments, and policy data.

Usage

import { TravelersClient } from "@travelers/sdk";
const client = new TravelersClient({ token: process.env.TRAVELERS_TOKEN });
// Surety — execute a new bond
const bond = await client.surety.execute({ /* ... */ });
// Claims — file an automobile claim
const claim = await client.claims.autoClaim({ /* ... */ });

Namespaces

Each Travelers API is exposed as a sub-client:

NamespaceAPI
suretySurety B2B
suretyQuoteSurety ML Quote
claimsClaim Reporting (FNOL)
claimFilesClaim File Upload
paymentsB2B Payment
tokenizationB2B Tokenization
riskManagementRisk Management (BI RMIS)
policyDocumentsPolicy Documents (AIF)

Copy-pasteable per-endpoint snippets appear in the API Reference once the SDK packages are published to npm and PyPI.