This endpoint retrieves an account's profile information.
GET https://sleepdata.org/api/v1/account/profile.json
null
Get account information
curl -i https://sleepdata.org/api/v1/account/profile.json?auth_token=<AUTH_TOKEN>
The above command returns JSON structured like this:
{ "authenticated":true, "username":"remomueller", "full_name":"Remo Mueller", "first_name":"Remo", "last_name":"Mueller", "email":"remomueller@example.com" }
An unsuccessful authentication will result in the following response:
{ "authenticated":false }
There was an error while loading. Please reload this page.