Developer Platform
Protect every trip, right in your checkout.
Quote, offer and sell Allianz travel insurance from your own booking flow. Use the REST APIs, typed TypeScript and Python SDKs, a CLI, or drop-in client-side components.
quote.ts
import { AllianzPartnerServicesClient } from "allianz-partner-services";
const client = new AllianzPartnerServicesClient();
const quote = await client.core.optimizations.create({
"FS-Distributor-Code": "YOUR_DISTRIBUTOR_CODE",
body: {
partner: { distributorCode: "YOUR_DISTRIBUTOR_CODE" },
customers: [{ customerType: "Primary", sequence: 0 }],
travel: { totalCost: 1250 },
},
});
// → optimized offers, pricing and HTML contentGo straight to Postman
Partners can log in, pick APIs from the API Sandbox and open them together in a new Postman workspace in one click.
Choose your integration
Pick the path that fits your stack. Both paths use the same quote → purchase → decision flow.
How it works
01
Quote
Send the itinerary and travelers to POST /optimizations and get back optimized offers.
02
Decide
Report whether the customer accepted or declined with POST /decisions.
03
Purchase
Bind the policy with POST /Purchase and receive the policy numbers.
Developer tools
Ready to build?
Get a token, request your first quote and report a decision in a few minutes.

