{"activeVersionTag":"latest","latestAvailableVersionTag":"latest","collection":{"info":{"_postman_id":"ee8a6e13-6451-4f8b-9e94-692d7e57f0fd","name":"Viagem API","description":"Welcome to the official **API documentation** for the **Viagem** platform. This documentation provides all the information you need to interact with our endpoints to manage **listings, companies,** and **users.**\n\n> 💡 This documentation is built with **Postman**. You can open it directly in Postman to:  \n\\- Send test requests **without writing code**.  \n\\- **Inspect** request/response structures in detail.  \n\\- Generate ready-to-use code snippets for **multiple programming languages**.  \n\\- **Save** and **organize** your own API workflows for **faster development**. \n  \n\n## Overview\n\nThe Viagem API allows you to programmatically interact with the Viagem platform, enabling you to manage property listings, companies, sellers, and authentication.\n\n## Version Information\n\n**Current Version:** 1.0.0  \n**Last Updated:** 30.9. 2025\n\n---\n\n## Authentication\n\n### **The Golden Rule: Authentication**\n\nNearly all endpoints in this API require authentication. Our system uses a custom token-based method that defines how you make requests. This is the most **important rule** for using our API.\n\n**To authenticate any request, you must:**\n\n1. Use the `POST` method.\n    \n2. Include the following two fields in the `form-data` body of your request:\n    \n\n| Key | Type | Description |\n| --- | --- | --- |\n| `user_login` | String | Your user login identifier. |\n| `token_short` | String | Your short-lived authentication token. |\n\n_Only 2 public endpoints_ _do not require this. They are specified in the Authentication & Tokens chapter._\n\n---\n\n### Authentication Flow\n\n1. Generate a long token using your login credentials\n    \n2. Use the long token to generate a short token\n    \n3. Use the short token for all subsequent API requests\n    \n\n## **Access Levels**\n\nYour account permissions determine what you are allowed to do via the API.\n\n### **Standard User**\n\nThis is the default access level for all users.\n\n- **Permissions:** You can create, edit, and delete **your own** listings.\n    \n- **Limitations:** You cannot manage listings for other users or access company-wide features.\n    \n\n### **Company User**\n\nThis is a privileged access level for company administrators.\n\n- **Permissions:** In addition to managing your own listings, you can manage listings for **other users within your company**.\n    \n- **Capabilities:** Allows assigning listings to **different sellers** and using custom identifiers of your listings.\n    \n\nTo gain **Company privileges** or for any other **support questions**, please email us at:\n\n<a href=\"mailto:dostal@viagem.cz\"><b>dostal@viagem.cz</b></a>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","isPublicCollection":false,"owner":"47812738","team":9692522,"collectionId":"ee8a6e13-6451-4f8b-9e94-692d7e57f0fd","publishedId":"2sB3BLj7XN","public":true,"publicUrl":"https://api.viagem.cz","privateUrl":"https://go.postman.co/documentation/47812738-ee8a6e13-6451-4f8b-9e94-692d7e57f0fd","customColor":{"top-bar":"fff","right-sidebar":"ccc","highlight":"2093d5"},"documentationLayout":"classic-single-column","customisation":{"metaTags":[{"name":"description","value":"Oficiální API dokumentace pro Viagem platform. Postaveno v Postman, takže můžeš rychle testovat endpoints, posílat requests, kouknout na responses a generovat code snippets pro svoje integrace"},{"name":"title","value":""}],"appearance":{"default":"light","themes":[{"name":"dark","logo":"https://content.pstmn.io/8f18855e-dd44-4aea-ab9c-6c2c03965299/dmlhZ2VtLXdhdGVybWFyay5wbmc=","colors":{"top-bar":"121212","right-sidebar":"2C2C2C","highlight":"2093D5"}},{"name":"light","logo":"https://content.pstmn.io/b01bd464-1076-4852-a028-32b0eb9c7381/dmlhZ2VtLWxvZ28ucG5n","colors":{"top-bar":"fff","right-sidebar":"ccc","highlight":"2093d5"}}]}},"version":"8.10.1","publishDate":"2025-08-26T13:09:56.000Z","activeVersionTag":"latest","documentationTheme":"light","metaTags":{"title":"","description":"Oficiální API dokumentace pro Viagem platform. Postaveno v Postman, takže můžeš rychle testovat endpoints, posílat requests, kouknout na responses a generovat code snippets pro svoje integrace"},"logos":{"logoLight":"https://content.pstmn.io/b01bd464-1076-4852-a028-32b0eb9c7381/dmlhZ2VtLWxvZ28ucG5n","logoDark":"https://content.pstmn.io/8f18855e-dd44-4aea-ab9c-6c2c03965299/dmlhZ2VtLXdhdGVybWFyay5wbmc="}},"statusCode":200},"environments":[{"name":"prod","id":"cf470196-a7b1-41f4-8de6-8a4948934f34","owner":"47812738","values":[{"key":"baseUrl","value":"viagem.cz/api/","enabled":true,"type":"default","description":""}],"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/35edab69aaf21b8047a16425da733f4154bdbbd203d935cb06f90c9a8c19540b","favicon":"https://viagem.cz/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"},{"label":"prod","value":"47812738-cf470196-a7b1-41f4-8de6-8a4948934f34"}],"canonicalUrl":"https://api.viagem.cz/view/metadata/2sB3BLj7XN"}