Account API › Users Legacy
LegacyGET /me/info
This endpoint is in legacy mode. Access will soon be deprecated. It is therefore advised to use another endpoint when possible.
Returns public information about a user authenticated via three-legged authentication.
Resource URL
https://api.toornament.com/account/v2/me/info
HTTP headers
- X-Api-Keystring
API key of your application (see Authentication)
- Authorizationstring
Access token with
user:info
scope (see Authorization)
Query Parameters
This endpoint does not have any query parameters.
Request Body
This endpoint does not require a request body.
Response
[200] Success.
Example
{ "id": "145246939508809147", "name": "My NickName", "country": "US" }
Structure (object)
- idstring
The unique identifier of the user.
Example: "145246939508809147"
- namestring
The name of the user.
Max. length: 40 characters
Example: "My NickName"
- countrystring|null
This value is represented as an ISO 3166-1 alpha-2 country code.
Example: "US"