> ## Documentation Index
> Fetch the complete documentation index at: https://docs.travomatrix.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Get Insurance

Retrieve available travel insurance plans.


## OpenAPI

````yaml POST /flight/fare/insurance
openapi: 3.0.3
info:
  title: Travomatrix B2B Travel API
  version: 1.0.0
  description: >
    Travomatrix is a high-performance multi-vertical travel booking engine
    designed for B2B enterprises.


    ### Verticals Supported

    - **Flights**: Unified interface for global GDS and NDC providers.

    - **Hotels**: Coming Soon.

    - **Rail**: Coming Soon.

    - **Cabs**: Coming Soon.


    ### Key Security & Reliability Headers

    - **X-API-Key**: Your primary server-to-server API key.

    - **Idempotency-Key**: Required for financial operations. Prevents duplicate
    actions on retries.

    - **X-Request-ID**: Optional but recommended. Used for tracing requests
    through the Travomatrix infrastructure.
servers:
  - url: https://api.travomatrix.com/api/v1
    description: Production Environment
  - url: http://uat.travomatrix.com/api/v1
    description: UAT Environment
  - url: http://localhost:80/api/v1
    description: Localhost (Port 80)
  - url: http://localhost:8080/api/v1
    description: Localhost (Port 8080)
security: []
paths:
  /flight/fare/insurance:
    post:
      tags:
        - Flights - Ancillaries
      summary: Get Insurance Options
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/AncillaryRequest'
      responses:
        '200':
          description: Available insurance options with pricing.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/InsuranceResponse'
      security:
        - ApiKeyAuth: []
components:
  schemas:
    AncillaryRequest:
      type: object
      required:
        - search_id
        - signature
        - fare_token
        - provider
      properties:
        search_id:
          type: string
        signature:
          type: string
        fare_token:
          type: string
        provider:
          type: string
    InsuranceResponse:
      type: object
      properties:
        search_id:
          type: string
        signature:
          type: string
        provider:
          type: string
        currency:
          type: string
        options:
          type: array
          items:
            $ref: '#/components/schemas/InsuranceOption'
        passenger_ancillaries:
          type: array
          items:
            $ref: '#/components/schemas/PassengerAncillaries'
    InsuranceOption:
      type: object
      properties:
        ancillary_id:
          type: string
        ancillary_token:
          type: string
        code:
          type: string
        name:
          type: string
        plan_type:
          type: string
          example: PLATINUM
        price_paise:
          type: integer
    PassengerAncillaries:
      type: object
      properties:
        pax_id:
          type: string
          example: ADT1
        pax_type:
          type: string
          enum:
            - ADT
            - CHD
            - INF
        ancillary_tokens:
          type: array
          items:
            type: string
  securitySchemes:
    ApiKeyAuth:
      type: apiKey
      in: header
      name: X-API-Key

````