Token Read


Request


GET https://api.flowthings.io/v0.1/<account_id>/token/<tokenId>

Headers

NameDescription
Content-Typeapplication/json
X-Auth-TokenAuthentication Token

Response


HTTP Codes

CodeDescription
200Resource Found
400Bad Request
401Unauthorized
503Service Unavailable

Example Response Body

  {
      "head": {
          "status": 200,
          "ok": true,
          "messages": [
              "Your request has been processed successfully."
          ],
          "errors": []
      },
      "body": {
          "id": "k548b20f2d4c63c0634ad3cc8",
          "creationDate": 1409455732680,
          "tokenString": "SSOjDZ4VMHS2JcwT1sIpE8x91QfG",
          "paths": {
                "/alice/homesecurity/thermostat" : {
                    "dropRead" : true,
                    "dropWrite": true
                },
                "/alice/homesecurity/reports" : {
                    "dropRead" : false,
                    "dropWrite": true
                }
           },
           "duration" : 60000,
           "expiresInMs" : 46724
      }
  }