Policy
Get policy by policyCode and email
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}
Path parameters
policyCodestring required
The policy code
{"stackTrail":"paths:/v1/policy/code/{policyCode}/email/{email}:get:parameters:2:schema","oasType":"schema","type":"unknown"}
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"
}
]
}
]
}