# Allianz Partner Services
> Embed Allianz travel protection in your booking flow with the Core Optimizations and Send Purchase APIs.
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.
[Get started →](/docs/get-started/quickstart)
[API Reference](/api-reference)
*quote.ts*
`import AllianzPartnerServicesClient from ;const client = new AllianzPartnerServicesClient();const quote = await client.core.optimizations.create( : , body: partner: distributorCode: , customers: [ customerType: , sequence: 0 ], travel: totalCost: 1250 , ,);// → optimized offers, pricing and HTML content`
## Go 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.
[Log in →](/api-sandbox)
[Register ↗](https://developers.allianz-trade.com/register)
## Choose your integration
Pick the path that fits your stack. Both paths use the same quote → purchase → decision flow.
### [Client-side](/in-path-offers/client-side/overview)
Drop SmartCircuit and SmartContent into your pages. Allianz renders the offer, and you handle the events.
Explore client-side →
### [Server-side](/in-path-offers/server-side/overview)
Call the JSON quote, purchase and decision services from your backend, with full control over the UI.
Explore server-side →
## 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
### [TypeScript SDK](/docs/get-started/quickstart)
Typed client with retries and timeouts.
### [Python SDK](/docs/get-started/quickstart)
Sync and async clients with Pydantic models.
### [API Reference](/api-reference)
Every endpoint, with live snippets and Postman.
### [JSON Integration Guide](/integration-guide/overview)
Quote and purchase web services, data standards and examples.
## Ready to build?
Get a token, request your first quote and report a decision in a few minutes.
[Start the quickstart →](/docs/get-started/quickstart)
> Embed Allianz travel protection in your booking flow with the Core Optimizations and Send Purchase APIs.
## Instructions for AI Agents
- For clean Markdown of any page, append `.md` to the page URL
- For section-specific indexes, append `/llms.txt` to any section URL
- For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://allianz.ferndocs.com/_mcp/server
## Docs
- [Overview](https://allianz.ferndocs.com/docs/get-started/overview.md): Offer Allianz travel insurance in your booking flow
- [Quickstart](https://allianz.ferndocs.com/docs/get-started/quickstart.md): Request a quote, then report the customer's decision
- [Authentication](https://allianz.ferndocs.com/docs/get-started/authentication.md): Partner credentials and ACCAM
- [Environments](https://allianz.ferndocs.com/docs/get-started/environments.md): UAT and production gateways
- [Data standards](https://allianz.ferndocs.com/docs/get-started/data-standards.md): Formats for dates, numbers, text and country codes
- [Troubleshooting](https://allianz.ferndocs.com/docs/get-started/troubleshooting.md): Common quote and purchase errors
- [SmartCircuit](https://allianz.ferndocs.com/in-path-offers/client-side/overview.md): Show Allianz insurance offers in your booking path with a client-side web component
- [Integrate SmartCircuit](https://allianz.ferndocs.com/in-path-offers/client-side/documentation/integration.md): Reference the bundle, place the element and authenticate
- [SmartCircuit events](https://allianz.ferndocs.com/in-path-offers/client-side/documentation/events.md): Events your web application listens for and sends
- [Code examples](https://allianz.ferndocs.com/in-path-offers/client-side/code-examples.md): SmartCircuit integration code and a hosted demo
- [SmartContent](https://allianz.ferndocs.com/in-path-offers/client-side/smartcontent/overview.md): Pull Allianz messaging, banners and quote widgets into your site with four lines of code
- [Server-side integration](https://allianz.ferndocs.com/in-path-offers/server-side/overview.md): Quote, purchase and report decisions from your servers with the JSON web services
- [Documentation](https://allianz.ferndocs.com/in-path-offers/server-side/documentation/overview.md): Data dictionaries, error codes and guides for the server-side services
- [Quote request data dictionary](https://allianz.ferndocs.com/in-path-offers/server-side/documentation/data-dictionaries/quote-request.md): Every element the Partner can send in a JSON Quote Request.
- [Quote response data dictionary](https://allianz.ferndocs.com/in-path-offers/server-side/documentation/data-dictionaries/quote-response.md): Every element AWP returns in a JSON Quote Response.
- [Purchase request data dictionary](https://allianz.ferndocs.com/in-path-offers/server-side/documentation/data-dictionaries/purchase-request.md): Every element in a JSON Purchase Request. The **Object** column gives its path, and the **Required** column marks required (R) and optional (O) elements.
- [Purchase response data dictionary](https://allianz.ferndocs.com/in-path-offers/server-side/documentation/data-dictionaries/purchase-response.md): Every element AWP returns in a JSON Purchase Response.
- [Code examples](https://allianz.ferndocs.com/in-path-offers/server-side/code-examples.md): JSON request and response examples for the server-side services
- [JSON Service Integration Guide](https://allianz.ferndocs.com/integration-guide/overview.md): How Partners connect to Allianz Partner Services to quote and sell travel insurance over JSON web services.
- [Quote Web Service](https://allianz.ferndocs.com/integration-guide/quote-web-service.md): Request optimized travel insurance offers for a customer's booking.
- [Purchase Web Service](https://allianz.ferndocs.com/integration-guide/purchase-web-service.md): Send a customer's insurance purchase to AWP for billing and policy issuance.
- [Data standards](https://allianz.ferndocs.com/integration-guide/data-standards.md): Formats every quote and purchase message must follow.
- [Quote examples](https://allianz.ferndocs.com/integration-guide/examples/quote.md): Sample JSON Quote Request and Quote Response messages from the JSON Service Integration Guide.
- [Purchase examples](https://allianz.ferndocs.com/integration-guide/examples/purchase.md): Sample JSON Purchase Request and Purchase Response messages from the JSON Service Integration Guide.
## API Docs
- API Reference > Core > Optimizations [Returns an optimized quote request](https://allianz.ferndocs.com/api-reference/core/optimizations/create.md)
- API Reference > Core > Optimizations [Delete an optimization response](https://allianz.ferndocs.com/api-reference/core/optimizations/delete.md)
- API Reference > Core > Optimizations [Delete an optimization offer](https://allianz.ferndocs.com/api-reference/core/optimizations/delete-offer.md)
- API Reference > Core > Decisions [Indicate a customer action has been taken](https://allianz.ferndocs.com/api-reference/core/decisions/create.md)
- API Reference > Core > Quotes [Returns an optimized getWrapperTravelLeisureQuotes request](https://allianz.ferndocs.com/api-reference/core/quotes/get-wrapper-travel-leisure.md)
- API Reference > Core > Quotes [Returns Quote response](https://allianz.ferndocs.com/api-reference/core/quotes/get.md)
- API Reference > Core > Price Verifications [Returns price from PriceVerification service](https://allianz.ferndocs.com/api-reference/core/price-verifications/create.md)
- API Reference > Core > Caches [Returns cache from DATA Api](https://allianz.ferndocs.com/api-reference/core/caches/list.md)
- API Reference > Core > Caches [Deletes cache allowing for rebuild](https://allianz.ferndocs.com/api-reference/core/caches/delete-all.md)
- API Reference > Core > Caches [Get the cache for a module](https://allianz.ferndocs.com/api-reference/core/caches/get.md)
- API Reference > Core > Caches [deletes cache for specific module name](https://allianz.ferndocs.com/api-reference/core/caches/delete.md)
- API Reference > Core > Caches [Get the cache scope for a module](https://allianz.ferndocs.com/api-reference/core/caches/get-scope.md)
- API Reference > Core > Caches [List cache scopes](https://allianz.ferndocs.com/api-reference/core/caches/list-scopes.md)
- API Reference > Core > Auth Tokens [Returns token](https://allianz.ferndocs.com/api-reference/core/auth-tokens/create.md)
- API Reference > Core > Quote References [Returns quotereference based on quotePackId](https://allianz.ferndocs.com/api-reference/core/quote-references/get.md)
- API Reference > Core > Versions [Returns version for API](https://allianz.ferndocs.com/api-reference/core/versions/get.md)
- API Reference > Core > Configurations [Returns Configurations for Distributor](https://allianz.ferndocs.com/api-reference/core/configurations/get.md)
- API Reference > Core > Telemetry [Posts the specified performance data.](https://allianz.ferndocs.com/api-reference/core/telemetry/create-performance.md)
- API Reference > Core > Telemetry [Posts the specified error data.](https://allianz.ferndocs.com/api-reference/core/telemetry/create-client-error.md)
- API Reference > Core > Telemetry [Posts data to EQS service](https://allianz.ferndocs.com/api-reference/core/telemetry/create-eqs.md)
- API Reference > Core > Telemetry [Posts Interaction Data](https://allianz.ferndocs.com/api-reference/core/telemetry/create-interactions.md)
- API Reference > Core > Telemetry [Abandonment Data](https://allianz.ferndocs.com/api-reference/core/telemetry/create-abandonment-tracks.md)
- API Reference > Core > Telemetry [Posts the specified options data.](https://allianz.ferndocs.com/api-reference/core/telemetry/create-client-options.md)
- API Reference > Core > Microsite Cache [Returns Microsite Cache for Distributor](https://allianz.ferndocs.com/api-reference/core/microsite-cache/get.md)
- API Reference > Purchases > Purchases [Submits a request to purchase insurance](https://allianz.ferndocs.com/api-reference/purchases/purchases/create.md)
## OpenAPI Specification
The raw OpenAPI 3.1 specification for this API is available at:
- [OpenAPI JSON](https://allianz.ferndocs.com/openapi.json)
- [OpenAPI YAML](https://allianz.ferndocs.com/openapi.yaml)