Retrieves your user based on your Anaplan authentication token.
This helps an integration confirm which account is making the request and validate the identity under which permissions are being applied.
Method and endpoint
/users/me
Curl example
curl -X GET \
https://api.anaplan.com/2/0/users/me \
-H 'authorization: AnaplanAuthToken {anaplan_auth_token}' \
-H 'Content-Type:application/json'
Response
Response 200 (application/json)
{
"meta":{
"schema":"https://api.anaplan.com/2/0/objects/user"
},
"user":{
"id":"8a8b844a477d5da70147d150ee080b17",
"active":true,
"email":"a.user@anaplan.com",
"emailOptIn":true,
"firstName":"A",
"lastName":"User",
"customerId":"8b81da6f5fb6b75701604d6c950c05b1",
"lastLoginDate":"2017-09-07T08:05:37.000+0000"
},
"status":{
"code":200,
"message":"Success"
}
}