Policy

Get policy by policyCode and email

Changed on

Returns a purchased policy if exists. In case the policy was reissued due to a change in the policy, the new policy will be returned as well as its history and any additional traveler information

get/v1/policy/code/{policyCode}/email/{email}

Request

Path parameters

policyCodestring required

The policy code

emailunknown

Deprecated legacy path parameter. The value is ignored - it can be omitted or set to any value.

Headers

Authorizationstring

Bearer token

Response

Policy found.

Example response

{
  "policy": {
    "destination": [
      {
        "country": "US",
        "googlePlaceId": "ChIJYYOWXuckZUcRZdTiJR5FQOc",
        "state": "CA"
      }
    ]
  },
  "relatedPolicies": [
    {
      "destination": [
        {
          "country": "US",
          "googlePlaceId": "ChIJYYOWXuckZUcRZdTiJR5FQOc",
          "state": "CA"
        }
      ]
    }
  ]
}

Changes

    • breaking

      added the new path request parameter email

    • warning

      deleted the query request parameter email

    • warning

      deleted the path request parameter email

    • info

      added the new optional header request parameter Authorization

    • info

      added the new optional query request parameter email