USERINFO

post
Get User Info

https://api.rally.io/v1/oauth/userinfo
This endpoint allows the application to retrieve user info about the user that completed the authorization flow. This endpoint must be invoked by the application registered callback that was provided as parameter in the AUTHORIZE endpoint.
Request
Response
Request
Headers
Authorization
required
string
Bearer <access_token> The access token that was obtained through the REGISTER or REFRESH endpoints.
Body Parameters
code
required
string
This code is passed as a query parameter to the registered callback. It must be presented to Rally when invoking the USERINFO endpoint.
Response
200: OK
User Info successfully retrieved. Contains the username that identifies the user to the Rally Backend and its corresponding rnb user id.
{
"username":"3cf62b60-1efd-4943-853b-d20cfe7938c3"
"rnbUserId":"a7cb60cf-fefb-45c7-9d46-29c5514cf54a"
}
401: Unauthorized
Invalid token.
{ "error": "invalid token" }
403: Forbidden
Token is valid but does not represent a registered developer
{ "error": "Insuficient permissions" }

‚Äč