get https://enerflo.io/api/auth/user
Use the value of the access_token
returned from api/auth/login
. Provide that value as your Bearer token.
{
"access_token": "ABC123",
"token_type": "Bearer",
"expires_at": "2024-05-02 17:48:08"
}
curl --request GET \
--url https://enerflo.io/api/auth/user \
--header 'accept: application/json' \
--header 'authorization: Bearer ABC123'