Request Quote
curl --request POST \
--url https://sandbox.yasmina.ai/api/v1/yasmina-schengen-travel/quotes \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"nationality_id": "1234567890",
"phone_number": "+966501234567",
"email": "[email protected]",
"multi_entry": false,
"start_date": "2025-07-27",
"date_of_birth": "1988-04-20",
"travellers": [
{
"nationality": "SA",
"full_name": "",
"passport_number": "G12345678",
"gender": "m",
"date_of_birth": "1982-04-20",
"relation": "self",
"passport_expiry_date": "2025-10-30"
}
]
}
'import requests
url = "https://sandbox.yasmina.ai/api/v1/yasmina-schengen-travel/quotes"
payload = {
"nationality_id": "1234567890",
"phone_number": "+966501234567",
"email": "[email protected]",
"multi_entry": False,
"start_date": "2025-07-27",
"date_of_birth": "1988-04-20",
"travellers": [
{
"nationality": "SA",
"full_name": "",
"passport_number": "G12345678",
"gender": "m",
"date_of_birth": "1982-04-20",
"relation": "self",
"passport_expiry_date": "2025-10-30"
}
]
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
nationality_id: '1234567890',
phone_number: '+966501234567',
email: '[email protected]',
multi_entry: false,
start_date: '2025-07-27',
date_of_birth: '1988-04-20',
travellers: [
{
nationality: 'SA',
full_name: '',
passport_number: 'G12345678',
gender: 'm',
date_of_birth: '1982-04-20',
relation: 'self',
passport_expiry_date: '2025-10-30'
}
]
})
};
fetch('https://sandbox.yasmina.ai/api/v1/yasmina-schengen-travel/quotes', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://sandbox.yasmina.ai/api/v1/yasmina-schengen-travel/quotes",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'nationality_id' => '1234567890',
'phone_number' => '+966501234567',
'email' => '[email protected]',
'multi_entry' => false,
'start_date' => '2025-07-27',
'date_of_birth' => '1988-04-20',
'travellers' => [
[
'nationality' => 'SA',
'full_name' => '',
'passport_number' => 'G12345678',
'gender' => 'm',
'date_of_birth' => '1982-04-20',
'relation' => 'self',
'passport_expiry_date' => '2025-10-30'
]
]
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://sandbox.yasmina.ai/api/v1/yasmina-schengen-travel/quotes"
payload := strings.NewReader("{\n \"nationality_id\": \"1234567890\",\n \"phone_number\": \"+966501234567\",\n \"email\": \"[email protected]\",\n \"multi_entry\": false,\n \"start_date\": \"2025-07-27\",\n \"date_of_birth\": \"1988-04-20\",\n \"travellers\": [\n {\n \"nationality\": \"SA\",\n \"full_name\": \"\",\n \"passport_number\": \"G12345678\",\n \"gender\": \"m\",\n \"date_of_birth\": \"1982-04-20\",\n \"relation\": \"self\",\n \"passport_expiry_date\": \"2025-10-30\"\n }\n ]\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://sandbox.yasmina.ai/api/v1/yasmina-schengen-travel/quotes")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"nationality_id\": \"1234567890\",\n \"phone_number\": \"+966501234567\",\n \"email\": \"[email protected]\",\n \"multi_entry\": false,\n \"start_date\": \"2025-07-27\",\n \"date_of_birth\": \"1988-04-20\",\n \"travellers\": [\n {\n \"nationality\": \"SA\",\n \"full_name\": \"\",\n \"passport_number\": \"G12345678\",\n \"gender\": \"m\",\n \"date_of_birth\": \"1982-04-20\",\n \"relation\": \"self\",\n \"passport_expiry_date\": \"2025-10-30\"\n }\n ]\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://sandbox.yasmina.ai/api/v1/yasmina-schengen-travel/quotes")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"nationality_id\": \"1234567890\",\n \"phone_number\": \"+966501234567\",\n \"email\": \"[email protected]\",\n \"multi_entry\": false,\n \"start_date\": \"2025-07-27\",\n \"date_of_birth\": \"1988-04-20\",\n \"travellers\": [\n {\n \"nationality\": \"SA\",\n \"full_name\": \"\",\n \"passport_number\": \"G12345678\",\n \"gender\": \"m\",\n \"date_of_birth\": \"1982-04-20\",\n \"relation\": \"self\",\n \"passport_expiry_date\": \"2025-10-30\"\n }\n ]\n}"
response = http.request(request)
puts response.read_body{
"client_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"nationality_id": "<string>",
"phone_number": "<string>",
"email": "[email protected]",
"date_of_birth": "2023-12-25",
"type": "yasmina_schengen_travel_insurance",
"quote_id": "<string>",
"bill": {
"items": {
"adult": {
"count": 123,
"price": 123,
"total": 123
}
},
"adminFees": 123
},
"price": 123,
"updated_at": "2023-11-07T05:31:56Z",
"created_at": "2023-11-07T05:31:56Z",
"travellers": [
{
"nationality": "JO",
"full_name": "Yasmina Alex",
"passport_number": "<string>",
"date_of_birth": "2023-12-25",
"relation": "<string>",
"passport_expiry_date": "2023-12-25"
}
],
"multi_entry": true,
"start_date": "2023-12-25",
"duration": 123
}Request Quote
POST
/
quotes
Request Quote
curl --request POST \
--url https://sandbox.yasmina.ai/api/v1/yasmina-schengen-travel/quotes \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"nationality_id": "1234567890",
"phone_number": "+966501234567",
"email": "[email protected]",
"multi_entry": false,
"start_date": "2025-07-27",
"date_of_birth": "1988-04-20",
"travellers": [
{
"nationality": "SA",
"full_name": "",
"passport_number": "G12345678",
"gender": "m",
"date_of_birth": "1982-04-20",
"relation": "self",
"passport_expiry_date": "2025-10-30"
}
]
}
'import requests
url = "https://sandbox.yasmina.ai/api/v1/yasmina-schengen-travel/quotes"
payload = {
"nationality_id": "1234567890",
"phone_number": "+966501234567",
"email": "[email protected]",
"multi_entry": False,
"start_date": "2025-07-27",
"date_of_birth": "1988-04-20",
"travellers": [
{
"nationality": "SA",
"full_name": "",
"passport_number": "G12345678",
"gender": "m",
"date_of_birth": "1982-04-20",
"relation": "self",
"passport_expiry_date": "2025-10-30"
}
]
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
nationality_id: '1234567890',
phone_number: '+966501234567',
email: '[email protected]',
multi_entry: false,
start_date: '2025-07-27',
date_of_birth: '1988-04-20',
travellers: [
{
nationality: 'SA',
full_name: '',
passport_number: 'G12345678',
gender: 'm',
date_of_birth: '1982-04-20',
relation: 'self',
passport_expiry_date: '2025-10-30'
}
]
})
};
fetch('https://sandbox.yasmina.ai/api/v1/yasmina-schengen-travel/quotes', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://sandbox.yasmina.ai/api/v1/yasmina-schengen-travel/quotes",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'nationality_id' => '1234567890',
'phone_number' => '+966501234567',
'email' => '[email protected]',
'multi_entry' => false,
'start_date' => '2025-07-27',
'date_of_birth' => '1988-04-20',
'travellers' => [
[
'nationality' => 'SA',
'full_name' => '',
'passport_number' => 'G12345678',
'gender' => 'm',
'date_of_birth' => '1982-04-20',
'relation' => 'self',
'passport_expiry_date' => '2025-10-30'
]
]
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://sandbox.yasmina.ai/api/v1/yasmina-schengen-travel/quotes"
payload := strings.NewReader("{\n \"nationality_id\": \"1234567890\",\n \"phone_number\": \"+966501234567\",\n \"email\": \"[email protected]\",\n \"multi_entry\": false,\n \"start_date\": \"2025-07-27\",\n \"date_of_birth\": \"1988-04-20\",\n \"travellers\": [\n {\n \"nationality\": \"SA\",\n \"full_name\": \"\",\n \"passport_number\": \"G12345678\",\n \"gender\": \"m\",\n \"date_of_birth\": \"1982-04-20\",\n \"relation\": \"self\",\n \"passport_expiry_date\": \"2025-10-30\"\n }\n ]\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://sandbox.yasmina.ai/api/v1/yasmina-schengen-travel/quotes")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"nationality_id\": \"1234567890\",\n \"phone_number\": \"+966501234567\",\n \"email\": \"[email protected]\",\n \"multi_entry\": false,\n \"start_date\": \"2025-07-27\",\n \"date_of_birth\": \"1988-04-20\",\n \"travellers\": [\n {\n \"nationality\": \"SA\",\n \"full_name\": \"\",\n \"passport_number\": \"G12345678\",\n \"gender\": \"m\",\n \"date_of_birth\": \"1982-04-20\",\n \"relation\": \"self\",\n \"passport_expiry_date\": \"2025-10-30\"\n }\n ]\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://sandbox.yasmina.ai/api/v1/yasmina-schengen-travel/quotes")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"nationality_id\": \"1234567890\",\n \"phone_number\": \"+966501234567\",\n \"email\": \"[email protected]\",\n \"multi_entry\": false,\n \"start_date\": \"2025-07-27\",\n \"date_of_birth\": \"1988-04-20\",\n \"travellers\": [\n {\n \"nationality\": \"SA\",\n \"full_name\": \"\",\n \"passport_number\": \"G12345678\",\n \"gender\": \"m\",\n \"date_of_birth\": \"1982-04-20\",\n \"relation\": \"self\",\n \"passport_expiry_date\": \"2025-10-30\"\n }\n ]\n}"
response = http.request(request)
puts response.read_body{
"client_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"nationality_id": "<string>",
"phone_number": "<string>",
"email": "[email protected]",
"date_of_birth": "2023-12-25",
"type": "yasmina_schengen_travel_insurance",
"quote_id": "<string>",
"bill": {
"items": {
"adult": {
"count": 123,
"price": 123,
"total": 123
}
},
"adminFees": 123
},
"price": 123,
"updated_at": "2023-11-07T05:31:56Z",
"created_at": "2023-11-07T05:31:56Z",
"travellers": [
{
"nationality": "JO",
"full_name": "Yasmina Alex",
"passport_number": "<string>",
"date_of_birth": "2023-12-25",
"relation": "<string>",
"passport_expiry_date": "2023-12-25"
}
],
"multi_entry": true,
"start_date": "2023-12-25",
"duration": 123
}Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Headers
Body
application/json
Example:
"1234567890"
Example:
"+966501234567"
Example:
Example:
false
Example:
"2025-07-27"
Example:
"1988-04-20"
Hide child attributes
Hide child attributes
ISO 3166-1 alpha-2 country code.
Available options:
AF, AL, DZ, AS, AD, AO, AI, AQ, AG, AR, AM, AW, AU, AT, AZ, BS, BH, BD, BB, BY, BE, BZ, BJ, BM, BT, BO, BA, BW, BV, BR, IO, BN, BG, BF, BI, KH, CM, CA, CV, KY, CF, TD, CL, CN, CX, CC, CO, KM, CG, CD, CK, CR, CI, HR, CU, CY, CZ, DK, DJ, DM, DO, EC, EG, SV, GQ, ER, EE, ET, FK, FO, FJ, FI, FR, GF, PF, GA, GM, GE, DE, GH, GI, GR, GL, GD, GP, GU, GT, GG, GN, GW, GY, HT, HM, VA, HN, HK, HU, IS, IN, ID, IR, IQ, IE, IM, IT, JM, JP, JE, JO, KZ, KE, KI, KP, KR, KW, KG, LA, LV, LB, LS, LR, LY, LI, LT, LU, MO, MG, MW, MY, MV, ML, MT, MH, MQ, MR, MU, YT, MX, FM, MD, MC, MN, ME, MS, MA, MZ, MM, NA, NR, NP, NL, NC, NZ, NI, NE, NG, NU, NF, MK, MP, NO, OM, PK, PW, PS, PA, PG, PY, PE, PH, PN, PL, PT, PR, QA, RE, RO, RU, RW, BL, SH, KN, LC, MF, PM, VC, WS, SM, ST, SA, SN, RS, SC, SL, SG, SX, SK, SI, SB, SO, ZA, GS, SS, ES, LK, SD, SR, SJ, SE, CH, SY, TW, TJ, TZ, TH, TL, TG, TK, TO, TT, TN, TR, TM, TC, TV, UG, UA, AE, GB, US, UM, UY, UZ, VU, VE, VN, VG, VI, WF, EH, YE, ZM, ZW Example:
"SA"
Example:
""
Example:
"G12345678"
Available options:
m, f Example:
"m"
Example:
"1982-04-20"
Example:
"self"
Example:
"2025-10-30"
Required only if multi_entry is false
Available options:
7, 10, 15, 21, 30, 60, 90, 180 Example:
10
Response
200 - application/json
Quote details
Example:
Example:
"yasmina_schengen_travel_insurance"
Hide child attributes
Hide child attributes
⌘I

