{"activeVersionTag":"latest","latestAvailableVersionTag":"latest","collection":{"info":{"_postman_id":"ed1b8f0c-14de-43bf-aaa3-0208f8a73a2c","name":"Livespace API","description":"## Livespace CRM external API collection with examples.\n\n### Authorization\n\nTo authorize requestes you are going to need 4 values: _API Key, API Secret, API Auth Token and Session ID._\n\nThe _API Key and API Secret_ of a selected user can be found in `Account settings > API > Users.`\n\nIn order to get the Token and Session ID use the [Get auth token ](https://api-docs.livespace.io/#bf3dd626-f140-4aeb-9301-a790706a9a54) request.\n\nWith those values you can authorize further requests using the following parameters:\n\n- __api_auth_ - with value \"key\"\n    \n- __api_key_ - _API key_ of the selected user\n    \n- __api_sha -_ SHA1 hash of the concatenated _API Key + Auth Token + API Secret_\n    \n- __api_session -_ _Session ID_\n    \n\n**The** _**Token**_ **and** _**Session ID**_ **need to be fetched each time before sending a request.**\n\nThe collection does those things automatically before each request, just remember to set the API_KEY, API_SECRET and SUBDOMAIN in collection variables.\n\n### Responses\n\nAll API calls return status code 200 with the actual status in the response like this:\n\n``` json\n{\n    \"data\": [],\n    \"error\": null,\n    \"result\": 561,\n    \"status\": false\n}\n\n ```\n\n#### Correct:\n\n| **Status code** | **Meaning** |\n| --- | --- |\n| 200 | OK |\n\n#### Method errors:\n\n| **Status code** | **Meaning** |\n| --- | --- |\n| 400 | General method error |\n| 420 | Validation error |\n\n#### API handling errors:\n\n| Status code | Meaning |\n| --- | --- |\n| 500 | General API error |\n| 514 | Incorrect module |\n| 515 | Incorrect method |\n| 516 | Incorrect output format |\n| 520 | Database communication error |\n| 530 | User not logged in |\n| 540 | No permission |\n| 550 | Parameter handling error |\n\n#### Authorization method errors:\n\n| **Status code** | **Meaning** |\n| --- | --- |\n| 560 | Incorrect method |\n| 561 | Incorrect parameters |\n| 562 | Incorrect key |\n| 563 | No authorization |\n| 564 | General error |\n\n### API IDs\n\nAPI uses dedicated IDs. To be able to see them in the application they must first be enabled in `Account settings > API > Settings`.\n\n<img src=\"https://content.pstmn.io/33853656-ece6-4ff7-b8c0-5e095a889cae/aW1hZ2UucG5n\" width=\"884\" height=\"156\">","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","isPublicCollection":false,"owner":"18953771","team":8522522,"collectionId":"ed1b8f0c-14de-43bf-aaa3-0208f8a73a2c","publishedId":"2sB2xEC9T5","public":true,"publicUrl":"https://api-docs.livespace.io","privateUrl":"https://go.postman.co/documentation/18953771-ed1b8f0c-14de-43bf-aaa3-0208f8a73a2c","customColor":{"top-bar":"FFFFFF","right-sidebar":"24293b","highlight":"00760D"},"documentationLayout":"classic-double-column","customisation":{"metaTags":[{"name":"description","value":"Livespace external API"},{"name":"title","value":""}],"appearance":{"default":"dark","themes":[{"name":"dark","logo":"https://content.pstmn.io/98b725d0-a55a-4458-b07e-e563cd6e418a/TGl2ZXNwYWNlLUxvZ28tV2hpdGUtMS5wbmc=","colors":{"top-bar":"24293b","right-sidebar":"24293b","highlight":"00760D"}},{"name":"light","logo":"https://content.pstmn.io/ef3e3553-1494-438a-a6a3-e30ca54ee6b3/TGl2ZXNwYWNlLUxvZ28tTmF2eS0xLnBuZw==","colors":{"top-bar":"FFFFFF","right-sidebar":"24293b","highlight":"00760D"}}]}},"version":"8.10.1","publishDate":"2025-11-24T13:11:28.000Z","activeVersionTag":"latest","documentationTheme":"light","metaTags":{"title":"","description":"Livespace external API"},"logos":{"logoLight":"https://content.pstmn.io/ef3e3553-1494-438a-a6a3-e30ca54ee6b3/TGl2ZXNwYWNlLUxvZ28tTmF2eS0xLnBuZw==","logoDark":"https://content.pstmn.io/98b725d0-a55a-4458-b07e-e563cd6e418a/TGl2ZXNwYWNlLUxvZ28tV2hpdGUtMS5wbmc="}},"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/d151a6e9841ec6da1329dcde6dc7f221a3e96acb47ab1bf2203161cbb50c0021","favicon":"https://livespace.io/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://api-docs.livespace.io/view/metadata/2sB2xEC9T5"}