API - whoami


Gets the client information and the scopes based on the access token used.

Prerequisite Method URI Request Body
none GET /api/v1/whoami none

Response Sample:

200 OK
{
    "code": "care_home_test",
    "name": "Care Home Test Company",
    "processing_tz": 0,
    "scopes": [
        "add-entity",
        "get-entity",
        "add-data-stream-type",
        "get-data-stream-type",
        "add-data",
        "get-data",
        "get-processed-data",
        "get-indicators",
        "get-alerts",
        "get-pattern"
    ]
}