{"activeVersionTag":"latest","latestAvailableVersionTag":"latest","collection":{"info":{"_postman_id":"87b18d2c-30f8-446f-8acf-5e98c5d65049","name":"Wisepill API V1.2 (evriMED Smart Pillbox)","description":"The evriMED1000C and RT3000 smart pillboxes are designed and manufactured by Wisepill Technologies in Cape Town, South Africa.\n\nThe Wisepill API provides the functionality required to:\n\n- Manage, configure, and view smart pill box device settings and information\n    \n- Store and view events ( pill box openings, device heartbeats, etc. ) and episodes from smart pill box devices\n    \n- Monitor key device parameters such as battery charge and signal strength\n    \n- Manage and monitor medication adherence which includes the \"last pillbox opened status (last opened) and the last pillbox seen status (last seen)\n    \n- Update and maintain an adherence string for every episode\n    \n\n<u><b>API Functions</b></u>\n\nThe Wisepill API conforms to the OpenAPI Specification ([https://www.openapis.org/](https://www.openapis.org/)) which defines a standard interface to RESTful APIs.\n\nThe API contains APIs for general use and APIs reserved for ADMIN functions only. USER and ADMIN API keys are provided on request to evriMED clients. Please contact [support@wisepill.com](https://mailto:support@wisepill.com) for API key requests and API support)\n\n<u><b>Sandbox and Main URL</b></u>\n\nThe sandbox API uses [https://evrimed.wisepill.com/sbapi/](https://evrimed.wisepill.com/sbapi/)\n\nThe Main API uses [https://evrimed.wisepill.com/api/](https://evrimed.wisepill.com/sbapi/)\n\n<u><b>Adherence String</b></u>\n\nThe adherence string is used in conjunction with the episode_start _date. The first digit in the string applies to the episode__start_date day. The following days are encoded into the subsequent positions in the string.\n\nE.g. \"001,92,1,1,1,1,9,1\"\n\n| **Adherence Code** | **Description** |\n| --- | --- |\n| 0 | No data received yet for this day. This will e replaced by a 9 or a 1 or a 2 if the device connects again. |\n| 1 | An intake was received on this day |\n| 2 | More than one intake was received on this day |\n| 9 | Only a device heartbeat was received on this day. No intakes have yet been received. Note that this number may be replaced by a 1 or a 2 when the device connects again. |\n\n<u><b>Device Status</b></u>\n\nThe evriMED smart pillbox device can have one of the statuses in the following table.\n\n| **Device Status** | **Description** |\n| --- | --- |\n| 1 | Device linked to an episode (autogenerated) |\n| 2 | Device available (autogenerated) |\n| 3 | Lost or damaged device (set manually) |\n| 9 | Device is unavailable (set manually) |\n\n<u><b>Episode Status</b></u>\n\nAn Episode can have one of the following modes:\n\n| **Episode Status** | **Description** |\n| --- | --- |\n| 2 | Episode closed |\n| 1 | Episode Open |\n\n<u><b>Device Types</b></u>\n\nThe following Wisepill smart pillboxes are supported:\n\n| **Type** | **Description** |\n| --- | --- |\n| 2 | evriMED1000C smart pillbox. The evriMED1000C is a modular system that is available in a number of different form factors including desktop and soft bag formats (See wisepill.com/evrimed) |\n| 4 | RT3000 desktop pillbox |\n\n<u><b>Device Battery Voltage</b></u>\n\nThe Wisepill pillbox devices regularly report their battery status to the Wisepill Cloud. The devices are designed to work for a full 6-month TB episode. The battery voltage is reported in millivolts and will have a maximum of 4200mV. The battery health can be characterized as follows:\n\n| **Battery Voltage Range in millivolts** | **Battery Status** |\n| --- | --- |\n| 3850 to 4200 | Good |\n| 3750 to 3850 | Medium |\n| 3650 to 3750 | Low |\n| Below 3650 | Critical |\n\nDevice Signal\n\nThe Wisepill pillbox regularly reports the signal strength with which it is able to communicate with the cell towers. The signal quality can be characterized as follows:\n\n| **Signal Strength** | **Signal Quality** |\n| --- | --- |\n| 20 - 31 | Excellent |\n| 15-19 | Good |\n| 10-14 | Acceptable |\n| 5-9 | Low |\n| 0-4 | Poor |\n| 99 | Unknown |\n\n<u><b>API Result Codes&nbsp;</b></u> \n\n<img src=\"https://content.pstmn.io/cb9a349b-9983-4a10-9426-bca3c9ec1e44/aW1hZ2UucG5n\" alt=\"Result%20Codes\" width=\"454\" height=\"833\">\n\n<u><b>HTTP Status Codes&nbsp;</b></u> \n\nSee [https://www.iana.org/assignments/http-status-codes/http-status-codes.xhtml](https://www.iana.org/assignments/http-status-codes/http-status-codes.xhtmlResult)","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","isPublicCollection":true,"owner":"12754609","team":4354138,"collectionId":"87b18d2c-30f8-446f-8acf-5e98c5d65049","publishedId":"2sA3XLFjUD","public":true,"publicUrl":"https://evrimedapi.wisepill.com","privateUrl":"https://go.postman.co/documentation/12754609-87b18d2c-30f8-446f-8acf-5e98c5d65049","customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"FF6C37"},"documentationLayout":"classic-double-column","customisation":{"metaTags":[{"name":"description","value":""},{"name":"title","value":""}],"appearance":{"default":"light","themes":[{"name":"dark","logo":null,"colors":{"top-bar":"212121","right-sidebar":"303030","highlight":"FF6C37"}},{"name":"light","logo":null,"colors":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"FF6C37"}}]}},"version":"8.11.4","publishDate":"2025-04-15T09:34:47.000Z","activeVersionTag":"latest","documentationTheme":"light","metaTags":{"title":"","description":""},"logos":{"logoLight":null,"logoDark":null}},"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/dcd93f76f0a9c5a9db22ff70276f011b1cc76b39cd5cddd3b44606097ffb171e","favicon":"https://res.cloudinary.com/postman/image/upload/v1681560122/team/vnmsvhfi182a2azblxu7.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://evrimedapi.wisepill.com/view/metadata/2sA3XLFjUD"}