Participant API › Tournaments Legacy
LegacyGET /tournaments/{id}
This endpoint is in legacy mode. Access will soon be deprecated. It is therefore advised to use another endpoint when possible.
Returns a tournament with its information and complete settings (registration, check-in, match reporting etc.).
Resource URL
https://api.toornament.com/participant/v2/tournaments/{id}
HTTP headers
- X-Api-Keystring
API key of your application (see Authentication)
Path parameters
- idstring
The id of the tournament to retrieve.
Query Parameters
This endpoint does not have any query parameters.
Request Body
This endpoint does not require a request body.
Response
[200] Tournament retrieved.
Example
{ "id": "378426939508809728", "discipline": "my_discipline", "name": "My Weekly Tournament", "full_name": "My Weekly Tournament - Long title", "status": "running", "scheduled_date_start": "2015-09-06", "scheduled_date_end": "2015-09-07", "timezone": "America\/Sao_Paulo", "public": true, "size": 16, "online": true, "location": "London", "country": "GB", "platforms": [ "pc", "playstation4" ], "logo": { "logo_small": "https:\/\/www.toornament.com\/media\/file\/123456\/logo_small", "logo_medium": "https:\/\/www.toornament.com\/media\/file\/123456\/logo_medium", "logo_large": "https:\/\/www.toornament.com\/media\/file\/123456\/logo_large", "original": "https:\/\/www.toornament.com\/media\/file\/123456\/original" }, "participant_type": "single", "organization": "Avery Bullock", "contact": "[email protected]", "discord": "https:\/\/discord.gg\/blablabla", "website": "http:\/\/www.toornament.com", "description": "My description \\n on multiple lines", "rules": "My rules \\n on multiple lines", "prize": "1 - 10,000$ \\n 2 - 5,000$", "registration_enabled": true, "registration_opening_datetime": "1999-01-01T00:00:00+00:00", "registration_closing_datetime": "1999-01-01T00:00:00+00:00", "match_report_enabled": false, "registration_request_message": "For more info, go there -> []", "registration_user_mailer_enabled": true, "registration_terms_enabled": true, "registration_terms_url": "http:\/\/download.my\/terms.pdf", "check_in_enabled": true, "check_in_participant_enabled": true, "check_in_participant_start_datetime": "1999-01-01T00:00:00+00:00", "check_in_participant_end_datetime": "1999-01-01T00:00:00+00:00", "team_min_size": 2, "team_max_size": 5 }
Structure (object)
- idstring
The unique identifier of the tournament.
Example: "378426939508809728"
- disciplinestring
A unique identifier of the tournament’s discipline.
Example: "my_discipline"
- namestring
The name of the tournament.
Max. length: 30 characters
Example: "My Weekly Tournament"
- full_namestring|null
The complete name of the tournament.
Max. length: 80 characters
Example: "My Weekly Tournament - Long title"
- statusstring
The status of the tournament.
Possible values: pending, running, completed
- scheduled_date_startstring
A starting date in ISO 8601 format (only the date part, with YYYY-MM-DD pattern).
Format: date
Example: "2015-09-06"
- scheduled_date_endstring
An ending date in ISO 8601 format (only the date part, with YYYY-MM-DD pattern).
Format: date
Example: "2015-09-07"
- timezonestring
A time zone from the IANA tz database.
Example: "America/Sao_Paulo"
- publicboolean
Whether the tournament is published.
Example: true
- sizeinteger
The expected number of participants in the tournament.
Example: 16
- onlineboolean|null
Whether the tournament is played on internet.
Example: true
- locationstring|null
The region, city, address or place of interest where the tournament is held.
Example: "London"
- countrystring|null
The country where the tournament is played. Some codes may not be supported. (format is ISO 3166-1 alpha-2)
Example: "GB"
- platformsarray[string]
A list of platforms on which the tournament can be played.
Possible values: pc, playstation4, xbox_one, nintendo_switch, mobile, playstation3, playstation2, playstation1, ps_vita, psp, xbox360, xbox, wii_u, wii, gamecube, nintendo64, snes, nes, dreamcast, saturn, megadrive, master_system, 3ds, ds, game_boy, neo_geo, other_platform, not_video_game
- logoobject
- participant_typestring
The type of participants that play in the tournament.
Possible values: team, single
- organizationstring|null
The name of the organizer, be it an individual, group, association or company.
Max. length: 80 characters
Example: "Avery Bullock"
- contactstring|null
The email address to contact the organizer.
Format: email
Max. length: 255 characters
Example: "[email protected]"
- discordstring|null
Invite URL to the tournament Discord server.
Format: uri
Max. length: 255 characters
Example: "https://discord.gg/blablabla"
- websitestring|null
The tournament's official website URL.
Format: uri
Max. length: 255 characters
Example: "http://www.toornament.com"
- descriptionstring|null
A description of the tournament.
Max. length: 1,500 characters
Example: "My description \n on multiple lines"
- rulesstring|null
The rules of the tournament.
Max. length: 10,000 characters
Example: "My rules \n on multiple lines"
- prizestring|null
The prizes of the tournament.
Max. length: 1,500 characters
Example: "1 - 10,000$ \n 2 - 5,000$"
- registration_enabledboolean
Whether the registration process is enabled.
Example: true
- registration_opening_datetimestring|null
The opening date of the registrations in RFC 3339 format (combined date, time and utc offset)
Format: datetime
Example: "1999-01-01T00:00:00+00:00"
- registration_closing_datetimestring|null
The closing date of the registrations in RFC 3339 format (combined date, time and utc offset)
Format: datetime
Example: "1999-01-01T00:00:00+00:00"
- match_report_enabledboolean
Whether the participant's match report is enabled.
Example: false
- registration_request_messagestring|null
The message provided by the organizer for people who want to register.
Example: "For more info, go there -> []"
- registration_user_mailer_enabledboolean
Whether to notify participants when their registration status changes.
Example: true
- registration_terms_enabledboolean
Whether custom 'terms of use' are required.
Example: true
- registration_terms_urlstring|null
If enabled, the URL of the custom 'terms of use'.
Example: "http://download.my/terms.pdf"
- check_in_enabledboolean
Whether to enable the check-in.
Example: true
- check_in_participant_enabledboolean
Whether to enable the check-in for participants.
Example: true
- check_in_participant_start_datetimestring|null
The date and time of the participant check-in start, in RFC 3339 format (combined date, time and utc offset).
Format: datetime
Example: "1999-01-01T00:00:00+00:00"
- check_in_participant_end_datetimestring|null
The date and time of the participant check-in start, in RFC 3339 format (combined date, time and utc offset).
Format: datetime
Example: "1999-01-01T00:00:00+00:00"
- team_min_sizeinteger
Optional
The smallest possible team size (only if the tournament participant type is “team”).
Example: 2
- team_max_sizeinteger
Optional
The largest possible team size (only if the tournament participant type is “team”).
Example: 5