{"activeVersionTag":"latest","latestAvailableVersionTag":"latest","collection":{"info":{"_postman_id":"ea9c23ac-f7d4-40a1-96db-143aace88bb6","name":"SabeeApp Connect API","description":"SabeeApp Connect API is a Restful API for serving hotel inventory, hotel availability and booking information to Connectivity Clients and sending prices and bookings to SabeeApp.  \nThis documentation describes the implementations flow of API calls from Connectivity Clients to the SabeeApp.\n\n**Version 1.**\n\n# Authentication\n\nWe authenticate with api key what the client must to send in each request header.  \nWe use a whitelist of IPs and check it at every request.\n\n# Request\n\nAll API requests from Connectivity Clients must be send as a HTTP GET or HTTP POST request and must use UTF-8 encoding. The Content-Type will be set to application/json. In all requests in the header the client has to send the **api key** for authentication and the **version number** for API version. The api key is generated by the SabeeApp.\n\nWith one api key and ip address the client can send 160 calls in 1 minutes per request.\n\n#### Endpoint URL\n\n> The basic URL of the endpoint: [https://api.sabeeapp.com/connect/](https://) \n  \n\n# Response\n\nContentType: application/json\n\nEach response consists of the following structure:\n\n| Field | Type | Description |\n| --- | --- | --- |\n| success | boolean | true/false |\n| errors | array | Array of JSON objects representing the errors. If has error the success is allways **false**. If has not error, this array is empty.  <br>**ret_code:** integer  <br>_Return code of error._**ret_msg:** string  <br>_Return text of error._ |\n| warnings | array | Array of JSON objects representing the warnings. If has warning but the errors is empty the success is allways **true**. If has not warning, this array is not set or empty.  <br>**ret_code:** integer  <br>_Return code of warning._**ret_msg:** string  <br>_Return text of warning._ |\n| data | object | Response data object. The object's data type can be different depends from the endpoint. If has error, this object is not set. |\n\nResponses can return the following status codes:\n\n- 200 OK - Successfull response.\n    \n- 401 Unauthorized - Authentication faild.\n    \n- 403 Forbidden - The server understood the request, but is refusing to authorize it.\n    \n- 404 Not Found - The request URL not found.\n    \n- 503 Service Unavailable - Request limit exceeded.\n    \n- 500 Internal Server Error - Unexpected error occurred.\n    \n\n# JSON Data Types\n\nThe API uses the following data types:\n\n- **string** - Strings must have quote marks around them. Do not use control characters like \\\\r, \\\\n, or \\\\t in strings.\n    \n- **integer** - Integers should not have quotes around them. It can be used for example to represent ID-s or number of guests.\n    \n- **number** - Numbers should not have quotes around them. It can be used for example to represent prices. Numbers can also have decimal points if needed.\n    \n- **boolean** - Can only be the word true or false. Booleans should not have quotes around them.\n    \n- **array** - List of any items. Arrays must have square bracket marks around them.\n    \n- **object** - JSON object. It must have square braces marks around them.","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","isPublicCollection":false,"owner":"708032","team":66182,"collectionId":"ea9c23ac-f7d4-40a1-96db-143aace88bb6","publishedId":"RVnZhJ7M","public":true,"publicUrl":"https://connect.sabeeapp.com","privateUrl":"https://go.postman.co/documentation/708032-ea9c23ac-f7d4-40a1-96db-143aace88bb6","customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"3498DB"},"documentationLayout":"classic-double-column","customisation":{"metaTags":[{"name":"description","value":""},{"name":"title","value":""}],"appearance":{"default":"light","themes":[{"name":"dark","logo":"https://content.pstmn.io/0221785f-6ffe-4aa4-aeb9-a5de97ef8467/bG9nb19ibHVlLnBuZw==","colors":{"top-bar":"212121","right-sidebar":"303030","highlight":"FF6C37"}},{"name":"light","logo":"https://content.pstmn.io/432d15e9-6f87-46a6-9b55-3134ca3ef10b/bG9nb19ibHVlLnBuZw==","colors":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"3498DB"}}]}},"version":"8.10.1","publishDate":"2025-11-13T13:33:11.000Z","activeVersionTag":"latest","documentationTheme":"light","metaTags":{"title":"","description":""},"logos":{"logoLight":"https://content.pstmn.io/432d15e9-6f87-46a6-9b55-3134ca3ef10b/bG9nb19ibHVlLnBuZw==","logoDark":"https://content.pstmn.io/0221785f-6ffe-4aa4-aeb9-a5de97ef8467/bG9nb19ibHVlLnBuZw=="}},"statusCode":200},"environments":[{"name":"Production","id":"23b2fb51-d301-48f3-b3dc-a95734f19f76","owner":"708032","values":[{"key":"url","value":"https://api.sabeeapp.com","enabled":true,"type":"default"},{"key":"apiKey","value":"YOUR_API_KEY","enabled":true,"type":"default"},{"key":"apiVersion","value":"1","enabled":true,"type":"default"},{"key":"hotelID","value":"YOUR_HOTEL_ID","enabled":true,"type":"default"},{"key":"roomID1","value":"3245","enabled":true,"type":"default"},{"key":"roomID2","value":"2475","enabled":true,"type":"default"},{"key":"roomID3","value":"16834","enabled":true,"type":"default"},{"key":"ratePlanIDMaster","value":"0","enabled":true,"type":"default"},{"key":"ratePlanID1","value":"48950","enabled":true,"type":"default"},{"key":"ratePlanID2","value":"49453","enabled":true,"type":"default"}],"published":true}],"user":{"authenticated":false,"permissions":{"publish":false}},"run":{"button":{"js":"https://run.pstmn.io/button.js","css":"https://run.pstmn.io/button.css"}},"web":"https://www.getpostman.com/","team":{"logo":"https://res.cloudinary.com/postman/image/upload/t_team_logo_pubdoc/v1/team/0eaeeb109f5cbe7c8339069b181d86dd28cc2e344b98bfb79cf5278acce6684f","favicon":"https://res.cloudinary.com/postman/image/upload/v1763557779/team/e440952d3a305f14936f17740041485b.ico"},"isEnvFetchError":false,"languages":"[{\"key\":\"csharp\",\"label\":\"C#\",\"variant\":\"HttpClient\"},{\"key\":\"csharp\",\"label\":\"C#\",\"variant\":\"RestSharp\"},{\"key\":\"curl\",\"label\":\"cURL\",\"variant\":\"cURL\"},{\"key\":\"dart\",\"label\":\"Dart\",\"variant\":\"http\"},{\"key\":\"go\",\"label\":\"Go\",\"variant\":\"Native\"},{\"key\":\"http\",\"label\":\"HTTP\",\"variant\":\"HTTP\"},{\"key\":\"java\",\"label\":\"Java\",\"variant\":\"OkHttp\"},{\"key\":\"java\",\"label\":\"Java\",\"variant\":\"Unirest\"},{\"key\":\"javascript\",\"label\":\"JavaScript\",\"variant\":\"Fetch\"},{\"key\":\"javascript\",\"label\":\"JavaScript\",\"variant\":\"jQuery\"},{\"key\":\"javascript\",\"label\":\"JavaScript\",\"variant\":\"XHR\"},{\"key\":\"c\",\"label\":\"C\",\"variant\":\"libcurl\"},{\"key\":\"nodejs\",\"label\":\"NodeJs\",\"variant\":\"Axios\"},{\"key\":\"nodejs\",\"label\":\"NodeJs\",\"variant\":\"Native\"},{\"key\":\"nodejs\",\"label\":\"NodeJs\",\"variant\":\"Request\"},{\"key\":\"nodejs\",\"label\":\"NodeJs\",\"variant\":\"Unirest\"},{\"key\":\"objective-c\",\"label\":\"Objective-C\",\"variant\":\"NSURLSession\"},{\"key\":\"ocaml\",\"label\":\"OCaml\",\"variant\":\"Cohttp\"},{\"key\":\"php\",\"label\":\"PHP\",\"variant\":\"cURL\"},{\"key\":\"php\",\"label\":\"PHP\",\"variant\":\"Guzzle\"},{\"key\":\"php\",\"label\":\"PHP\",\"variant\":\"HTTP_Request2\"},{\"key\":\"php\",\"label\":\"PHP\",\"variant\":\"pecl_http\"},{\"key\":\"powershell\",\"label\":\"PowerShell\",\"variant\":\"RestMethod\"},{\"key\":\"python\",\"label\":\"Python\",\"variant\":\"http.client\"},{\"key\":\"python\",\"label\":\"Python\",\"variant\":\"Requests\"},{\"key\":\"r\",\"label\":\"R\",\"variant\":\"httr\"},{\"key\":\"r\",\"label\":\"R\",\"variant\":\"RCurl\"},{\"key\":\"ruby\",\"label\":\"Ruby\",\"variant\":\"Net::HTTP\"},{\"key\":\"shell\",\"label\":\"Shell\",\"variant\":\"Httpie\"},{\"key\":\"shell\",\"label\":\"Shell\",\"variant\":\"wget\"},{\"key\":\"swift\",\"label\":\"Swift\",\"variant\":\"URLSession\"}]","languageSettings":[{"key":"csharp","label":"C#","variant":"HttpClient"},{"key":"csharp","label":"C#","variant":"RestSharp"},{"key":"curl","label":"cURL","variant":"cURL"},{"key":"dart","label":"Dart","variant":"http"},{"key":"go","label":"Go","variant":"Native"},{"key":"http","label":"HTTP","variant":"HTTP"},{"key":"java","label":"Java","variant":"OkHttp"},{"key":"java","label":"Java","variant":"Unirest"},{"key":"javascript","label":"JavaScript","variant":"Fetch"},{"key":"javascript","label":"JavaScript","variant":"jQuery"},{"key":"javascript","label":"JavaScript","variant":"XHR"},{"key":"c","label":"C","variant":"libcurl"},{"key":"nodejs","label":"NodeJs","variant":"Axios"},{"key":"nodejs","label":"NodeJs","variant":"Native"},{"key":"nodejs","label":"NodeJs","variant":"Request"},{"key":"nodejs","label":"NodeJs","variant":"Unirest"},{"key":"objective-c","label":"Objective-C","variant":"NSURLSession"},{"key":"ocaml","label":"OCaml","variant":"Cohttp"},{"key":"php","label":"PHP","variant":"cURL"},{"key":"php","label":"PHP","variant":"Guzzle"},{"key":"php","label":"PHP","variant":"HTTP_Request2"},{"key":"php","label":"PHP","variant":"pecl_http"},{"key":"powershell","label":"PowerShell","variant":"RestMethod"},{"key":"python","label":"Python","variant":"http.client"},{"key":"python","label":"Python","variant":"Requests"},{"key":"r","label":"R","variant":"httr"},{"key":"r","label":"R","variant":"RCurl"},{"key":"ruby","label":"Ruby","variant":"Net::HTTP"},{"key":"shell","label":"Shell","variant":"Httpie"},{"key":"shell","label":"Shell","variant":"wget"},{"key":"swift","label":"Swift","variant":"URLSession"}],"languageOptions":[{"label":"C# - HttpClient","value":"csharp - HttpClient - C#"},{"label":"C# - RestSharp","value":"csharp - RestSharp - C#"},{"label":"cURL - cURL","value":"curl - cURL - cURL"},{"label":"Dart - http","value":"dart - http - Dart"},{"label":"Go - Native","value":"go - Native - Go"},{"label":"HTTP - HTTP","value":"http - HTTP - HTTP"},{"label":"Java - OkHttp","value":"java - OkHttp - Java"},{"label":"Java - Unirest","value":"java - Unirest - Java"},{"label":"JavaScript - Fetch","value":"javascript - Fetch - JavaScript"},{"label":"JavaScript - jQuery","value":"javascript - jQuery - JavaScript"},{"label":"JavaScript - XHR","value":"javascript - XHR - JavaScript"},{"label":"C - libcurl","value":"c - libcurl - C"},{"label":"NodeJs - Axios","value":"nodejs - Axios - NodeJs"},{"label":"NodeJs - Native","value":"nodejs - Native - NodeJs"},{"label":"NodeJs - Request","value":"nodejs - Request - NodeJs"},{"label":"NodeJs - Unirest","value":"nodejs - Unirest - NodeJs"},{"label":"Objective-C - NSURLSession","value":"objective-c - NSURLSession - Objective-C"},{"label":"OCaml - Cohttp","value":"ocaml - Cohttp - OCaml"},{"label":"PHP - cURL","value":"php - cURL - PHP"},{"label":"PHP - Guzzle","value":"php - Guzzle - PHP"},{"label":"PHP - HTTP_Request2","value":"php - HTTP_Request2 - PHP"},{"label":"PHP - pecl_http","value":"php - pecl_http - PHP"},{"label":"PowerShell - RestMethod","value":"powershell - RestMethod - PowerShell"},{"label":"Python - http.client","value":"python - http.client - Python"},{"label":"Python - Requests","value":"python - Requests - Python"},{"label":"R - httr","value":"r - httr - R"},{"label":"R - RCurl","value":"r - RCurl - R"},{"label":"Ruby - Net::HTTP","value":"ruby - Net::HTTP - Ruby"},{"label":"Shell - Httpie","value":"shell - Httpie - Shell"},{"label":"Shell - wget","value":"shell - wget - Shell"},{"label":"Swift - URLSession","value":"swift - URLSession - Swift"}],"layoutOptions":[{"value":"classic-single-column","label":"Single Column"},{"value":"classic-double-column","label":"Double Column"}],"versionOptions":[],"environmentOptions":[{"value":"0","label":"No Environment"},{"label":"Production","value":"708032-23b2fb51-d301-48f3-b3dc-a95734f19f76"}],"canonicalUrl":"https://connect.sabeeapp.com/view/metadata/RVnZhJ7M"}