{"activeVersionTag":"latest","latestAvailableVersionTag":"latest","collection":{"info":{"_postman_id":"d8ce6c71-a0fd-4092-a34e-0c8ba54769b0","name":"Hotelinking Api","description":"\nThe Hotelinking Api allows you to programmatically retrieve information from your guests.\n\n# Overview\n1. You need a valid [API Key](#authentication) to send requests to the API endpoints. You can get your key contacting us for an [integration](#contact).\n2. The API has an [access rate limit](#rate-limits) applied to it.\n3. Response to every request is sent in JSON format.\n\n# Authentication\nAn API Key is required to be sent as part of every request, in the form of an **X-Api-Key** request header.\n\nIf you do not have an API Key, you need to [contact](#contact) us to get one.\n\nAn API Key tells our API server that the request it received came from you. \n\n## API Key related error response\nIf an API Key is missing, malformed, or invalid, you will receive a *403 Forbidden* response code and the following JSON response:\n\n    {\n        \"Message\": \"User is not authorized to access this resource with an explicit deny\"\n    }\n\n# Rate limits\nAPI access rate limits are applied at a per-key basis in unit time. Access to the API using a key has some limit configured for each API key. \n\nOnce you hit the rate limit, you will receive a response similar to the following JSON, with a status code of *429 Too Many Requests*.\n\n    {\n        \"Message\": \"Rate Limit exceeded\"\n    }\n\nIn case that you need more rate limits, please [contact us](#contact)\n\n\n# Test server\n\nIf you need we have available a mock server, to test this requests, here's the mock server to try it out:\n\nYou can get the [collection](https://api.postman.com/collections/13480176-4a7ba9c1-78d2-4005-b289-265d3b808999?access_key=PMAT-01H6V9WXPREAA0RVNB14F1QXPN)\n\nYou can use the provided [environment](https://hotelinking.postman.co/workspace/Hotelinking-~009cba92-ca02-4e6a-8114-b449732c4cfa/environment/13480176-d4ea54e4-dd97-4f85-9d5f-7b276425aab5)\n\nThe URL for this server is: [https://aac55c40-98c9-45dc-9505-9494d038283f.mock.pstmn.io](https://aac55c40-98c9-45dc-9505-9494d038283f.mock.pstmn.io)\n\nYou can use all the requests available here witht this mocked server, and tests differents response codes.\n\nHere's an example:\n\nRequest \"List Brand Users\":\n\ncURL request:\n\n    {   \n    \"curl --location 'https://aac55c40-98c9-45dc-9505-9494d038283f.mock.pstmn.io/brands/76/gdpr?lang=es'         --data ''\"\n    }\n\nThis will return a 200 OK with mock data.\n\nIf you wish to try a different responde code (I.E. a 400), you can pass the header x-mock-response-code, in the headers, to mock this response.\n\ncURL request:\n\n    {\n        \"curl --location 'https://aac55c40-98c9-45dc-9505-9494d038283f.mock.pstmn.io/brands/76/gdpr?lang=es'         --header 'x-mock-response-code: 400'         --data ''\"\n    }\n\nYou can view the full documentation of this mock server, [here](https://documenter.getpostman.com/view/13480176/2s9XxwusyU)\n\n\n# Support\nFor any need of support you can contact us by send a [e - mail](#contact) or contacting your Key Account manager.\n\nIn the event you receive a *503/ 504 * response from our servers, it implies that we have hit an unexpected spike in API access traffic and would usually be operational within the next 5 minutes.If the outage persists, or your receive any other form of * 5XX error *, kindly let us know.\n\n# Contact\n**[Hotelinking](https://hotelinking.com)**\n\nemail: integrations@hotelinking.com\n\n----\n# Hotelinking Api Reference\n        ","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","isPublicCollection":false,"owner":"6941995","team":304219,"collectionId":"d8ce6c71-a0fd-4092-a34e-0c8ba54769b0","publishedId":"2s8YY9uRex","public":true,"publicUrl":"https://developers.hotelinking.com","privateUrl":"https://go.postman.co/documentation/6941995-d8ce6c71-a0fd-4092-a34e-0c8ba54769b0","customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"EF5B25"},"documentationLayout":"classic-single-column","customisation":null,"version":"8.11.4","publishDate":"2022-11-03T12:03:16.000Z","activeVersionTag":"latest","documentationTheme":"light","metaTags":{},"logos":{}},"statusCode":200},"environments":[],"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/e3ae7dd0560f06134831373243495c5a8b5bf79493ce8fd093e120ca1fd094ed","favicon":"https://hotelinking.com/favicon.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"}],"canonicalUrl":"https://developers.hotelinking.com/view/metadata/2s8YY9uRex"}