Query parameters:
-
{accountId}
(string) The ID of the account you want to retrieve the name for *Maximum:50 account IDs
Service provided by Openplanet
Get account name
GET
https://api.trackmania.com/api/display-names?accountId[]={accountId}
Query parameters:
{accountId}
(string)
The ID of the account you want to retrieve the name for
*
50 account IDs
Retrieves the account name for a given accountId
.
Remarks:
Authorization
header in the format Bearer <token>
.Example request:
GET https://api.trackmania.com/api/display-names?accountId[]=5b4d42f4-c2de-407d-b367-cbff3fe817bc
Example response:
{
"5b4d42f4-c2de-407d-b367-cbff3fe817bc": "tooInfinite"
}
To retrieve more than one name at once, send the accountId
values as follows:
GET https://api.trackmania.com/api/display-names?accountId[]=5b4d42f4-c2de-407d-b367-cbff3fe817bc&accountId[]=4c803b5a-a344-4d5c-a358-d8f7455d6c85