HTTP Identity Read


Request


Retrieve your Identity:

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

Retrieve another user's Identity:

GET https://api.flowthings.io/v0.1/<account_id>/identity/<identity_id>

Note: when retrieving an Identity other than your own all sensitive data will be excluded

Headers

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

Example


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

Response

HTTP Codes

CodeDescription
200Success
400Bad Request
401Unauthorized
503Service Unavailable

Example Response Body

{
  "head": {
    "status": 200,
    "ok": true,
    "errors": [],
    "messages": [ "Your request has been processed successfully." ]
  },
  "body": {
    "id" : "i54932047d4c67eee1cbdbd31",
    "creationDate" : 1418928199361,
    "email" : "[email protected]",
    "firstName" : "Alice",
    "groupIds" : [ ],
    "lastEditDate" : 1420218965644,
    "lastName" : "Mouser",
    "masterToken" : "YCQIj3HGoKZA7ujzXFvIXx8zK4Xc392Z",
    "name" : "alice",
    "shares" : { }
    }
}