Fills the company’s employee list with the employees registered under the company, so you start from the company’s current headcount instead of typing it in. It replaces the list; edit it afterwards with Save the employees. Every fetched employee starts on the basic tier with no dependents.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Path Parameters
companyId
integer
required
Response
The company's employee list
employees
object[]
Hide child attributes
employees.name
string
required
employees.nationality_iso
string
required
employees.category
enum<string>
required
The tier this employee picked. Every provider sells all four, so the quote request can price it with each of them.
Available options:
basic,
standard,
premium,
executive
employees.mobile_number
string
required
The employee's mobile number.
Example:
"0500000001"
employees.date_of_birth
string
required
Format YYYY-MM-DD. Saudi nationals whose national id starts with 1 give the Hijri (Umm al-Qura) date printed on their id, for example 1409-09-14; everyone else gives a Gregorian date. Employees must be between 18 and 110 years old.
employees.nationality_id
string
For Saudis only. Exactly 10 digits.
Pattern: ^[0-9]{10}$
Example:
"1111111111"
employees.iqama_id
string
For non-Saudis. Exactly 10 digits. A non-Saudi whose iqama is not issued yet sends border_number instead.
Pattern: ^[0-9]{10}$
Example:
"2222222222"
employees.border_number
string
For non-Saudis without an iqama yet, in place of iqama_id. Exactly 10 digits.
Pattern: ^[0-9]{10}$
Example:
"3000000001"
employees.sponsor_id
string
The employee's sponsor id. Optional. Exactly 10 digits.
Pattern: ^[0-9]{10}$
Example:
"1000000001"
employees.is_married
boolean
Whether the employee is married. Optional.
Example:
true
employees.dependents
object[]
Family members covered under this employee's policy. They get the same provider and category as the employee. Optional; omit or send an empty array for an employee without dependents.
Hide child attributes
employees.dependents.name
string
required
employees.dependents.relationship
enum<string>
required
How the dependent is related to the employee
Available options:
spouse,
child,
parent
employees.dependents.nationality_iso
string
required
ISO 3166-1 alpha-2 country code
employees.dependents.date_of_birth
string
required
Format YYYY-MM-DD. Saudi nationals whose national id starts with 1 give the Hijri (Umm al-Qura) date printed on their id, for example 1409-09-14; everyone else gives a Gregorian date. A dependent can be any age up to 110.
employees.dependents.nationality_id
string
Required when nationality_iso is SA. Exactly 10 digits.
Pattern: ^[0-9]{10}$
Example:
"1111111112"
employees.dependents.iqama_id
string
Required when nationality_iso is not SA. Exactly 10 digits.
Pattern: ^[0-9]{10}$
Example:
"2222222222"
employees.health_declaration
object
read-only
The employee's declaration, on the employees of a quote request and a policy. Set through Submit the declarations; ignored when sent in.
Hide child attributes
employees.health_declaration.answers
object
One person's answers to the unified medical declaration form, keyed as the Medical form questions API lists them. The five yes/no questions are all answered; weight, height and the pregnancy details are given when they apply.
{"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":"6afda68d5f051bf67519d02a","clientVersion":"0.0.4205","searchFilterCounts":[{"language":"default","tag":"API Reference","count":62},{"language":"default","tag":"Policies","count":25},{"language":"default","tag":"Guide","count":21},{"language":"default","tag":"SME Medical APIs","count":19},{"language":"default","tag":"Motor Insurance APIs (Multiple Providers)","count":17},{"language":"default","tag":"SDKs","count":10},{"language":"default","tag":"Front-End SDKs","count":10},{"language":"default","tag":"Insurance Integration Guides","count":9},{"language":"default","tag":"Quotes","count":9},{"language":"default","tag":"Property Insurance APIs","count":8}]},"assistantConfig":{},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-rbac-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"starter-pricing","enabled":true,"variant":{"name":"control","enabled":true,"payload":{"type":"string","value":"control"},"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"wildcard-email-auth","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"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":"medical-api-reference/employees/fetch-the-employees","slug":"/medical-api-reference/employees/fetch-the-employees","pageMetadata":{"title":"Fetch the employees","description":"Fills the company's employee list with the employees registered under the company, so you start from the company's current headcount instead of typing it in. It replaces the list; edit it afterwards with Save the employees. Every fetched employee starts on the `basic` tier with no dependents.","deprecated":null,"version":null,"openapi":"/medical-api-reference/openapi.json post /companies/{companyId}/employees/fetch","href":"/medical-api-reference/employees/fetch-the-employees","autogeneratedByOpenApi":true},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx, jsxs: _jsxs} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n code: \"code\",\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsxs(_components.p, {\n children: [\"Fills the company’s employee list with the employees registered under the company, so you start from the company’s current headcount instead of typing it in. It replaces the list; edit it afterwards with Save the employees. Every fetched employee starts on the \", _jsx(_components.code, {\n children: \"basic\"\n }), \" tier with no dependents.\"]\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":"Fetch the employees","description":"Fills the company's employee list with the employees registered under the company, so you start from the company's current headcount instead of typing it in. It replaces the list; edit it afterwards with Save the employees. Every fetched employee starts on the `basic` tier with no dependents.","deprecated":null,"version":null,"openapi":"/medical-api-reference/openapi.json post /companies/{companyId}/employees/fetch","href":"/medical-api-reference/employees/fetch-the-employees","autogeneratedByOpenApi":true}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":["/_mintlify/custom/yasmina/ccacd844f457d935/script.js"],"openApiReferenceData":{"operation":{"summary":"Fetch the employees","description":"Fills the company's employee list with the employees registered under the company, so you start from the company's current headcount instead of typing it in. It replaces the list; edit it afterwards with Save the employees. Every fetched employee starts on the `basic` tier with no dependents.","tags":["Employees"],"parameters":["058cc09e-ee7f-48ce-b460-0ab8e8c0ded7"],"responses":{"200":"13a5da7a-879a-4906-8218-046dc22ff138","401":"c3e43c14-7faa-4696-981e-a4c93db5cb28","404":"efb6df14-2801-469a-bc6a-08e7e3065d5f"},"method":"post","type":"path","servers":["4f02dadb-f469-43e5-bc1f-7e98f95b8e00","26f9f921-f6ab-45ff-9120-aff55400b4f0"],"security":["be8e96d3-b027-496f-8570-5c40d1922940"],"path":"/companies/{companyId}/employees/fetch","baseUrlOptions":["https://production.yasmina.ai/api/v1/medical","https://sandbox.yasmina.ai/api/v1/medical"],"title":"Fetch the employees","codeSamples":[],"requiredOnlyExamples":true,"requestExampleType":"generated","responseExampleType":"generated","disableProxy":true},"dependencies":{"parameters":{"058cc09e-ee7f-48ce-b460-0ab8e8c0ded7":{"required":true,"name":"companyId","in":"path","schema":{"type":"integer","isRequired":true,"uniqueKey":"","typeLabel":"integer"}}},"responses":{"13a5da7a-879a-4906-8218-046dc22ff138":{"description":"The company's employee list","content":{"application/json":{"schema":{"type":"object","properties":{"employees":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string","isRequired":true,"uniqueKey":"employees.items.[INDEX].name","typeLabel":"string"},"nationality_iso":{"type":"string","isRequired":true,"uniqueKey":"employees.items.[INDEX].nationality_iso","typeLabel":"string"},"category":{"type":"string","enum":["basic","standard","premium","executive"],"description":"The tier this employee picked. Every provider sells all four, so the quote request can price it with each of them.","isRequired":true,"uniqueKey":"employees.items.[INDEX].category","typeLabel":"enum\u003cstring>"},"mobile_number":{"type":"string","description":"The employee's mobile number.","example":"0500000001","isRequired":true,"uniqueKey":"employees.items.[INDEX].mobile_number","typeLabel":"string"},"date_of_birth":{"type":"string","description":"Format YYYY-MM-DD. Saudi nationals whose national id starts with 1 give the Hijri (Umm al-Qura) date printed on their id, for example 1409-09-14; everyone else gives a Gregorian date. Employees must be between 18 and 110 years old.","isRequired":true,"uniqueKey":"employees.items.[INDEX].date_of_birth","typeLabel":"string"},"nationality_id":{"type":"string","description":"For Saudis only. Exactly 10 digits.","pattern":"^[0-9]{10}$","example":"1111111111","uniqueKey":"employees.items.[INDEX].nationality_id","typeLabel":"string"},"iqama_id":{"type":"string","description":"For non-Saudis. Exactly 10 digits. A non-Saudi whose iqama is not issued yet sends border_number instead.","pattern":"^[0-9]{10}$","example":"2222222222","uniqueKey":"employees.items.[INDEX].iqama_id","typeLabel":"string"},"border_number":{"type":"string","description":"For non-Saudis without an iqama yet, in place of iqama_id. Exactly 10 digits.","pattern":"^[0-9]{10}$","example":"3000000001","uniqueKey":"employees.items.[INDEX].border_number","typeLabel":"string"},"sponsor_id":{"type":"string","description":"The employee's sponsor id. Optional. Exactly 10 digits.","pattern":"^[0-9]{10}$","example":"1000000001","uniqueKey":"employees.items.[INDEX].sponsor_id","typeLabel":"string"},"is_married":{"type":"boolean","description":"Whether the employee is married. Optional.","example":true,"uniqueKey":"employees.items.[INDEX].is_married","typeLabel":"boolean"},"dependents":{"type":"array","description":"Family members covered under this employee's policy. They get the same provider and category as the employee. Optional; omit or send an empty array for an employee without dependents.","items":{"type":"object","required":["name","relationship","nationality_iso","date_of_birth"],"properties":{"name":{"type":"string","isRequired":true,"uniqueKey":"employees.items.[INDEX].dependents.items.[INDEX].name","typeLabel":"string"},"relationship":{"type":"string","enum":["spouse","child","parent"],"description":"How the dependent is related to the employee","isRequired":true,"uniqueKey":"employees.items.[INDEX].dependents.items.[INDEX].relationship","typeLabel":"enum\u003cstring>"},"nationality_iso":{"type":"string","description":"ISO 3166-1 alpha-2 country code","isRequired":true,"uniqueKey":"employees.items.[INDEX].dependents.items.[INDEX].nationality_iso","typeLabel":"string"},"date_of_birth":{"type":"string","description":"Format YYYY-MM-DD. Saudi nationals whose national id starts with 1 give the Hijri (Umm al-Qura) date printed on their id, for example 1409-09-14; everyone else gives a Gregorian date. A dependent can be any age up to 110.","isRequired":true,"uniqueKey":"employees.items.[INDEX].dependents.items.[INDEX].date_of_birth","typeLabel":"string"},"nationality_id":{"type":"string","description":"Required when nationality_iso is SA. Exactly 10 digits.","pattern":"^[0-9]{10}$","example":"1111111112","uniqueKey":"employees.items.[INDEX].dependents.items.[INDEX].nationality_id","typeLabel":"string"},"iqama_id":{"type":"string","description":"Required when nationality_iso is not SA. Exactly 10 digits.","pattern":"^[0-9]{10}$","example":"2222222222","uniqueKey":"employees.items.[INDEX].dependents.items.[INDEX].iqama_id","typeLabel":"string"}},"uniqueKey":"employees.items.[INDEX].dependents.items.[INDEX]","typeLabel":"object"},"uniqueKey":"employees.items.[INDEX].dependents","typeLabel":"object[]"},"health_declaration":{"type":"object","readOnly":true,"description":"The employee's declaration, on the employees of a quote request and a policy. Set through Submit the declarations; ignored when sent in.","properties":{"answers":{"type":"object","description":"One person's answers to the unified medical declaration form, keyed as the Medical form questions API lists them. The five yes/no questions are all answered; weight, height and the pregnancy details are given when they apply.","properties":{"hospitalizations":{"type":"string","enum":["Yes","No"],"description":"Any hospital admission during the last 12 months.","isRequired":true,"uniqueKey":"employees.items.[INDEX].health_declaration.answers.hospitalizations","typeLabel":"enum\u003cstring>"},"chronic_diseases":{"type":"string","enum":["Yes","No"],"description":"Diagnosed with one of the chronic diseases the form lists.","isRequired":true,"uniqueKey":"employees.items.[INDEX].health_declaration.answers.chronic_diseases","typeLabel":"enum\u003cstring>"},"hereditary_diseases":{"type":"string","enum":["Yes","No"],"description":"Diagnosed with one of the congenital or hereditary diseases the form lists.","isRequired":true,"uniqueKey":"employees.items.[INDEX].health_declaration.answers.hereditary_diseases","typeLabel":"enum\u003cstring>"},"eye_diseases":{"type":"string","enum":["Yes","No"],"description":"Diagnosed with one of the eye diseases the form lists.","isRequired":true,"uniqueKey":"employees.items.[INDEX].health_declaration.answers.eye_diseases","typeLabel":"enum\u003cstring>"},"bone_diseases":{"type":"string","enum":["Yes","No"],"description":"Diagnosed with one of the bone diseases the form lists.","isRequired":true,"uniqueKey":"employees.items.[INDEX].health_declaration.answers.bone_diseases","typeLabel":"enum\u003cstring>"},"weight":{"type":"number","description":"Weight in kilograms. Optional; without weight and height the cost of obesity surgery is not covered.","example":82,"uniqueKey":"employees.items.[INDEX].health_declaration.answers.weight","typeLabel":"number"},"height":{"type":"number","description":"Height in centimetres. Optional.","example":176,"uniqueKey":"employees.items.[INDEX].health_declaration.answers.height","typeLabel":"number"},"pregnancy":{"type":"string","enum":["Current single pregnancy","Current single pregnancy with previous CS delivery","Current multiple pregnancy"],"description":"For a pregnant member only. Leave out otherwise.","uniqueKey":"employees.items.[INDEX].health_declaration.answers.pregnancy","typeLabel":"enum\u003cstring>"},"expected_delivery_date":{"type":"string","format":"date","description":"For a pregnant member only, as YYYY-MM-DD.","example":"2027-03-01","uniqueKey":"employees.items.[INDEX].health_declaration.answers.expected_delivery_date","typeLabel":"string\u003cdate>"}},"required":["hospitalizations","chronic_diseases","hereditary_diseases","eye_diseases","bone_diseases"],"uniqueKey":"employees.items.[INDEX].health_declaration.answers","typeLabel":"object"},"consent":{"type":"boolean","enum":[true],"uniqueKey":"employees.items.[INDEX].health_declaration.consent","typeLabel":"enum\u003cboolean>"},"filled_at":{"type":"string","format":"date-time","uniqueKey":"employees.items.[INDEX].health_declaration.filled_at","typeLabel":"string\u003cdate-time>"}},"uniqueKey":"employees.items.[INDEX].health_declaration","typeLabel":"object"}},"required":["name","nationality_iso","category","mobile_number","date_of_birth"],"uniqueKey":"employees.items.[INDEX]","typeLabel":"object"},"uniqueKey":"employees","typeLabel":"object[]"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"employees":[{"name":"\u003cstring>","nationality_iso":"\u003cstring>","category":"basic","mobile_number":"0500000001","date_of_birth":"\u003cstring>","nationality_id":"1111111111","iqama_id":"2222222222","border_number":"3000000001","sponsor_id":"1000000001","is_married":true,"dependents":[{"name":"\u003cstring>","relationship":"spouse","nationality_iso":"\u003cstring>","date_of_birth":"\u003cstring>","nationality_id":"1111111112","iqama_id":"2222222222"}],"health_declaration":{"answers":{"hospitalizations":"Yes","chronic_diseases":"Yes","hereditary_diseases":"Yes","eye_diseases":"Yes","bone_diseases":"Yes","weight":82,"height":176,"pregnancy":"Current single pregnancy","expected_delivery_date":"2027-03-01"},"consent":true,"filled_at":"2023-11-07T05:31:56Z"}}]}}},"exampleType":"generated"}},"exampleType":"generated"},"c3e43c14-7faa-4696-981e-a4c93db5cb28":{"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"},"efb6df14-2801-469a-bc6a-08e7e3065d5f":{"description":"Record not found","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","example":"40401","uniqueKey":"code","typeLabel":"string"},"message":{"type":"string","example":"Not found","uniqueKey":"message","typeLabel":"string"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"code":"40401","message":"Not found"}}},"exampleType":"generated"}},"exampleType":"generated"}},"security":{"be8e96d3-b027-496f-8570-5c40d1922940":{"bearerAuth":{"type":"http","scheme":"bearer","scopes":[],"schemeName":"bearerAuth"}}},"servers":{"4f02dadb-f469-43e5-bc1f-7e98f95b8e00":{"url":"https://production.yasmina.ai/api/v1/medical"},"26f9f921-f6ab-45ff-9120-aff55400b4f0":{"url":"https://sandbox.yasmina.ai/api/v1/medical"}},"processedSecurityOptions":[{"schemes":[{"scheme":{"type":"http","scheme":"bearer","scopes":[],"schemeName":"bearerAuth"},"schema":{"title":"Bearer Auth","type":"string","isRequired":true,"description":"Bearer authentication header of the form `Bearer \u003ctoken>`, where `\u003ctoken>` is your auth token.","format":"bearer","typeLabel":"string\u003cbearer>","deprecated":false},"schemeName":"bearerAuth","name":"Authorization"}],"title":"bearerAuth"}]},"originalFileLocation":"medical-api-reference/openapi.json"},"subdomain":"yasmina","siteName":"Yasmina embedded insurance","title":"Fetch the employees - Yasmina embedded insurance","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-11-18T13:22:30.153Z","originalFileLocation":"medical-api-reference/employees/fetch-the-employees.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=\"Fills the company\u0026#x27;s employee list with the employees registered under the company, so you start from the company\u0026#x27;s current headcount instead of typing it in. It replaces the list; edit it afterwards with Save the employees. Every fetched employee starts on the basic tier with no dependents.\">\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=\"Fetch the employees - Yasmina embedded insurance\">\u003cmeta data-mint-head property=\"og:description\" content=\"Fills the company\u0026#x27;s employee list with the employees registered under the company, so you start from the company\u0026#x27;s current headcount instead of typing it in. It replaces the list; edit it afterwards with Save the employees. Every fetched employee starts on the basic tier with no dependents.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Yasmina embedded insurance\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.yasmina.ai/medical-api-reference/employees/fetch-the-employees\">\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=Employees\u0026amp;title=Fetch+the+employees\u0026amp;description=Fills+the+company%27s+employee+list+with+the+employees+registered+under+the+company%2C+so+you+start+from+the+company%27s+current+headcount+instead+of+typing+it+in.+It\u0026amp;theme=1cc1a06a619a5807e2553927\u0026amp;signature=357622b4997ce500c0301c353e6ea644e7a8710bda1f18cb11872c665d482ef8\">\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=\"Fetch the employees - Yasmina embedded insurance\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Fills the company\u0026#x27;s employee list with the employees registered under the company, so you start from the company\u0026#x27;s current headcount instead of typing it in. It replaces the list; edit it afterwards with Save the employees. Every fetched employee starts on the basic tier with no dependents.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://yasmina.mintlify.site/_mintlify/api/og/v2?division=Employees\u0026amp;title=Fetch+the+employees\u0026amp;description=Fills+the+company%27s+employee+list+with+the+employees+registered+under+the+company%2C+so+you+start+from+the+company%27s+current+headcount+instead+of+typing+it+in.+It\u0026amp;theme=1cc1a06a619a5807e2553927\u0026amp;signature=357622b4997ce500c0301c353e6ea644e7a8710bda1f18cb11872c665d482ef8\">\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/medical-api-reference/employees/fetch-the-employees\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/medical-api-reference/employees/fetch-the-employees.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/medical-api-reference/employees/fetch-the-employees#webpage\",\"url\":\"https://docs.yasmina.ai/medical-api-reference/employees/fetch-the-employees\",\"name\":\"Fetch the employees\",\"description\":\"Fills the company's employee list with the employees registered under the company, so you start from the company's current headcount instead of typing it in. It replaces the list; edit it afterwards with Save the employees. Every fetched employee starts on the basic tier with no dependents.\",\"dateModified\":\"2026-11-18T13:22:30.153Z\",\"isPartOf\":{\"@id\":\"https://docs.yasmina.ai#website\"},\"breadcrumb\":{\"@id\":\"https://docs.yasmina.ai/medical-api-reference/employees/fetch-the-employees#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.yasmina.ai/medical-api-reference/employees/fetch-the-employees#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"SME Medical APIs\",\"item\":\"https://docs.yasmina.ai/medical-api-reference/company/list-companies\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Employees\",\"item\":\"https://docs.yasmina.ai/medical-api-reference/employees/list-the-employees\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Fetch the employees\",\"item\":\"https://docs.yasmina.ai/medical-api-reference/employees/fetch-the-employees\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.yasmina.ai/medical-api-reference/employees/fetch-the-employees#apireference\",\"headline\":\"Fetch the employees\",\"name\":\"Fetch the employees\",\"description\":\"Fills the company's employee list with the employees registered under the company, so you start from the company's current headcount instead of typing it in. It replaces the list; edit it afterwards with Save the employees. Every fetched employee starts on the basic tier with no dependents.\",\"url\":\"https://docs.yasmina.ai/medical-api-reference/employees/fetch-the-employees\",\"mainEntityOfPage\":{\"@id\":\"https://docs.yasmina.ai/medical-api-reference/employees/fetch-the-employees#webpage\"},\"dateModified\":\"2026-11-18T13:22:30.153Z\",\"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":"/medical-api-reference/employees/fetch-the-employees.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":"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","description":"Replaces the company's employee list with the one given: who is covered, their dependents, and the tier each has picked (`basic`, `standard`, `premium` or `executive`). Use it to edit or remove employees after fetching the list. An employee who stays on the list keeps their health declaration. Nothing is priced here; see Get prices from every provider.","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","description":"The company's health declarations in one call, under one consent for everyone on the employee list, employees and dependents alike. Send an entry only for someone with something to declare, named by their own id as `employee_id`; the consent declares everyone else, so the consent alone is enough when nobody has anything to declare. `consent` must be `true`: by sending it, you confirm they have stated that their answers are true and complete and agreed to share them with the insurance provider. The declarations are kept by id, apart from the employee list, so editing the list leaves them alone; each call replaces them. Someone added to the list afterwards is not covered until the next call, and the company cannot be priced until then.","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":"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","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","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":"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":"Fetch the employees - Yasmina embedded insurance","deploymentId":"dpl_FZMKUpaaKiVETbfqhoUe4sPFDTmY","buildId":"dpl_FZMKUpaaKiVETbfqhoUe4sPFDTmY","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-B6WFFOBL.js","utils-BN5um1KA.js","cloneDeep-C3md22mN.js","_Uint8Array-DLlL8L26.js","isObject-FP1Yky1u.js","utils-BSmbkXJR.js","addUniqueKeysToSchema-2tqcVnUE.js","snippetPresets-CtWfvr2J.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","conditional-requirements-CFM0id0Q.js","ApiExamples-DkKHBy30.js","isEqual-O3q7y6pq.js","usePlaygroundInputsStore-Brc5H9UJ.js","shallow-C4L4xvbs.js","getApiPlaygroundDisplay-2bxyq_aI.js","CodeSnippet-BJu8ddd5.js","CodeSnippets-dazWmoqB.js","Page-CnLhKuUV.js","getPastedJson-Chy3Qa1S.js","icon-CyO7h3jh.js","MethodPill-Dle0_91v.js","DuplicateIcon-CVvWAf4a.js","createIcon-Di07A27B.js","DynamicMarkdown-C4w9kavL.js","SectionHeading-XiBebVYC.js","axios-vUo_bRtp.js","Markdown-DTeL0SpS.js","dist-OCScizqf.js","lib-DuNMoZ05.js","lib-B8HbPgcC.js","katex-YMM-FMeD.js","html-void-elements-mCSPHezU.js","marked.esm-CZWythHk.js","AssistantPageLink-KcneGfMY.js"]}