{"activeVersionTag":"latest","latestAvailableVersionTag":"latest","collection":{"info":{"_postman_id":"97109543-ee2a-46b4-9120-06b76f2e3466","name":"SMRT Developer API","description":"# Overview\nBefore you can integrate with the SMRT REST API, you must register an account at https://smrt.net. The SMRT APIs are used for developing custom solutions around the SMRT platform.\n\n# Authentication\nAll SMRT API endpoints require an authorization Bearer token to be pass in the headers.\n\n```\ncurl https://api.smrt.net/v1/CLIENTID/endpoint\n-H 'Authorization: Bearer b41604e8e433d9c392e360d53463oesd5'\n```\n\n# Error Codes\nSMRT REST APIs use HTTP status codes to indicate success or failure of an API request. In general, status codes in the 2xx range means success, 4xx range means there was an error in the provided information, and those in the 5xx range indicates server side errors. Commonly used HTTP status codes are listed below.\n\n| Status code | Description |\n| ----------- | ----------- |\n| 2xx | Success |\n| 4xx | Bad request sent to server |\n| 5xx | Server side error |\n\n| Status code | Description |\n| ----------- | ----------- |\n| 200 | Success. The request was successfully completed. |\n| 201 | Created. The request was a success and one or more resources have been created. |\n| 400 | Bad request. The request cannot be performed. Usually because of malformed parameter or missing parameter. |\n| 401 | Unauthorized (Invalid authentication token). Request was rejected because of invalid Bearer Token. |\n| 403 | Forbidden. The user does not have enough permission to access the resource. |\n| 404 | Resource Not Found. The URL you’ve sent is wrong. It’s possible that the resource you’ve requested has been moved. |\n| 405 | Method Not Allowed. The requested resource does not support the HTTP method used. |\n| 500 | Server error. SMRT servers encountered an error which prevents it from fulfilling the request. |\n\n# Rate Limit\nWe currently have no rate limit. Although when developing your application, please keep in mind that rate limiting will be setup in the near future. You should try avoiding making 1000s of calls per minute unless you have an enterprise plan.\n\n# Pagination\nSMRT API will return pagination with the response if the request is made to a result set - paginated to 10 items by default. The pagination information will be in the response under the pagination node.\n\nYou can increment the result set pagination by passing the `page` value and request how many items you want with the `limit` value.\n\nParam   | Type    | Required | Description\n------- | ------- | -------- | -----------\npage    | integer | optional | The page of the results to request.<br> <b>Default Value:</b> 1\nlimit   | integer | optional | The number of items to request for the result.<br> <b>Default Value:</b> 10\n\n# Make REST API Calls\nYou need to set the CLIENTID value from all endpoints in this documentation with the client ID of the data you want to access.\n\nExample if you want to access data for the client ID 4592 then your root endpoint will be `https://api.smrt.net/4592`\n\nAlso, include your Bearer token in the headers to prove your identity and access protected resources.","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","isPublicCollection":false,"owner":"2088474","team":57152,"collectionId":"97109543-ee2a-46b4-9120-06b76f2e3466","publishedId":"S1M2T6np","public":true,"publicUrl":"https://developer.smrt.net","privateUrl":"https://go.postman.co/documentation/2088474-97109543-ee2a-46b4-9120-06b76f2e3466","customColor":{"top-bar":"FFFFFF","right-sidebar":"4729B7","highlight":"4729B7"},"documentationLayout":"classic-double-column","version":"8.10.0","publishDate":"2019-06-24T12:56:36.000Z","activeVersionTag":"latest","documentationTheme":"light","metaTags":{},"logos":{}},"statusCode":200},"environments":[{"name":"smrt.net","id":"ec512d68-c7e8-4007-8d9d-ee1c6ac104db","owner":"2088474","values":[{"key":"$smrtnet","value":"https://account.smrt.net","description":"","enabled":true},{"key":"$smrtapi","value":"https://api.smrt.net","description":"","enabled":true},{"key":"$clientId","value":"$CLIENTID","description":"","enabled":true},{"key":"$smrtToken","value":"TOKEN","description":"","enabled":true},{"key":"token","value":"$TOKEN","description":"","enabled":true},{"key":"clientId","value":"$CLIENTID","description":"","enabled":true}],"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/17a83649d144d510b5c333f062d9810424f705aa407333482149a9ae96946628","favicon":"https://smrt.net/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":"smrt.net","value":"2088474-ec512d68-c7e8-4007-8d9d-ee1c6ac104db"}],"canonicalUrl":"https://developer.smrt.net/view/metadata/S1M2T6np"}