On page: https://dev.freeagent.com/docs/users#get-personal-profile
The JSON example states that the key to retrieve the desired response data is “user
”. Your system is returning the data under the key: users
Also, the JSON shows that you have user => array of attributes
but in-fact, the response is actually users => 2D array
with only 1 element.
So basically, the api response for users/me
is the same structure as the api response for listing all users /users
, but the docs imply it is the same structure as that for users/:id