Users

GET /me/info

Authorized Access

This endpoint aim to retrieve public information about the connected user.

Resource URL

https://api.toornament.com/account/v2/me/info

HTTP headers

  • X-Api-Key
    string

    API key of your application (see Authentication)

  • Authorization
    string

    Access token with user:info scope (see Authorization)

Query Parameters

This endpoint doesn't have any query parameters.

Request Body

This endpoint doesn't require a request body.

Response

[200] Success

Example
{
    "id": "145246939508809147",
    "name": "My NickName",
    "country": "US"
}
Structure (object)
  • id
    string

    An unique identifier for this user.

    Example: "145246939508809147"

  • name
    string

    User's name.

    Example: "My NickName"

  • country
    string|null

    This value is represented as an ISO 3166-1 alpha-2 country code.

    Example: "US"