Get club room password

GET https://live-services.trackmania.nadeo.live/api/token/club/{clubId}/room/{activityId}/get-password

Headers:


Path parameters:

  • {clubId} integer The ID of the club the room belongs to *
  • {activityId} integer The activity ID of the room to be requested *

Gets the password of a club room.


Remarks:

  • This endpoint is only useful with tokens authenticated through Ubisoft user accounts (as opposed to dedicated server accounts).

Example request:

GET https://live-services.trackmania.nadeo.live/api/token/club/150/room/17541/get-password

Example response:

{
  "password": "4VJW6U"
}

If the room does not exist, it's deactivated in the club, or it's not password protected, the response will contain an error:

[
  "activity:error-notFound"
]

If the club does not exist or the authenticated account is not a member of the club, the response will contain an error:

[
  "clubMemberRole:error-notMember"
]

If the authenticated account does not have enough permissions in the club to get the password, the response will contain an error:

[
  "clubMemberRole:error-notContentCreator"
]