Requests quotes and opens an embeddable session on them in one call, and returns a URL to put in an iframe or a WebView. Takes everything Request Quotes takes, plus where the session will run.
The customer compares quotes, chooses add-ons, gives a payout account, uploads vehicle photos and verifies by OTP inside the embed. The issued policy and its payment link are handed back to your page or your app.
To show the quotes again after the hour is up, call this again with the same payload. The quote OTP stays valid for hours, so the customer is not asked to verify twice.
Register the sites and app links a session may be opened for in API Management first.
The OTP received by the customer from the Request OTP API
Pattern: ^\d{4}$
Example:
"1234"
owner_id
string
required
The buyer's ID, 10 digits. For a person: a national ID (starts with 1 for Saudi nationals) or an Iqama ID (starts with 2 for residents). For a company (SME Motor): its Commercial Registration number (starts with 7), together with authorized_person_id and drivers.
Pattern: ^(1|2|7)\d{9}$
email
string<email>
required
Email address must be valid and belongs to the customer
phone
string
required
Phone number must start with 05 and be 10 digits
Pattern: ^05\d{8}$
car_estimated_cost
number
required
Estimated cost of the car
platform
enum<string>
required
Where the session will run. web for an iframe, webview for a mobile app. There is no default: each one requires a different field below.
Available options:
web,
webview
authorized_person_id
string
Company buyer only (owner_id starts with 7), and required then: the national ID or Iqama ID of the person authorized to act for the company, who verifies by OTP and signs. Not accepted for an individual buyer.
Pattern: ^(1|2)\d{9}$
Example:
"1012345678"
birthdate
string<date>
Individual buyer only, and required then: the owner's birthdate in YYYY-MM-DD format. For a Saudi national ID (starts with 1) give the Hijri (Umm al-Qura) date printed on the ID, for example 1409-09-14; for an Iqama ID (starts with 2) give a Gregorian date. The owner must be between 18 and 110 years old. A company buyer (owner_id starts with 7) has no birthdate: each of its drivers carries their own, and one sent for a company is ignored.
car_sequence_number
string
Car sequence number must be 5 to 10 digits
Pattern: ^\d{8,9}$
custom_number
string
Customs card number between 100000 and 9999999999 for an imported vehicle. When provided, maker_code, model_code, and body_type_code are required, and car_sequence_number must be omitted.
Pattern: ^[1-9]\d{5,9}$
maker_code
integer
Required with custom_number. Use a code returned by GET /vehicle-makers.
Example:
101
model_code
integer
Required with custom_number. Use a code returned by GET /vehicle-models for the selected maker_code.
Example:
1001
body_type_code
integer
Required with custom_number. Use a code returned by GET /vehicle-body-types.
Example:
3
is_ownership_transfer
boolean
default:false
Indicates if the ownership is being transferred
current_car_owner_id
string
Required if is_ownership_transfer is true; the current owner's national ID (starts with 1) or Iqama ID (starts with 2). Must be exactly 10 digits.
Pattern: ^(1|2)\d{9}$
car_model_year
integer
Car model year between 1950 and next year
Required range: 1950 <= x <= 2026
start_date
string<date>
Desired policy start date in YYYY-MM-DD. Must be between tomorrow and 28 days from today (inclusive). The platform validates this range server-side.
Example:
"2025-12-11"
drivers
object[]
List of drivers for the vehicle, up to four. Optional for an individual buyer: when provided, the owner must be among the drivers with at least 25%; when omitted, the owner is the sole driver at 100%. Required for a company buyer (owner_id starts with 7), with at least one driver: a company cannot drive, and its authorized person is not assumed to drive, so list exactly who does. In both cases the driving_percentage values must add up to 100.
Hide child attributes
drivers.owner_id
string
required
Driver's national ID (starts with 1 for Saudi nationals) or Iqama ID (starts with 2 for residents). Must be exactly 10 digits.
Pattern: ^(1|2)\d{9}$
drivers.birthdate
string<date>
required
Driver's birthdate in YYYY-MM-DD format. The calendar follows this driver's own ID, not the owner's: for a national ID (starts with 1) give the Hijri (Umm al-Qura) date printed on the ID, for example 1410-06-18; for an Iqama ID (starts with 2) give a Gregorian date. A Gregorian year sent for a Saudi ID is rejected as a date in the future.
drivers.driving_percentage
enum<integer>
required
Percentage of driving for this driver. Valid values are 25, 50, 75, or 100. The sum of all drivers' percentages must equal 100.
Web only, and required there. The site the iframe will sit on: scheme and domain with nothing after it. Must be one of the iframe hosts registered in API Management. Prohibited for a webview, which has no origin.
Example:
"https://www.example.com"
deep_link
string
WebView only, and required there. Where your app is reopened once the policy is issued, with ?yasmina_policy_id= added. Must be one of the deep links registered in API Management. Prohibited for the web, which is handed the policy by postMessage instead.
Example:
"myapp://insurance/done"
redirect_url
string
Optional. Where the customer gets redirected once a successful purchase is made. Include policyID in a query string and it is replaced with the policy's id. Must be on one of your iframe hosts, or one of your deep links for a WebView. Left out, the customer is redirected to the Yasmina confirmation page.
{"docsConfig":{"theme":"linden","$schema":"https://mintlify.com/docs.json","name":"Yasmina embedded insurance","colors":{"primary":"#16A34A","light":"#07C983","dark":"#15803D"},"logo":{"light":"https://mintcdn.com/yasmina/gYT_wrUNH6DJHRcX/logo/light.svg?fit=max\u0026auto=format\u0026n=gYT_wrUNH6DJHRcX\u0026q=85\u0026s=8f104780e9e2be0f5ed858abf5daf565","dark":"https://mintcdn.com/yasmina/gYT_wrUNH6DJHRcX/logo/dark.svg?fit=max\u0026auto=format\u0026n=gYT_wrUNH6DJHRcX\u0026q=85\u0026s=4b99116ce5278adfe03cc2508a4ead66"},"favicon":"https://mintcdn.com/yasmina/gYT_wrUNH6DJHRcX/favicon.svg?fit=max\u0026auto=format\u0026n=gYT_wrUNH6DJHRcX\u0026q=85\u0026s=011065c671b0598099e2297a50ad5260","api":{"params":{"expanded":"all"},"playground":{"display":"interactive","proxy":false},"examples":{"defaults":"required"}},"background":{"color":{"light":"#FFF","dark":"#000"}},"navbar":{"primary":{"type":"button","label":"Portal","href":"https://portal.yasmina.ai"}},"fonts":{"family":"Inter, sans-serif"},"styling":{"eyebrows":"breadcrumbs","latex":false},"integrations":{"amplitude":{"apiKey":"3fd7f32ecb0ff851ba9ea3b6670cd855"},"intercom":{"appId":"yu8wo042"}},"contextual":{"options":["mcp"],"display":"header"},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"yasmina","hasAudioNarration":false,"actualSubdomain":"yasmina","customDomains":["docs.yasmina.ai"],"gitSource":{"type":"github","owner":"yasminaai","repo":"docs","deployBranch":"main","contentDirectory":"","isPrivate":false,"mountPath":"","label":""},"entitlements":{},"buildId":"6b0d7f71578844d44bfd0b09","clientVersion":"0.0.4416","searchFilterCounts":[{"language":"default","tag":"API Reference","count":76},{"language":"default","tag":"Policies","count":28},{"language":"default","tag":"Guide","count":22},{"language":"default","tag":"SME Medical APIs","count":21},{"language":"default","tag":"Motor Insurance APIs (Multiple Providers)","count":17},{"language":"default","tag":"Cargo Insurance APIs","count":12},{"language":"default","tag":"Insurance Integration Guides","count":10},{"language":"default","tag":"SDKs","count":10},{"language":"default","tag":"Front-End SDKs","count":10},{"language":"default","tag":"Quotes","count":10}]},"assistantConfig":{},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[],"starterQuestions":[],"googleFontsInlined":false},"customCss":[{"filePath":"style.css","content":".nav-logo{height:40px}#pagination{display:none!important}.ai-note{display:flex;align-items:flex-start;gap:0.65rem;margin:1rem 0 1.5rem;padding:0.9rem 1rem;border:1px solid #93c5fd;border-radius:0.75rem;background-color:#eff6ff;color:#1e40af}.ai-note svg{flex-shrink:0;margin-top:0.2rem}.ai-note p{margin:0;color:inherit}.ai-note a{color:inherit;font-weight:600;text-decoration:underline}.dark .ai-note{border-color:#1e40af;background-color:rgba(30, 58, 138, 0.25);color:#93c5fd}"}]}
{"page":{"pagePath":"car-api-reference/embed-sessions/create-embed-session","slug":"/car-api-reference/embed-sessions/create-embed-session","pageMetadata":{"title":"Create embed session","description":"Requests quotes and opens an embeddable session on them in one call, and returns a URL to put in an iframe or a WebView. Takes everything Request Quotes takes, plus where the session will run.\n\nThe customer compares quotes, chooses add-ons, gives a payout account, uploads vehicle photos and verifies by OTP inside the embed. The issued policy and its payment link are handed back to your page or your app.\n\nTo show the quotes again after the hour is up, call this again with the same payload. The quote OTP stays valid for hours, so the customer is not asked to verify twice.\n\nRegister the sites and app links a session may be opened for in API Management first.","deprecated":null,"version":null,"openapi":"/car-api-reference/openapi.json post /embed-sessions","href":"/car-api-reference/embed-sessions/create-embed-session","autogeneratedByOpenApi":true},"description":{"compiledSource":"\"use strict\";\nconst {Fragment: _Fragment, jsx: _jsx, jsxs: _jsxs} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsxs(_Fragment, {\n children: [_jsx(_components.p, {\n children: \"Requests quotes and opens an embeddable session on them in one call, and returns a URL to put in an iframe or a WebView. Takes everything Request Quotes takes, plus where the session will run.\"\n }), \"\\n\", _jsx(_components.p, {\n children: \"The customer compares quotes, chooses add-ons, gives a payout account, uploads vehicle photos and verifies by OTP inside the embed. The issued policy and its payment link are handed back to your page or your app.\"\n }), \"\\n\", _jsx(_components.p, {\n children: \"To show the quotes again after the hour is up, call this again with the same payload. The quote OTP stays valid for hours, so the customer is not asked to verify twice.\"\n }), \"\\n\", _jsx(_components.p, {\n children: \"Register the sites and app links a session may be opened for in API Management first.\"\n })]\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){return _jsx(_Fragment,{})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Create embed session","description":"Requests quotes and opens an embeddable session on them in one call, and returns a URL to put in an iframe or a WebView. Takes everything Request Quotes takes, plus where the session will run.\n\nThe customer compares quotes, chooses add-ons, gives a payout account, uploads vehicle photos and verifies by OTP inside the embed. The issued policy and its payment link are handed back to your page or your app.\n\nTo show the quotes again after the hour is up, call this again with the same payload. The quote OTP stays valid for hours, so the customer is not asked to verify twice.\n\nRegister the sites and app links a session may be opened for in API Management first.","deprecated":null,"version":null,"openapi":"/car-api-reference/openapi.json post /embed-sessions","href":"/car-api-reference/embed-sessions/create-embed-session","autogeneratedByOpenApi":true}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":["/_mintlify/custom/yasmina/ccacd844f457d935/script.js"],"openApiReferenceData":{"operation":{"tags":["Embed sessions"],"summary":"Create embed session","description":"Requests quotes and opens an embeddable session on them in one call, and returns a URL to put in an iframe or a WebView. Takes everything Request Quotes takes, plus where the session will run.\n\nThe customer compares quotes, chooses add-ons, gives a payout account, uploads vehicle photos and verifies by OTP inside the embed. The issued policy and its payment link are handed back to your page or your app.\n\nTo show the quotes again after the hour is up, call this again with the same payload. The quote OTP stays valid for hours, so the customer is not asked to verify twice.\n\nRegister the sites and app links a session may be opened for in API Management first.","requestBody":"a55a98fb-667d-46ac-aea5-ac6d1e59291a","responses":{"201":"866a1f6b-119e-4150-bf53-57641e63d18c","401":"3620d5b1-e951-411c-9f35-961714c27ded","422":"c35cc477-cc32-4f70-94d9-05a5f20e1974"},"method":"post","type":"path","servers":["b9756d0c-6f2c-4f1d-9f98-3f15d5941cd6","d0d72caf-40ea-4357-a00c-68ab19b85771"],"security":["fe0bf120-eb9b-43a1-ae47-a739aaaadee1"],"path":"/embed-sessions","baseUrlOptions":["https://sandbox.yasmina.ai/api/v1/car-comp","https://production.yasmina.ai/api/v1/car-comp"],"title":"Create embed session","codeSamples":[],"requiredOnlyExamples":true,"requestExampleType":"generated","responseExampleType":"generated","disableProxy":true},"dependencies":{"parameters":{},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["otp","owner_id","email","phone","car_estimated_cost","platform"],"properties":{"otp":{"type":"string","pattern":"^\\d{4}$","description":"The OTP received by the customer from the Request OTP API","example":"1234","isRequired":true,"uniqueKey":"otp","typeLabel":"string"},"owner_id":{"type":"string","pattern":"^(1|2|7)\\d{9}$","description":"The buyer's ID, 10 digits. For a person: a national ID (starts with 1 for Saudi nationals) or an Iqama ID (starts with 2 for residents). For a company (SME Motor): its Commercial Registration number (starts with 7), together with authorized_person_id and drivers.","isRequired":true,"uniqueKey":"owner_id","typeLabel":"string"},"email":{"type":"string","format":"email","description":"Email address must be valid and belongs to the customer","isRequired":true,"uniqueKey":"email","typeLabel":"string\u003cemail>"},"phone":{"type":"string","pattern":"^05\\d{8}$","description":"Phone number must start with 05 and be 10 digits","isRequired":true,"uniqueKey":"phone","typeLabel":"string"},"car_estimated_cost":{"type":"number","description":"Estimated cost of the car","isRequired":true,"uniqueKey":"car_estimated_cost","typeLabel":"number"},"platform":{"type":"string","enum":["web","webview"],"description":"Where the session will run. `web` for an iframe, `webview` for a mobile app. There is no default: each one requires a different field below.","isRequired":true,"uniqueKey":"platform","typeLabel":"enum\u003cstring>"},"authorized_person_id":{"type":"string","pattern":"^(1|2)\\d{9}$","example":"1012345678","description":"Company buyer only (owner_id starts with 7), and required then: the national ID or Iqama ID of the person authorized to act for the company, who verifies by OTP and signs. Not accepted for an individual buyer.","uniqueKey":"authorized_person_id","typeLabel":"string"},"birthdate":{"type":"string","format":"date","description":"Individual buyer only, and required then: the owner's birthdate in YYYY-MM-DD format. For a Saudi national ID (starts with 1) give the Hijri (Umm al-Qura) date printed on the ID, for example 1409-09-14; for an Iqama ID (starts with 2) give a Gregorian date. The owner must be between 18 and 110 years old. A company buyer (owner_id starts with 7) has no birthdate: each of its drivers carries their own, and one sent for a company is ignored.","uniqueKey":"birthdate","typeLabel":"string\u003cdate>"},"car_sequence_number":{"type":"string","pattern":"^\\d{8,9}$","description":"Car sequence number must be 5 to 10 digits","uniqueKey":"car_sequence_number","typeLabel":"string"},"custom_number":{"type":"string","pattern":"^[1-9]\\d{5,9}$","description":"Customs card number between 100000 and 9999999999 for an imported vehicle. When provided, maker_code, model_code, and body_type_code are required, and car_sequence_number must be omitted.","uniqueKey":"custom_number","typeLabel":"string"},"maker_code":{"type":"integer","description":"Required with custom_number. Use a code returned by GET /vehicle-makers.","example":101,"uniqueKey":"maker_code","typeLabel":"integer"},"model_code":{"type":"integer","description":"Required with custom_number. Use a code returned by GET /vehicle-models for the selected maker_code.","example":1001,"uniqueKey":"model_code","typeLabel":"integer"},"body_type_code":{"type":"integer","description":"Required with custom_number. Use a code returned by GET /vehicle-body-types.","example":3,"uniqueKey":"body_type_code","typeLabel":"integer"},"is_ownership_transfer":{"type":"boolean","default":false,"description":"Indicates if the ownership is being transferred","uniqueKey":"is_ownership_transfer","typeLabel":"boolean"},"current_car_owner_id":{"type":"string","pattern":"^(1|2)\\d{9}$","description":"Required if is_ownership_transfer is true; the current owner's national ID (starts with 1) or Iqama ID (starts with 2). Must be exactly 10 digits.","uniqueKey":"current_car_owner_id","typeLabel":"string"},"car_model_year":{"type":"integer","minimum":1950,"maximum":2026,"description":"Car model year between 1950 and next year","uniqueKey":"car_model_year","typeLabel":"integer"},"start_date":{"type":"string","format":"date","description":"Desired policy start date in YYYY-MM-DD. Must be between tomorrow and 28 days from today (inclusive). The platform validates this range server-side.","example":"2025-12-11","uniqueKey":"start_date","typeLabel":"string\u003cdate>"},"drivers":{"type":"array","description":"List of drivers for the vehicle, up to four. Optional for an individual buyer: when provided, the owner must be among the drivers with at least 25%; when omitted, the owner is the sole driver at 100%. Required for a company buyer (owner_id starts with 7), with at least one driver: a company cannot drive, and its authorized person is not assumed to drive, so list exactly who does. In both cases the driving_percentage values must add up to 100.","items":{"type":"object","required":["owner_id","birthdate","driving_percentage"],"properties":{"owner_id":{"type":"string","pattern":"^(1|2)\\d{9}$","description":"Driver's national ID (starts with 1 for Saudi nationals) or Iqama ID (starts with 2 for residents). Must be exactly 10 digits.","isRequired":true,"uniqueKey":"drivers.items.[INDEX].owner_id","typeLabel":"string"},"birthdate":{"type":"string","format":"date","description":"Driver's birthdate in YYYY-MM-DD format. The calendar follows this driver's own ID, not the owner's: for a national ID (starts with 1) give the Hijri (Umm al-Qura) date printed on the ID, for example 1410-06-18; for an Iqama ID (starts with 2) give a Gregorian date. A Gregorian year sent for a Saudi ID is rejected as a date in the future.","isRequired":true,"uniqueKey":"drivers.items.[INDEX].birthdate","typeLabel":"string\u003cdate>"},"driving_percentage":{"type":"integer","enum":[25,50,75,100],"description":"Percentage of driving for this driver. Valid values are 25, 50, 75, or 100. The sum of all drivers' percentages must equal 100.","isRequired":true,"uniqueKey":"drivers.items.[INDEX].driving_percentage","typeLabel":"enum\u003cinteger>"}},"uniqueKey":"drivers.items.[INDEX]","typeLabel":"object"},"example":[{"owner_id":"1234567890","birthdate":"1410-06-18","driving_percentage":50},{"owner_id":"2345678901","birthdate":"1985-06-20","driving_percentage":50}],"uniqueKey":"drivers","typeLabel":"object[]"},"parent_origin":{"type":"string","description":"Web only, and required there. The site the iframe will sit on: scheme and domain with nothing after it. Must be one of the iframe hosts registered in API Management. Prohibited for a webview, which has no origin.","example":"https://www.example.com","uniqueKey":"parent_origin","typeLabel":"string"},"deep_link":{"type":"string","description":"WebView only, and required there. Where your app is reopened once the policy is issued, with `?yasmina_policy_id=` added. Must be one of the deep links registered in API Management. Prohibited for the web, which is handed the policy by postMessage instead.","example":"myapp://insurance/done","uniqueKey":"deep_link","typeLabel":"string"},"redirect_url":{"type":"string","description":"Optional. Where the customer gets redirected once a successful purchase is made. Include policyID in a query string and it is replaced with the policy's id. Must be on one of your iframe hosts, or one of your deep links for a WebView. Left out, the customer is redirected to the Yasmina confirmation page.","example":"https://www.example.com?yasmina_policy_id=policyID","uniqueKey":"redirect_url","typeLabel":"string"},"locale":{"type":"string","enum":["ar","en"],"description":"The language the embed opens in. Defaults to the customer's browser.","uniqueKey":"locale","typeLabel":"enum\u003cstring>"}},"uniqueKey":"","typeLabel":"object"},"examples":{"company":{"title":"company","summary":"Company buyer (SME Motor)","value":{"otp":"1234","owner_id":"7001234567","authorized_person_id":"1012345678","email":"[email protected]","phone":"0500000000","car_sequence_number":"123456789","is_ownership_transfer":false,"car_estimated_cost":45000,"car_model_year":2024,"drivers":[{"owner_id":"2345678901","birthdate":"1990-03-15","driving_percentage":100}],"platform":"web","parent_origin":"https://www.example.com"}}},"exampleType":"examples"}},"exampleType":"examples"},"responses":{"866a1f6b-119e-4150-bf53-57641e63d18c":{"description":"The session, with the URL to embed","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"integer","description":"The session id, for reading it back later.","example":1,"uniqueKey":"id","typeLabel":"integer"},"quote_request_id":{"type":"integer","description":"The quote request the embed was opened on. Yours to keep; you never send it back.","example":42,"uniqueKey":"quote_request_id","typeLabel":"integer"},"platform":{"type":"string","enum":["web","webview"],"description":"What the session was opened for.","uniqueKey":"platform","typeLabel":"enum\u003cstring>"},"embed_url":{"type":"string","description":"Put this in an iframe or a WebView. Belongs to one customer and expires after an hour.","example":"https://.../embed?session=8TJLiR0YhE8ikWSH3N16br2Q4qDg0ozGu18c5c3E","uniqueKey":"embed_url","typeLabel":"string"},"expires_at":{"type":"string","format":"date-time","description":"When the URL stops working.","uniqueKey":"expires_at","typeLabel":"string\u003cdate-time>"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"id":1,"quote_request_id":42,"platform":"web","embed_url":"https://.../embed?session=8TJLiR0YhE8ikWSH3N16br2Q4qDg0ozGu18c5c3E","expires_at":"2023-11-07T05:31:56Z"}}},"exampleType":"generated"}},"exampleType":"generated"},"3620d5b1-e951-411c-9f35-961714c27ded":{"description":"Unauthorized","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","example":"40101","uniqueKey":"code","typeLabel":"string"},"message":{"type":"string","example":"Unauthenticated","uniqueKey":"message","typeLabel":"string"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"code":"40101","message":"Unauthenticated"}}},"exampleType":"generated"}},"exampleType":"generated"},"c35cc477-cc32-4f70-94d9-05a5f20e1974":{"description":"Unprocessable Entity","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","uniqueKey":"code","typeLabel":"string"},"message":{"type":"string","uniqueKey":"message","typeLabel":"string"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"code":"\u003cstring>","message":"\u003cstring>"}}},"exampleType":"generated"}},"exampleType":"generated"}},"security":{"fe0bf120-eb9b-43a1-ae47-a739aaaadee1":{"Oauth2":{"description":"JWT Authorization header using the Bearer scheme","type":"oauth2","flows":{"clientCredentials":{"tokenUrl":"/oauth/token","scopes":{}}},"scopes":[],"schemeName":"Oauth2"}}},"servers":{"b9756d0c-6f2c-4f1d-9f98-3f15d5941cd6":{"x-fern-server-name":"Sandbox","url":"https://sandbox.yasmina.ai/api/v1/car-comp"},"d0d72caf-40ea-4357-a00c-68ab19b85771":{"x-fern-server-name":"Production","url":"https://production.yasmina.ai/api/v1/car-comp"}},"processedSecurityOptions":[{"schemes":[{"scheme":{"description":"JWT Authorization header using the Bearer scheme","type":"oauth2","flows":{"clientCredentials":{"tokenUrl":"/oauth/token","scopes":{}}},"scopes":[],"schemeName":"Oauth2"},"schema":{"title":"OAuth2 Auth","type":"string","isRequired":true,"description":"JWT Authorization header using the Bearer scheme","format":"bearer","typeLabel":"string\u003cbearer>","deprecated":false},"schemeName":"Oauth2","name":"Authorization"}],"title":"Oauth2"}]},"originalFileLocation":"car-api-reference/openapi.json"},"subdomain":"yasmina","siteName":"Yasmina embedded insurance","title":"Create embed session - Yasmina embedded insurance","contextualStarterQuestions":[],"navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-11-08T12:20:56.939Z","originalFileLocation":"car-api-reference/embed-sessions/create-embed-session.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Requests quotes and opens an embeddable session on them in one call, and returns a URL to put in an iframe or a WebView. Takes everything Request Quotes takes, plus where the session will run. The customer compares quotes, chooses add-ons, gives a payout account, uploads vehicle photos and verifies by OTP inside the embed. The issued policy and its payment link are handed back to your page or your app. To show the quotes again after the hour is up, call this again with the same payload. The quote OTP stays valid for hours, so the customer is not asked to verify twice. Register the sites and app links a session may be opened for in API Management first.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Yasmina embedded insurance\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/yasmina/Flkq5q_nHTtKlHnv/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/yasmina/Flkq5q_nHTtKlHnv/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/yasmina/Flkq5q_nHTtKlHnv/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/yasmina/Flkq5q_nHTtKlHnv/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/yasmina/Flkq5q_nHTtKlHnv/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/yasmina/Flkq5q_nHTtKlHnv/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/yasmina/Flkq5q_nHTtKlHnv/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/yasmina/Flkq5q_nHTtKlHnv/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/yasmina/Flkq5q_nHTtKlHnv/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Create embed session - Yasmina embedded insurance\">\u003cmeta data-mint-head property=\"og:description\" content=\"Requests quotes and opens an embeddable session on them in one call, and returns a URL to put in an iframe or a WebView. Takes everything Request Quotes takes, plus where the session will run. The customer compares quotes, chooses add-ons, gives a payout account, uploads vehicle photos and verifies by OTP inside the embed. The issued policy and its payment link are handed back to your page or your app. To show the quotes again after the hour is up, call this again with the same payload. The quote OTP stays valid for hours, so the customer is not asked to verify twice. Register the sites and app links a session may be opened for in API Management first.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Yasmina embedded insurance\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.yasmina.ai/car-api-reference/embed-sessions/create-embed-session\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://yasmina.mintlify.site/_mintlify/api/og/v2?division=Embed+sessions\u0026amp;title=Create+embed+session\u0026amp;description=Requests+quotes+and+opens+an+embeddable+session+on+them+in+one+call%2C+and+returns+a+URL+to+put+in+an+iframe+or+a+WebView.+Takes+everything+Request+Quotes+takes%2C+\u0026amp;theme=1cc1a06a619a5807e2553927\u0026amp;signature=3017da01625177acf1ad254851d49c1baeaa458cfcf9ea5dc5be167006c21215\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Create embed session - Yasmina embedded insurance\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Requests quotes and opens an embeddable session on them in one call, and returns a URL to put in an iframe or a WebView. Takes everything Request Quotes takes, plus where the session will run. The customer compares quotes, chooses add-ons, gives a payout account, uploads vehicle photos and verifies by OTP inside the embed. The issued policy and its payment link are handed back to your page or your app. To show the quotes again after the hour is up, call this again with the same payload. The quote OTP stays valid for hours, so the customer is not asked to verify twice. Register the sites and app links a session may be opened for in API Management first.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://yasmina.mintlify.site/_mintlify/api/og/v2?division=Embed+sessions\u0026amp;title=Create+embed+session\u0026amp;description=Requests+quotes+and+opens+an+embeddable+session+on+them+in+one+call%2C+and+returns+a+URL+to+put+in+an+iframe+or+a+WebView.+Takes+everything+Request+Quotes+takes%2C+\u0026amp;theme=1cc1a06a619a5807e2553927\u0026amp;signature=3017da01625177acf1ad254851d49c1baeaa458cfcf9ea5dc5be167006c21215\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/yasmina/Flkq5q_nHTtKlHnv/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Yasmina embedded insurance\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#16A34A\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.yasmina.ai/car-api-reference/embed-sessions/create-embed-session\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/car-api-reference/embed-sessions/create-embed-session.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.yasmina.ai/#organization\",\"name\":\"Yasmina embedded insurance\",\"url\":\"https://docs.yasmina.ai\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/yasmina/gYT_wrUNH6DJHRcX/logo/light.svg?fit=max\u0026auto=format\u0026n=gYT_wrUNH6DJHRcX\u0026q=85\u0026s=8f104780e9e2be0f5ed858abf5daf565\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.yasmina.ai#website\",\"name\":\"Yasmina embedded insurance\",\"url\":\"https://docs.yasmina.ai\",\"publisher\":{\"@id\":\"https://docs.yasmina.ai/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.yasmina.ai/car-api-reference/embed-sessions/create-embed-session#webpage\",\"url\":\"https://docs.yasmina.ai/car-api-reference/embed-sessions/create-embed-session\",\"name\":\"Create embed session\",\"description\":\"Requests quotes and opens an embeddable session on them in one call, and returns a URL to put in an iframe or a WebView. Takes everything Request Quotes takes, plus where the session will run. The customer compares quotes, chooses add-ons, gives a payout account, uploads vehicle photos and verifies by OTP inside the embed. The issued policy and its payment link are handed back to your page or your app. To show the quotes again after the hour is up, call this again with the same payload. The quote OTP stays valid for hours, so the customer is not asked to verify twice. Register the sites and app links a session may be opened for in API Management first.\",\"dateModified\":\"2026-11-08T12:20:56.939Z\",\"isPartOf\":{\"@id\":\"https://docs.yasmina.ai#website\"},\"breadcrumb\":{\"@id\":\"https://docs.yasmina.ai/car-api-reference/embed-sessions/create-embed-session#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.yasmina.ai/car-api-reference/embed-sessions/create-embed-session#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Motor Insurance APIs (Multiple Providers)\",\"item\":\"https://docs.yasmina.ai/car-api-reference/vehicle-lookups/list-vehicle-makers\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Create embed session\",\"item\":\"https://docs.yasmina.ai/car-api-reference/embed-sessions/create-embed-session\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.yasmina.ai/car-api-reference/embed-sessions/create-embed-session#apireference\",\"headline\":\"Create embed session\",\"name\":\"Create embed session\",\"description\":\"Requests quotes and opens an embeddable session on them in one call, and returns a URL to put in an iframe or a WebView. Takes everything Request Quotes takes, plus where the session will run. The customer compares quotes, chooses add-ons, gives a payout account, uploads vehicle photos and verifies by OTP inside the embed. The issued policy and its payment link are handed back to your page or your app. To show the quotes again after the hour is up, call this again with the same payload. The quote OTP stays valid for hours, so the customer is not asked to verify twice. Register the sites and app links a session may be opened for in API Management first.\",\"url\":\"https://docs.yasmina.ai/car-api-reference/embed-sessions/create-embed-session\",\"mainEntityOfPage\":{\"@id\":\"https://docs.yasmina.ai/car-api-reference/embed-sessions/create-embed-session#webpage\"},\"dateModified\":\"2026-11-08T12:20:56.939Z\",\"publisher\":{\"@id\":\"https://docs.yasmina.ai/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.yasmina.ai#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Yasmina embedded insurance\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"Yasmina embedded insurance\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/car-api-reference/embed-sessions/create-embed-session.md","siteName":"Yasmina embedded insurance","nav":{"global":null,"tabs":[{"tab":"Guide","icon":"book","pages":[{"title":"Guide","href":"/introduction"}]},{"tab":"API Reference","icon":"file-code","groups":[{"group":"Authentication","pages":[{"group":"Oauth 2.0","pages":[{"title":"Generate Token","deprecated":null,"version":null,"openapi":"/auth-api-reference/openapi.json post /oauth/token","href":"/auth-api-reference/oauth-20/generate-token"}]}]},{"group":"SME Medical APIs","pages":[{"group":"Company","pages":[{"title":"List companies","deprecated":null,"version":null,"openapi":"/medical-api-reference/openapi.json get /companies","href":"/medical-api-reference/company/list-companies"},{"title":"Create company","deprecated":null,"version":null,"openapi":"/medical-api-reference/openapi.json post /companies","href":"/medical-api-reference/company/create-company"},{"title":"Update company","deprecated":null,"version":null,"openapi":"/medical-api-reference/openapi.json put /companies/{companyId}","href":"/medical-api-reference/company/update-company"},{"title":"Cancel policy","deprecated":null,"version":null,"openapi":"/medical-api-reference/openapi.json post /companies/{companyId}/policy-cancellation","href":"/medical-api-reference/company/cancel-policy"}]},{"group":"Employees","pages":[{"title":"List the employees","deprecated":null,"version":null,"openapi":"/medical-api-reference/openapi.json get /companies/{companyId}/employees","href":"/medical-api-reference/employees/list-the-employees"},{"title":"Save the employees","deprecated":null,"version":null,"openapi":"/medical-api-reference/openapi.json put /companies/{companyId}/employees","href":"/medical-api-reference/employees/save-the-employees"},{"title":"Fetch the employees","deprecated":null,"version":null,"openapi":"/medical-api-reference/openapi.json post /companies/{companyId}/employees/fetch","href":"/medical-api-reference/employees/fetch-the-employees"}]},{"group":"Medical Forms","pages":[{"title":"Submit the declarations","deprecated":null,"version":null,"openapi":"/medical-api-reference/openapi.json put /companies/{companyId}/declarations","href":"/medical-api-reference/medical-forms/submit-the-declarations"},{"title":"Download the declaration form","deprecated":null,"version":null,"openapi":"/medical-api-reference/openapi.json get /medical-forms/download","href":"/medical-api-reference/medical-forms/download-the-declaration-form"},{"title":"Get the Medical form questions","deprecated":null,"version":null,"openapi":"/medical-api-reference/openapi.json get /medical-forms","href":"/medical-api-reference/medical-forms/get-the-medical-form-questions"},{"title":"Get the terms and consent","deprecated":null,"version":null,"openapi":"/medical-api-reference/openapi.json get /texts","href":"/medical-api-reference/medical-forms/get-the-terms-and-consent"}]},{"group":"Quotes","pages":[{"title":"Send a verification code","deprecated":null,"version":null,"openapi":"/medical-api-reference/openapi.json post /quote-otp","href":"/medical-api-reference/quotes/send-a-verification-code"},{"title":"Get prices from every provider","deprecated":null,"version":null,"openapi":"/medical-api-reference/openapi.json post /quote-requests","href":"/medical-api-reference/quotes/get-prices-from-every-provider"},{"title":"Read a quote request","deprecated":null,"version":null,"openapi":"/medical-api-reference/openapi.json get /quote-requests/{quoteRequestId}","href":"/medical-api-reference/quotes/read-a-quote-request"}]},{"group":"Policies","pages":[{"title":"List policies","deprecated":null,"version":null,"openapi":"/medical-api-reference/openapi.json get /policies","href":"/medical-api-reference/policies/list-policies"},{"title":"Issue the policy","deprecated":null,"version":null,"openapi":"/medical-api-reference/openapi.json post /policies","href":"/medical-api-reference/policies/issue-the-policy"},{"title":"Read the policy","deprecated":null,"version":null,"openapi":"/medical-api-reference/openapi.json get /policies/{policyId}","href":"/medical-api-reference/policies/read-the-policy"},{"title":"Cancel a policy","deprecated":null,"version":null,"openapi":"/medical-api-reference/openapi.json post /policies/{policyId}/deletion","href":"/medical-api-reference/policies/cancel-a-policy"},{"title":"Add employees","deprecated":null,"version":null,"openapi":"/medical-api-reference/openapi.json post /policies/{policyId}/additions","href":"/medical-api-reference/policies/add-employees"}]},{"group":"Products","pages":[{"title":"List a network's facilities","deprecated":null,"version":null,"openapi":"/medical-api-reference/openapi.json get /products/networks","href":"/medical-api-reference/products/list-a-networks-facilities"},{"title":"List categories","deprecated":null,"version":null,"openapi":"/medical-api-reference/openapi.json get /products/categories","href":"/medical-api-reference/products/list-categories"}]}]},{"group":"Motor Insurance APIs (Multiple Providers)","pages":[{"group":"Vehicle lookups","pages":[{"title":"List vehicle makers","deprecated":null,"version":null,"openapi":"/car-api-reference/openapi.json get /vehicle-makers","href":"/car-api-reference/vehicle-lookups/list-vehicle-makers"},{"title":"List vehicle models","deprecated":null,"version":null,"openapi":"/car-api-reference/openapi.json get /vehicle-models","href":"/car-api-reference/vehicle-lookups/list-vehicle-models"},{"title":"List vehicle body types","deprecated":null,"version":null,"openapi":"/car-api-reference/openapi.json get /vehicle-body-types","href":"/car-api-reference/vehicle-lookups/list-vehicle-body-types"}]},{"group":"Quotes","pages":[{"title":"Show quote","deprecated":null,"version":null,"openapi":"/car-api-reference/openapi.json get /quote-requests/{id}","href":"/car-api-reference/quotes/show-quote"},{"title":"Delete quote","deprecated":null,"version":null,"openapi":"/car-api-reference/openapi.json delete /quote-requests/{id}","href":"/car-api-reference/quotes/delete-quote"},{"title":"List quotes","deprecated":null,"version":null,"openapi":"/car-api-reference/openapi.json get /quote-requests","href":"/car-api-reference/quotes/list-quotes"},{"title":"Request quotes","deprecated":null,"version":null,"openapi":"/car-api-reference/openapi.json post /quote-requests","href":"/car-api-reference/quotes/request-quotes"},{"title":"Guideline texts","deprecated":null,"version":null,"openapi":"/car-api-reference/openapi.json get /guideline-texts","href":"/car-api-reference/quotes/guideline-texts"},{"title":"Upload vehicle photos","description":"Uploads the five vehicle photos required for comprehensive cover and registers them with the insurance provider against the selected quote. Call it before requesting the payment OTP: the provider downloads and checks every image during this call, so a photo it cannot read is rejected while the customer can still retake it, rather than after they have paid. All five are required together — a partial set is rejected. The provider keeps the first set of photos it accepts for a vehicle, so a later upload for the same vehicle still returns 200 with `already_registered: true` and leaves the registered photos as they are. The quote_price_id must belong to a comprehensive quote. In the embedded flow, photos stored with Store vehicle photos for an embed session are registered by the embed itself; you do not call this endpoint.","deprecated":null,"version":null,"openapi":"/car-api-reference/openapi.json post /quote-requests/{id}/attachments","href":"/car-api-reference/quotes/upload-vehicle-photos"}]},{"group":"Embed sessions","pages":[{"title":"Create embed session","deprecated":null,"version":null,"openapi":"/car-api-reference/openapi.json post /embed-sessions","href":"/car-api-reference/embed-sessions/create-embed-session"},{"title":"Show embed session","description":"Returns a session you created earlier, including its URL and whether it has expired.","deprecated":null,"version":null,"openapi":"/car-api-reference/openapi.json get /embed-sessions/{id}","href":"/car-api-reference/embed-sessions/show-embed-session"},{"title":"Store vehicle photos for an embed session","deprecated":null,"version":null,"openapi":"/car-api-reference/openapi.json post /embed-sessions/{id}/photos","href":"/car-api-reference/embed-sessions/store-vehicle-photos-for-an-embed-session"}]},{"group":"Policies","pages":[{"title":"Show policy","deprecated":null,"version":null,"openapi":"/car-api-reference/openapi.json get /policies/{carPolicy}","href":"/car-api-reference/policies/show-policy"},{"title":"List policies","deprecated":null,"version":null,"openapi":"/car-api-reference/openapi.json get /policies","href":"/car-api-reference/policies/list-policies"},{"title":"Issue policy","deprecated":null,"version":null,"openapi":"/car-api-reference/openapi.json post /policies","href":"/car-api-reference/policies/issue-policy"}]},{"group":"OTPs","pages":[{"title":"Request OTP for quote verification","deprecated":null,"version":null,"openapi":"/car-api-reference/openapi.json post /quote-otp","href":"/car-api-reference/otps/request-otp-for-quote-verification"},{"title":"Request OTP for Issuing Policy","deprecated":null,"version":null,"openapi":"/car-api-reference/openapi.json post /issue-otp","href":"/car-api-reference/otps/request-otp-for-issuing-policy"}]}]},{"group":"Property Insurance APIs","pages":[{"group":"Prices","pages":[{"title":"List prices","deprecated":null,"version":null,"openapi":"/property-api-reference/openapi.json get /prices","href":"/property-api-reference/prices/list-prices"}]},{"group":"Policies","pages":[{"title":"Show policy","deprecated":null,"version":null,"openapi":"/property-api-reference/openapi.json get /policies/{propertyPolicy}","href":"/property-api-reference/policies/show-policy"},{"title":"List policies","deprecated":null,"version":null,"openapi":"/property-api-reference/openapi.json get /policies","href":"/property-api-reference/policies/list-policies"},{"title":"Issue policy","deprecated":null,"version":null,"openapi":"/property-api-reference/openapi.json post /policies","href":"/property-api-reference/policies/issue-policy"},{"title":"Cancellation status","deprecated":null,"version":null,"openapi":"/property-api-reference/openapi.json get /policies/{propertyPolicy}/cancellation-status","href":"/property-api-reference/policies/cancellation-status"},{"title":"Upload documents","deprecated":null,"version":null,"openapi":"/property-api-reference/openapi.json post /policies/{propertyPolicy}/documents","href":"/property-api-reference/policies/upload-documents"}]},{"group":"Claims","pages":[{"title":"Issue claim","deprecated":null,"version":null,"openapi":"/property-api-reference/openapi.json post /policies/{propertyPolicy}/claims","href":"/property-api-reference/claims/issue-claim"}]},{"group":"Addresses","pages":[{"title":"Get full address from short address code","deprecated":null,"version":null,"openapi":"/property-api-reference/openapi.json get /address-from-short","href":"/property-api-reference/addresses/get-full-address-from-short-address-code"}]}]},{"group":"Cargo Insurance APIs","pages":[{"group":"Options","pages":[{"title":"Get the options","deprecated":null,"version":null,"openapi":"/cargo-api-reference/openapi.json get /options","href":"/cargo-api-reference/options/get-the-options"}]},{"group":"Customers","pages":[{"title":"List customers","deprecated":null,"version":null,"openapi":"/cargo-api-reference/openapi.json get /customers","href":"/cargo-api-reference/customers/list-customers"},{"title":"Register a customer","deprecated":null,"version":null,"openapi":"/cargo-api-reference/openapi.json post /customers","href":"/cargo-api-reference/customers/register-a-customer"},{"title":"Read a customer","deprecated":null,"version":null,"openapi":"/cargo-api-reference/openapi.json get /customers/{customerId}","href":"/cargo-api-reference/customers/read-a-customer"}]},{"group":"Open cover","pages":[{"title":"Apply for open cover","deprecated":null,"version":null,"openapi":"/cargo-api-reference/openapi.json post /open-cover-applications","href":"/cargo-api-reference/open-cover/apply-for-open-cover"},{"title":"Read an open-cover application","deprecated":null,"version":null,"openapi":"/cargo-api-reference/openapi.json get /open-cover-applications/{applicationId}","href":"/cargo-api-reference/open-cover/read-an-open-cover-application"},{"title":"List declarations","deprecated":null,"version":null,"openapi":"/cargo-api-reference/openapi.json get /policies/{policyId}/declarations","href":"/cargo-api-reference/open-cover/list-declarations"},{"title":"Declare a shipment","deprecated":null,"version":null,"openapi":"/cargo-api-reference/openapi.json post /policies/{policyId}/declarations","href":"/cargo-api-reference/open-cover/declare-a-shipment"},{"title":"Read a declaration","deprecated":null,"version":null,"openapi":"/cargo-api-reference/openapi.json get /policies/{policyId}/declarations/{declarationId}","href":"/cargo-api-reference/open-cover/read-a-declaration"}]},{"group":"Policies","pages":[{"title":"List policies","deprecated":null,"version":null,"openapi":"/cargo-api-reference/openapi.json get /policies","href":"/cargo-api-reference/policies/list-policies"},{"title":"Issue a policy","deprecated":null,"version":null,"openapi":"/cargo-api-reference/openapi.json post /policies","href":"/cargo-api-reference/policies/issue-a-policy"},{"title":"Read a policy","deprecated":null,"version":null,"openapi":"/cargo-api-reference/openapi.json get /policies/{policyId}","href":"/cargo-api-reference/policies/read-a-policy"}]}]},{"group":"Travel Insurance APIs","pages":[{"group":"Quotes","pages":[{"title":"Request Quote","deprecated":null,"version":null,"openapi":"/yasmina-schengen-travel-insurance/openapi.json post /quotes","href":"/yasmina-schengen-travel-insurance/quotes/request-quote"}]},{"group":"Policies","pages":[{"title":"Show policy","deprecated":null,"version":null,"openapi":"/yasmina-schengen-travel-insurance/openapi.json get /policies/{travelPolicy}","href":"/yasmina-schengen-travel-insurance/policies/show-policy"},{"title":"List policies","deprecated":null,"version":null,"openapi":"/yasmina-schengen-travel-insurance/openapi.json get /policies","href":"/yasmina-schengen-travel-insurance/policies/list-policies"},{"title":"Purchase","deprecated":null,"version":null,"openapi":"/yasmina-schengen-travel-insurance/openapi.json post /policies","href":"/yasmina-schengen-travel-insurance/policies/purchase"}]}]},{"group":"Life (S\u0026P) Insurance APIs","pages":[{"group":"Offers","pages":[{"title":"Life S\u0026P Products","deprecated":null,"version":null,"openapi":"/life-snp/openapi.json post /offers","href":"/life-snp/offers/life-s\u0026p-products"}]},{"group":"Policies","pages":[{"title":"List policies","deprecated":null,"version":null,"openapi":"/life-snp/openapi.json get /policies","href":"/life-snp/policies/list-policies"},{"title":"Issue policy","deprecated":null,"version":null,"openapi":"/life-snp/openapi.json post /policies","href":"/life-snp/policies/issue-policy"},{"title":"Cancel policy","deprecated":null,"version":null,"openapi":"/life-snp/openapi.json post /policies/{lifePolicy}/cancellation","href":"/life-snp/policies/cancel-policy"}]},{"group":"Claims","pages":[{"title":"Submit claim","deprecated":null,"version":null,"openapi":"/life-snp/openapi.json post /policies/{policyId}/claims","href":"/life-snp/claims/submit-claim"}]}]},{"group":"TPL Motor Insurance - Flat Fee APIs V2","pages":[{"group":"Policies","pages":[{"title":"List policies","deprecated":null,"version":null,"openapi":"/cartpl-api-reference-v2/openapi.json get /v2/car/policies","href":"/cartpl-api-reference-v2/policies/list-policies"},{"title":"Issue policy","deprecated":null,"version":null,"openapi":"/cartpl-api-reference-v2/openapi.json post /v2/car/policies","href":"/cartpl-api-reference-v2/policies/issue-policy"},{"title":"Cancel policy","deprecated":null,"version":null,"openapi":"/cartpl-api-reference-v2/openapi.json post /v2/car/policies/{carPolicy}/cancellation","href":"/cartpl-api-reference-v2/policies/cancel-policy"},{"title":"Cancel policy by VIN","deprecated":null,"version":null,"openapi":"/cartpl-api-reference-v2/openapi.json post /v2/clients/policies/cancellation","href":"/cartpl-api-reference-v2/policies/cancel-policy-by-vin"}]}]},{"group":"Horse Insurance APIs","pages":[{"group":"Policies","pages":[{"title":"Create a horse policy","deprecated":null,"version":null,"openapi":"/horse-api-reference/openapi.json post /policies","href":"/horse-api-reference/policies/create-a-horse-policy"},{"title":"Cancel policy","deprecated":null,"version":null,"openapi":"/horse-api-reference/openapi.json post /policies/{horsePolicy}/cancellation","href":"/horse-api-reference/policies/cancel-policy"}]},{"group":"Claims","pages":[{"title":"Issue claim","deprecated":null,"version":null,"openapi":"/horse-api-reference/openapi.json post /policies/{policyId}/claims","href":"/horse-api-reference/claims/issue-claim"}]}]},{"group":"Payment","pages":[{"group":"Payments","pages":[{"title":"List payments","deprecated":null,"version":null,"openapi":"/payments-api-reference/openapi.json get /payments","href":"/payments-api-reference/payments/list-payments"}]}]}]},{"tab":"SDKs","icon":"brackets-curly","pages":[{"title":"SDKs","href":"/sdks/ios"}]},{"tab":"Changelog","icon":"clock-rotate-left","pages":[{"title":"Changelog","href":"/changelog"}]}]},"basePath":"","title":"Create embed session - Yasmina embedded insurance","deploymentId":"dpl_Bzhd2vEuuXmvNaTmqBBYbeBj3epG","buildId":"dpl_Bzhd2vEuuXmvNaTmqBBYbeBj3epG","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-BjA2hsCJ.js","snippetPresets-C-jpv5v8.js","utils--9e24gKv.js","style-to-object-BY3JEAdk.js","utils-CL8e03UA.js","v4-DIgz8zy6.js","addTypeLabelsToSchema-O60MhfkU.js","conditional-requirements-CFM0id0Q.js","cloneDeep-C2_HxuTC.js","_Uint8Array-CSzKbEgF.js","isObject-FP1Yky1u.js","ApiExamples-DrqwMm0N.js","usePlaygroundInputsStore-HwhVROcI.js","shallow-CE0cbB33.js","isEqual-XgMGHHxA.js","CodeSnippets-DeoWIzOC.js","CodeSnippet-nteBoAUV.js","use-playground-group-access-YOcO7c2y.js","Page-B_BHXdim.js","api-description-markdown-CQA9NkQd.js","DynamicMarkdown-DpB7I7uN.js","SectionHeading-CW6J1gzG.js","MethodPill-CaKMlCid.js","getPastedJson-Dkd8F-mU.js","Check2Icon-DLlJR2en.js","axios-CsQoIw0U.js","Markdown-CaF3VJGb.js","AssistantPageLink-DXtHv8Vo.js","dist-BGepIklc.js","lib-DMeTj1gb.js","lib-B8HbPgcC.js","katex-Dbtb6Wk7.js","html-void-elements-mCSPHezU.js","marked.esm-CZWythHk.js"]}