{"activeVersionTag":"latest","latestAvailableVersionTag":"latest","collection":{"info":{"_postman_id":"fd28e1dd-5f8a-4ca5-968f-35e9b053b3cf","name":"WatchWire API","description":"The WatchWire Platform has APIs that allow you to access your data programmatically. There are several APIs designed for the modules in the WatchWire platform including - Invoice Data, Real-Time, Accounts Payable, and Measurement & Verification. All are highly scalable, and secure APIs that communicate over HTTPS RESTful protocols with JSON based documents.\n\n> **Note**: Not all WatchWire modules are available as an API.\n\n# Authentication\n\nYou need credentials to access the APIs - it is the same credentials as your WatchWire login. The `/authenticate` will return a Token that needs to be included in the header of every subsequent request. The token renews with each request and expires after 60 minutes of inactivity (at which point you will need to re-authenticate and get a new token).\n\n> Please contact the WatchWire team for any questions or request for API credential access.\n\n# Error Codes\n\nThere will be various error codes specific to the API you are using, but generally follows these principles:\n\n*   `Unauthorized` - *you are unauthenticated or unauthorized to request actions on an asset*\n*   `Asset doesn't exist` - *the item you are querying for doesn't exist*\n*   `Server error`\\- *general exception raised in our application code*\n    \n\n# Rate limit\n\nRate limited to 10 transactions per meter / second","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","isPublicCollection":false,"owner":"10583292","team":2087410,"collectionId":"fd28e1dd-5f8a-4ca5-968f-35e9b053b3cf","publishedId":"UVREjjG7","public":true,"publicUrl":"https://docs.watchwire.ai","privateUrl":"https://go.postman.co/documentation/10583292-fd28e1dd-5f8a-4ca5-968f-35e9b053b3cf","customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"EF5B25"},"documentationLayout":"classic-double-column","customisation":null,"version":"8.10.1","publishDate":"2023-03-31T21:54:37.000Z","activeVersionTag":"latest","documentationTheme":"light","metaTags":{},"logos":{}},"statusCode":200},"environments":[{"name":"Production","id":"30bcce60-4517-43bb-8ec8-1e45ac32e0db","owner":"10583292","values":[{"key":"gateway-realtime-api","value":"https://api.watchwire.ai/api/realtime","enabled":true},{"key":"variable_key","value":"variable_value","enabled":true},{"key":"gateway","value":"https://watchwire-gateway-service.herokuapp.com","enabled":true},{"key":"realtime-api","value":"https://watchwire-realtime-api.herokuapp.com","enabled":true},{"key":"token","value":"<token>","enabled":true},{"key":"invoice-api","value":"https://portal.energywatch-inc.com/api/v2","enabled":true},{"key":"customMeterId","value":"10221","enabled":true},{"key":"sustainability-api-aws","value":"https://awseast.app.watchwire.ai/api/sustainability","enabled":true,"type":"default"},{"key":"accountsPayable-integration","value":"https://api.watchwire.ai/api/accounts-payable","enabled":true,"type":"default"},{"key":"accountsPayable-aws","value":"https://api.watchwire.ai/api/accounts-payable","enabled":true,"type":"default"},{"key":"accountsPayable-native","value":"https://awseast.app.watchwire.ai/api/accounts-payable","enabled":true,"type":"default"},{"key":"onboarding-aws","value":"https://awseast.app.watchwire.ai/api/onboarding","enabled":true,"type":"default"},{"key":"realtime-heroku","value":"https://watchwire-realtime-api.herokuapp.com","enabled":true,"type":"default"},{"key":"realtime-aws","value":"https://awseast.app.watchwire.ai/api/realtime","enabled":true,"type":"default"},{"key":"realtime-native","value":"https://awseast.app.watchwire.ai/api/realtime","enabled":true,"type":"default"},{"key":"portal-url","value":"https://portal.watchwire.ai","enabled":true,"type":"default"},{"key":"watchwire","value":"https://app.watchwire.ai","enabled":true,"type":"default"},{"key":"emailapi1","value":"watchwireqaapi1@gmail.com","enabled":true,"type":"default"},{"key":"emailapi2","value":"watchwireqaapi2@gmail.com","enabled":true,"type":"default"},{"key":"emailqa","value":"qawwclient@gmail.com","enabled":true,"type":"default"},{"key":"emailapi3-hormel","value":"watchwireqaapi3-hormel@gmail.com","enabled":true,"type":"default"},{"key":"emailqueens","value":"qaclientqueens@gmail.com","enabled":true,"type":"default"},{"key":"password","value":"3N3rgy2022!","enabled":true,"type":"default"},{"key":"platform","value":"","enabled":true,"type":"default"},{"key":"discoveryService-heroku","value":"https://watchwire-discovery-service.herokuapp.com","enabled":true,"type":"default"},{"key":"gatewayService-heroku","value":"https://watchwire-gateway-service.herokuapp.com","enabled":true,"type":"default"},{"key":"apiUrl","value":"https://aws.app.watchwire.ai/api/accounts-payable","enabled":true,"type":"default"},{"key":"auth-ww-ext","value":"https://api.watchwire.ai","enabled":true,"type":"default"},{"key":"controlCode","value":"SampleBill.pdf","enabled":true,"type":"default"},{"key":"accountId","value":"37765","enabled":true,"type":"default"},{"key":"clientId","value":"1117776","enabled":true,"type":"default"},{"key":"preSignedUrl","value":"","enabled":true,"type":"any"},{"key":"uuid","value":"","enabled":true,"type":"any"},{"key":"line_item_uuid","value":"","enabled":true,"type":"any"},{"key":"meterReadingId","value":"515142455","enabled":true,"type":"any"},{"key":"realtime-integration","value":"https://api.watchwire.ai/api/realtime","enabled":true,"type":"default"},{"key":"platform-full","value":"","enabled":true,"type":"default"},{"key":"ww-api-baseurl","value":"https://api.watchwire.ai/api","enabled":true,"type":"default"},{"key":"portal-api-baseurl","value":"https://portal.watchwire.ai/api/v2","enabled":true,"type":"default"},{"key":"gateway-ap-api","value":"https://api.watchwire.ai/api/accounts-payable","enabled":true},{"key":"todayDate","value":"","enabled":true,"type":"any"},{"key":"yesterdayDate","value":"","enabled":true,"type":"any"},{"key":"meterId","value":"","enabled":true,"type":"any"},{"key":"id","value":"","enabled":true,"type":"any"}],"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/1116a851d788e975e4172ae58100a8098a35b947f358c37f6957ed1c90460429","favicon":"https://watchwire.ai/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":"Production","value":"10583292-30bcce60-4517-43bb-8ec8-1e45ac32e0db"}],"canonicalUrl":"https://docs.watchwire.ai/view/metadata/UVREjjG7"}