Get club room password

Gets the password of a club room.

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

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 *

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 (status 404):

["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 (status 403):

["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 (status 403):

["clubMemberRole:error-notContentCreator"]

In some rare cases the response may contain one of the following errors for unknown reasons (status 404):
This is consistent for a given room; and rooms with this error still appear as normal in get club activities.

["playerServer:error-notFound"]
["room:error-notFound"]