Tournament API › Tournaments
Endpoints
- GET /tournaments
Retrieve the tournaments you organize and have organized.
- POST /tournaments
Create a new tournament as the organizer.
- GET /tournaments/{id}
Retrieve a single tournament you organize.
- PATCH /tournaments/{id}
Update one of your tournaments.
- DELETE /tournaments/{id}
Delete one of your tournaments.
GET /tournaments
Returns tournaments you organize with all organizer-specific data.
Resource URL
https://api.toornament.com/organizer/v2/tournaments
HTTP headers
- X-Api-Keystring
API key of your application (see Authentication)
- Authorizationstring
Access token with
organizer:view
scope (see Authorization) - Rangestring
A range of requested items using the
tournaments
unit. The size of the range can not exceed 50. (see Pagination)Example: tournaments=0-49
Query Parameters
- disciplinesstring
One or several disciplines to filter.
Example: counterstrike_go,fifa17
- statusesstring
One or several tournament statuses to filter.
Possible values: pending, running, completed
Example: pending,running
- scheduled_beforestring
An ISO 8601 date (only the date part, with YYYY-MM-DD pattern) to include all tournaments scheduled to take place before or at the date.
Format: date
- scheduled_afterstring
An ISO 8601 date (only the date part, with YYYY-MM-DD pattern) to include all tournaments scheduled to take place after or at the date.
Format: date
- countriesstring
One or several countries to filter, with format ISO 3166-1 alpha-2 country codes.
Example: US,CA
- platformsstring
One or several platforms to filter.
Possible values: pc, playstation4, playstation5, xbox_one, xbox_series, nintendo_switch, mobile, playstation3, xbox360, playstation2, playstation1, ps_vita, psp, xbox, wii_u, wii, gamecube, nintendo64, snes, nes, 3ds, ds, game_boy, dreamcast, saturn, megadrive, master_system, neo_geo, other_platform, not_video_game
Example: pc,xbox_one,playstation4
- is_onlineinteger
Whether the tournament is played online.
Possible values: 0, 1
- archivedinteger
Whether to include archived tournaments.
Possible values: 0, 1
- user_idsarray
One or several player user ids involved in the tournaments to filter.
Example: 475141143408399456,735147043408391234
- team_idsarray
One or several team ids involved in the tournaments to filter.
Example: 561714159547269773,255149043401714321
- custom_user_identifiersarray
One or several custom user identifiers involved in the tournaments to filter.
Example: acme:account:1234
- tournament_idsarray
Only return tournaments for the given list of ids.
Example: 378426939508809728,534138941862841533
- circuit_idsarray
Only return circuits for the given list of circuit ids.
Example: 5617559294676615168,5629045554450325504
- circuit_season_idsarray
Only return tournaments for the given list of season ids.
Example: 5617559294676615168,5629045554450325504
- circuit_season_namesarray
One or several machine name of seasons to filter.
Example: season_1,season_3
- circuit_region_idsarray
Only return tournaments for the given list of region ids.
Example: 5617559294676615168,5629045554450325504
- circuit_region_namesarray
One or several machine name of regions to filter.
Example: europe,americas,asia
- circuit_tier_idsarray
Only return tournaments for the given list of tier ids.
Example: 5617559294676615168,5629045554450325504
- circuit_tier_namesarray
One or several machine name of tiers to filter.
Example: tier_1,tier_2
- sortstring
Sorts the collection in a particular order. "scheduled_asc" sorts the tournaments by scheduled date from the oldest to the most recent one; "scheduled_desc" sorts the tournaments by scheduled date from the most recent to the oldest one.
Possible values: scheduled_asc, scheduled_desc
Default: scheduled_asc
Request Body
This endpoint does not require a request body.
Response
[206] Tournaments 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" ], "logo": { "id": "7074908991469559808", "logo_small": "https:\/\/api.toornament.com\/toornament\/media\/file\/7074908991469559808\/logo_small", "logo_medium": "https:\/\/api.toornament.com\/toornament\/media\/file\/7074908991469559808\/logo_medium", "logo_large": "https:\/\/api.toornament.com\/toornament\/media\/file\/7074908991469559808\/logo_large", "original": "https:\/\/api.toornament.com\/toornament\/media\/file\/7074908991469559808\/original" }, "registration_enabled": true, "registration_opening_datetime": "1999-01-01T00:00:00+00:00", "registration_closing_datetime": "1999-01-01T00:00:00+00:00" } ]
Structure (collection)
- 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|null
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|null
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. For more information, please read the Time Zones documentation.
Example: "America/Sao_Paulo"
- publicboolean
Whether the tournament is published or not.
Example: true
- sizeinteger
The expected number of participants in the tournament.
Example: 16
- onlineboolean|null
Whether the tournament is played on internet or not.
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]
The platform on which the tournament will 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|null
The tournament logo in every available format.
- 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"
POST /tournaments
Creates a new tournament.
Resource URL
https://api.toornament.com/organizer/v2/tournaments
HTTP headers
- X-Api-Keystring
API key of your application (see Authentication)
- Authorizationstring
Access token with
organizer:admin
scope (see Authorization)
Query Parameters
This endpoint does not have any query parameters.
Request Body
Tournament data
Example
{ "discipline": "counterstrike_go", "name": "My Weekly Tournament", "participant_type": "single", "size": 16, "timezone": "America\/Sao_Paulo", "platforms": [ "pc" ], "full_name": "My Weekly Tournament - Long title", "scheduled_date_start": "2015-09-06", "scheduled_date_end": "2015-09-07", "public": true, "online": true, "location": "London", "country": "GB", "registration_enabled": true, "registration_opening_datetime": "1999-01-01T00:00:00+00:00", "registration_closing_datetime": "1999-01-01T00:00:00+00:00", "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$", "match_report_enabled": false, "registration_auto_accept_enabled": false, "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", "archived": false, "registration_notification_enabled": true, "registration_participant_email_enabled": true, "registration_request_message": "For more info, go there -> []", "registration_acceptance_message": "You must now follow the next steps -> []", "registration_refusal_message": "Sorry, your registration has been refused.", "registration_terms_enabled": true, "registration_terms_url": "http:\/\/download.my\/terms.pdf", "registration_permanent_team_mandatory": false, "logo": { "id": "7074908991469559808" }, "background": { "id": "7074898466316419073" }, "team_min_size": 2, "team_max_size": 5 }
Structure (object)
- disciplinestring
A unique identifier of the tournament’s discipline.
Example: "counterstrike_go"
- namestring
The name of the tournament.
Max. length: 30 characters
Example: "My Weekly Tournament"
- participant_typestring
The type of participants that play in the tournament.
Possible values: team, single
- sizeinteger
The expected number of participants in the tournament.
Example: 16
- timezonestring
A time zone from the IANA tz database. For more information, please read the Time Zones documentation.
Example: "America/Sao_Paulo"
- platformsarray[string]
The platform on which the tournament will 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
- full_namestring|null
Optional
The complete name of the tournament.
Max. length: 80 characters
Example: "My Weekly Tournament - Long title"
- scheduled_date_startstring|null
Optional
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|null
Optional
An ending date in ISO 8601 format (only the date part, with YYYY-MM-DD pattern).
Format: date
Example: "2015-09-07"
- publicboolean
Optional
Whether the tournament is published or not.
Example: true
- onlineboolean|null
Optional
Whether the tournament is played on internet or not.
Example: true
- locationstring|null
Optional
The region, city, address or place of interest where the tournament is held.
Example: "London"
- countrystring|null
Optional
The country where the tournament is played. Some codes may not be supported. (format is ISO 3166-1 alpha-2)
Example: "GB"
- registration_enabledboolean
Optional
Whether the registration process is enabled.
Example: true
- registration_opening_datetimestring|null
Optional
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
Optional
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"
- organizationstring|null
Optional
The name of the organizer, be it an individual, group, association or company.
Example: "Avery Bullock"
- contactstring|null
- discordstring|null
Optional
Invite URL to the tournament Discord server.
Example: "https://discord.gg/blablabla"
- websitestring|null
Optional
The tournament's official website URL.
Example: "http://www.toornament.com"
- descriptionstring|null
Optional
A description of the tournament.
Max. length: 1,500 characters
Example: "My description \n on multiple lines"
- rulesstring|null
Optional
The rules of the tournament.
Max. length: 10,000 characters
Example: "My rules \n on multiple lines"
- prizestring|null
Optional
The prizes of the tournament.
Max. length: 1,500 characters
Example: "1 - 10,000$ \n 2 - 5,000$"
- match_report_enabledboolean
Optional
Whether the participant's match report is enabled or not.
Example: false
- registration_auto_accept_enabledboolean
Optional
Whether to automatically accept new registrations in the tournament or not.
Example: false
- check_in_enabledboolean
Optional
Whether to enable the check-in or not.
Example: true
- check_in_participant_enabledboolean
Optional
Whether to enable the check-in for participants or not.
Example: true
- check_in_participant_start_datetimestring|null
Optional
The date and time of the start of the participant check-in, 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
Optional
The date and time of the end of the participant check-in, in RFC 3339 format (combined date, time and utc offset).
Format: datetime
Example: "1999-01-01T00:00:00+00:00"
- archivedboolean
Optional
Whether the tournament is archived or not.
Example: false
- registration_notification_enabledboolean
Optional
Whether to notify organizers when new registrations occur or not.
Example: true
- registration_participant_email_enabledboolean
Optional
Whether to notify participants when they register to a tournament, and when their registration status changes.
Example: true
- registration_request_messagestring|null
Optional
The message provided by the organizer for people who want to register.
Example: "For more info, go there -> []"
- registration_acceptance_messagestring|null
Optional
The message sent to a player when his registration is accepted.
Example: "You must now follow the next steps -> []"
- registration_refusal_messagestring|null
Optional
The message sent to a player when his registration is refused.
Example: "Sorry, your registration has been refused."
- registration_terms_enabledboolean
Optional
Whether custom 'terms of use' are required.
Example: true
- registration_terms_urlstring|null
Optional
If enabled, the URL of the custom 'terms of use'.
Example: "http://download.my/terms.pdf"
- registration_permanent_team_mandatoryboolean
Optional
Whether registration only allow permanent team.
Example: false
- logoobject|null
Optional
The tournament logo.
- backgroundobject|null
Optional
The tournament background (Pro Plan and above).
- 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
Response
[201] Tournament created.
Example
{ "team_min_size": 2, "team_max_size": 5, "id": "378426939508809728", "discipline": "my_discipline", "name": "My Weekly Tournament", "full_name": "My Weekly Tournament - Long title", "description": "My description \n on multiple lines", "rules": "My rules \n on multiple lines", "status": "running", "participant_type": "single", "organization": "Avery Bullock", "contact": "[email protected]", "discord": "https:\/\/discord.gg\/blablabla", "website": "http:\/\/www.toornament.com", "online": true, "location": "London", "country": "GB", "size": 16, "prize": "1 - 10,000$ \n 2 - 5,000$", "scheduled_date_start": "2015-09-06", "scheduled_date_end": "2015-09-07", "timezone": "America\/Sao_Paulo", "public": true, "logo": { "id": "7074908991469559808", "logo_small": "https:\/\/api.toornament.com\/toornament\/media\/file\/7074908991469559808\/logo_small", "logo_medium": "https:\/\/api.toornament.com\/toornament\/media\/file\/7074908991469559808\/logo_medium", "logo_large": "https:\/\/api.toornament.com\/toornament\/media\/file\/7074908991469559808\/logo_large", "original": "https:\/\/api.toornament.com\/toornament\/media\/file\/7074908991469559808\/original" }, "background": { "id": "7074898466316419073", "small_4x1": "https:\/\/api.toornament.com\/toornament\/media\/file\/7074898466316419073\/small_4x1", "medium_4x1": "https:\/\/api.toornament.com\/toornament\/media\/file\/7074898466316419073\/medium_4x1", "full_4x1": "https:\/\/api.toornament.com\/toornament\/media\/file\/7074898466316419073\/full_4x1", "original": "https:\/\/api.toornament.com\/toornament\/media\/file\/7074898466316419073\/original" }, "platforms": [ "pc" ], "featured": true, "archived": false, "match_report_enabled": false, "registration_enabled": true, "registration_auto_accept_enabled": false, "registration_opening_datetime": "1999-01-01T00:00:00+00:00", "registration_closing_datetime": "1999-01-01T00:00:00+00:00", "registration_notification_enabled": true, "registration_participant_email_enabled": true, "registration_request_message": "For more info, go there -> []", "registration_acceptance_message": "You must now follow the next steps -> []", "registration_refusal_message": "Sorry, your registration has been refused.", "registration_terms_enabled": true, "registration_terms_url": "http:\/\/download.my\/terms.pdf", "registration_permanent_team_mandatory": false, "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", "circuit": { "id": "5756452414364442624", "name": "Challenger League" }, "circuit_season": { "id": "5756460443435106304", "name": "Season 42", "machine_name": "season_42" }, "circuit_region": { "id": "5756460443435106304", "name": "Europe", "machine_name": "europe" }, "circuit_tier": { "id": "5756492752630054912", "name": "Top", "machine_name": "top" } }
Structure (object)
- team_min_sizeinteger
The smallest possible team size (only if the tournament participant type is “team”).
Example: 2
- team_max_sizeinteger
The largest possible team size (only if the tournament participant type is “team”).
Example: 5
- 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"
- 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"
- statusstring
The status of the tournament.
Possible values: pending, running, completed
- 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.
Example: "Avery Bullock"
- contactstring|null
The email address to contact the organizer.
Example: "[email protected]"
- discordstring|null
Invite URL to the tournament Discord server.
Example: "https://discord.gg/blablabla"
- websitestring|null
The tournament's official website URL.
Example: "http://www.toornament.com"
- onlineboolean|null
Whether the tournament is played on internet or not.
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"
- sizeinteger
The expected number of participants in the tournament.
Example: 16
- prizestring|null
The prizes of the tournament.
Max. length: 1,500 characters
Example: "1 - 10,000$ \n 2 - 5,000$"
- scheduled_date_startstring|null
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|null
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. For more information, please read the Time Zones documentation.
Example: "America/Sao_Paulo"
- publicboolean
Whether the tournament is published or not.
Example: true
- logoobject|null
The tournament logo in every available format.
- backgroundobject|null
The tournament background in every available format (Pro plan).
- platformsarray[string]
The platform on which the tournament will 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
- featuredboolean
Whether the tournament is featured or not.
Example: true
- archivedboolean
Whether the tournament is archived or not.
Example: false
- match_report_enabledboolean
Whether the participant's match report is enabled or not.
Example: false
- registration_enabledboolean
Whether the registration process is enabled.
Example: true
- registration_auto_accept_enabledboolean
Whether to automatically accept new registrations in the tournament or not.
Example: false
- 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"
- registration_notification_enabledboolean
Whether to notify organizers when new registrations occur or not.
Example: true
- registration_participant_email_enabledboolean
Whether to notify participants when they register to a tournament, and when their registration status changes.
Example: true
- registration_request_messagestring|null
The message provided by the organizer for people who want to register.
Example: "For more info, go there -> []"
- registration_acceptance_messagestring|null
The message sent to a player when his registration is accepted.
Example: "You must now follow the next steps -> []"
- registration_refusal_messagestring|null
The message sent to a player when his registration is refused.
Example: "Sorry, your registration has been refused."
- 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"
- registration_permanent_team_mandatoryboolean
Whether registration only allow permanent team.
Example: false
- check_in_enabledboolean
Whether to enable the check-in or not.
Example: true
- check_in_participant_enabledboolean
Whether to enable the check-in for participants or not.
Example: true
- check_in_participant_start_datetimestring|null
The date and time of the start of the participant check-in, 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 end of the participant check-in, in RFC 3339 format (combined date, time and utc offset).
Format: datetime
Example: "1999-01-01T00:00:00+00:00"
- circuitobject|null
The circuit associated with this tournament.
- circuit_seasonobject|null
The circuit season associated with this tournament.
- circuit_regionobject|null
The circuit region associated with this tournament.
- circuit_tierobject|null
The circuit tier associated with this tournament.
GET /tournaments/{id}
Returns a tournament identified with the given id with all organizer-specific data.
Resource URL
https://api.toornament.com/organizer/v2/tournaments/{id}
HTTP headers
- X-Api-Keystring
API key of your application (see Authentication)
- Authorizationstring
Access token with
organizer:view
scope (see Authorization)
Path parameters
- idstring
The id of the tournament.
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
{ "team_min_size": 2, "team_max_size": 5, "id": "378426939508809728", "discipline": "my_discipline", "name": "My Weekly Tournament", "full_name": "My Weekly Tournament - Long title", "description": "My description \n on multiple lines", "rules": "My rules \n on multiple lines", "status": "running", "participant_type": "single", "organization": "Avery Bullock", "contact": "[email protected]", "discord": "https:\/\/discord.gg\/blablabla", "website": "http:\/\/www.toornament.com", "online": true, "location": "London", "country": "GB", "size": 16, "prize": "1 - 10,000$ \n 2 - 5,000$", "scheduled_date_start": "2015-09-06", "scheduled_date_end": "2015-09-07", "timezone": "America\/Sao_Paulo", "public": true, "logo": { "id": "7074908991469559808", "logo_small": "https:\/\/api.toornament.com\/toornament\/media\/file\/7074908991469559808\/logo_small", "logo_medium": "https:\/\/api.toornament.com\/toornament\/media\/file\/7074908991469559808\/logo_medium", "logo_large": "https:\/\/api.toornament.com\/toornament\/media\/file\/7074908991469559808\/logo_large", "original": "https:\/\/api.toornament.com\/toornament\/media\/file\/7074908991469559808\/original" }, "background": { "id": "7074898466316419073", "small_4x1": "https:\/\/api.toornament.com\/toornament\/media\/file\/7074898466316419073\/small_4x1", "medium_4x1": "https:\/\/api.toornament.com\/toornament\/media\/file\/7074898466316419073\/medium_4x1", "full_4x1": "https:\/\/api.toornament.com\/toornament\/media\/file\/7074898466316419073\/full_4x1", "original": "https:\/\/api.toornament.com\/toornament\/media\/file\/7074898466316419073\/original" }, "platforms": [ "pc" ], "featured": true, "archived": false, "match_report_enabled": false, "registration_enabled": true, "registration_auto_accept_enabled": false, "registration_opening_datetime": "1999-01-01T00:00:00+00:00", "registration_closing_datetime": "1999-01-01T00:00:00+00:00", "registration_notification_enabled": true, "registration_participant_email_enabled": true, "registration_request_message": "For more info, go there -> []", "registration_acceptance_message": "You must now follow the next steps -> []", "registration_refusal_message": "Sorry, your registration has been refused.", "registration_terms_enabled": true, "registration_terms_url": "http:\/\/download.my\/terms.pdf", "registration_permanent_team_mandatory": false, "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", "circuit": { "id": "5756452414364442624", "name": "Challenger League" }, "circuit_season": { "id": "5756460443435106304", "name": "Season 42", "machine_name": "season_42" }, "circuit_region": { "id": "5756460443435106304", "name": "Europe", "machine_name": "europe" }, "circuit_tier": { "id": "5756492752630054912", "name": "Top", "machine_name": "top" } }
Structure (object)
- team_min_sizeinteger
The smallest possible team size (only if the tournament participant type is “team”).
Example: 2
- team_max_sizeinteger
The largest possible team size (only if the tournament participant type is “team”).
Example: 5
- 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"
- 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"
- statusstring
The status of the tournament.
Possible values: pending, running, completed
- 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.
Example: "Avery Bullock"
- contactstring|null
The email address to contact the organizer.
Example: "[email protected]"
- discordstring|null
Invite URL to the tournament Discord server.
Example: "https://discord.gg/blablabla"
- websitestring|null
The tournament's official website URL.
Example: "http://www.toornament.com"
- onlineboolean|null
Whether the tournament is played on internet or not.
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"
- sizeinteger
The expected number of participants in the tournament.
Example: 16
- prizestring|null
The prizes of the tournament.
Max. length: 1,500 characters
Example: "1 - 10,000$ \n 2 - 5,000$"
- scheduled_date_startstring|null
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|null
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. For more information, please read the Time Zones documentation.
Example: "America/Sao_Paulo"
- publicboolean
Whether the tournament is published or not.
Example: true
- logoobject|null
The tournament logo in every available format.
- backgroundobject|null
The tournament background in every available format (Pro plan).
- platformsarray[string]
The platform on which the tournament will 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
- featuredboolean
Whether the tournament is featured or not.
Example: true
- archivedboolean
Whether the tournament is archived or not.
Example: false
- match_report_enabledboolean
Whether the participant's match report is enabled or not.
Example: false
- registration_enabledboolean
Whether the registration process is enabled.
Example: true
- registration_auto_accept_enabledboolean
Whether to automatically accept new registrations in the tournament or not.
Example: false
- 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"
- registration_notification_enabledboolean
Whether to notify organizers when new registrations occur or not.
Example: true
- registration_participant_email_enabledboolean
Whether to notify participants when they register to a tournament, and when their registration status changes.
Example: true
- registration_request_messagestring|null
The message provided by the organizer for people who want to register.
Example: "For more info, go there -> []"
- registration_acceptance_messagestring|null
The message sent to a player when his registration is accepted.
Example: "You must now follow the next steps -> []"
- registration_refusal_messagestring|null
The message sent to a player when his registration is refused.
Example: "Sorry, your registration has been refused."
- 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"
- registration_permanent_team_mandatoryboolean
Whether registration only allow permanent team.
Example: false
- check_in_enabledboolean
Whether to enable the check-in or not.
Example: true
- check_in_participant_enabledboolean
Whether to enable the check-in for participants or not.
Example: true
- check_in_participant_start_datetimestring|null
The date and time of the start of the participant check-in, 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 end of the participant check-in, in RFC 3339 format (combined date, time and utc offset).
Format: datetime
Example: "1999-01-01T00:00:00+00:00"
- circuitobject|null
The circuit associated with this tournament.
- circuit_seasonobject|null
The circuit season associated with this tournament.
- circuit_regionobject|null
The circuit region associated with this tournament.
- circuit_tierobject|null
The circuit tier associated with this tournament.
PATCH /tournaments/{id}
Updates one or several fields of one of your tournaments.
Resource URL
https://api.toornament.com/organizer/v2/tournaments/{id}
HTTP headers
- X-Api-Keystring
API key of your application (see Authentication)
- Authorizationstring
Access token with
organizer:admin
scope (see Authorization)
Path parameters
- idstring
The id of the tournament.
Query Parameters
This endpoint does not have any query parameters.
Request Body
Tournament data.
Example
{ "name": "My Weekly Tournament", "full_name": "My Weekly Tournament - Long title", "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", "registration_enabled": true, "registration_opening_datetime": "1999-01-01T00:00:00+00:00", "registration_closing_datetime": "1999-01-01T00:00:00+00:00", "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$", "match_report_enabled": false, "registration_auto_accept_enabled": false, "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", "archived": false, "registration_notification_enabled": true, "registration_participant_email_enabled": true, "registration_request_message": "For more info, go there -> []", "registration_acceptance_message": "You must now follow the next steps -> []", "registration_refusal_message": "Sorry, your registration has been refused.", "registration_terms_enabled": true, "registration_terms_url": "http:\/\/download.my\/terms.pdf", "registration_permanent_team_mandatory": false, "logo": { "id": "7074908991469559808" }, "background": { "id": "7074898466316419073" }, "team_min_size": 2, "team_max_size": 5 }
Structure (object)
- namestring
Optional
The name of the tournament.
Max. length: 30 characters
Example: "My Weekly Tournament"
- full_namestring|null
Optional
The complete name of the tournament.
Max. length: 80 characters
Example: "My Weekly Tournament - Long title"
- scheduled_date_startstring|null
Optional
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|null
Optional
An ending date in ISO 8601 format (only the date part, with YYYY-MM-DD pattern).
Format: date
Example: "2015-09-07"
- timezonestring
Optional
A time zone from the IANA tz database. For more information, please read the Time Zones documentation.
Example: "America/Sao_Paulo"
- publicboolean
Optional
Whether the tournament is published or not.
Example: true
- sizeinteger
Optional
The expected number of participants in the tournament.
Example: 16
- onlineboolean|null
Optional
Whether the tournament is played on internet or not.
Example: true
- locationstring|null
Optional
The region, city, address or place of interest where the tournament is held.
Example: "London"
- countrystring|null
Optional
The country where the tournament is played. Some codes may not be supported. (format is ISO 3166-1 alpha-2)
Example: "GB"
- registration_enabledboolean
Optional
Whether the registration process is enabled.
Example: true
- registration_opening_datetimestring|null
Optional
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
Optional
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"
- organizationstring|null
Optional
The name of the organizer, be it an individual, group, association or company.
Example: "Avery Bullock"
- contactstring|null
- discordstring|null
Optional
Invite URL to the tournament Discord server.
Example: "https://discord.gg/blablabla"
- websitestring|null
Optional
The tournament's official website URL.
Example: "http://www.toornament.com"
- descriptionstring|null
Optional
A description of the tournament.
Max. length: 1,500 characters
Example: "My description \n on multiple lines"
- rulesstring|null
Optional
The rules of the tournament.
Max. length: 10,000 characters
Example: "My rules \n on multiple lines"
- prizestring|null
Optional
The prizes of the tournament.
Max. length: 1,500 characters
Example: "1 - 10,000$ \n 2 - 5,000$"
- match_report_enabledboolean
Optional
Whether the participant's match report is enabled or not.
Example: false
- registration_auto_accept_enabledboolean
Optional
Whether to automatically accept new registrations in the tournament or not.
Example: false
- check_in_enabledboolean
Optional
Whether to enable the check-in or not.
Example: true
- check_in_participant_enabledboolean
Optional
Whether to enable the check-in for participants or not.
Example: true
- check_in_participant_start_datetimestring|null
Optional
The date and time of the start of the participant check-in, 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
Optional
The date and time of the end of the participant check-in, in RFC 3339 format (combined date, time and utc offset).
Format: datetime
Example: "1999-01-01T00:00:00+00:00"
- archivedboolean
Optional
Whether the tournament is archived or not.
Example: false
- registration_notification_enabledboolean
Optional
Whether to notify organizers when new registrations occur or not.
Example: true
- registration_participant_email_enabledboolean
Optional
Whether to notify participants when they register to a tournament, and when their registration status changes.
Example: true
- registration_request_messagestring|null
Optional
The message provided by the organizer for people who want to register.
Example: "For more info, go there -> []"
- registration_acceptance_messagestring|null
Optional
The message sent to a player when his registration is accepted.
Example: "You must now follow the next steps -> []"
- registration_refusal_messagestring|null
Optional
The message sent to a player when his registration is refused.
Example: "Sorry, your registration has been refused."
- registration_terms_enabledboolean
Optional
Whether custom 'terms of use' are required.
Example: true
- registration_terms_urlstring|null
Optional
If enabled, the URL of the custom 'terms of use'.
Example: "http://download.my/terms.pdf"
- registration_permanent_team_mandatoryboolean
Optional
Whether registration only allow permanent team.
Example: false
- logoobject|null
Optional
The tournament logo.
- backgroundobject|null
Optional
The tournament background (Pro Plan and above).
- 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
Response
[200] Success.
Example
{ "team_min_size": 2, "team_max_size": 5, "id": "378426939508809728", "discipline": "my_discipline", "name": "My Weekly Tournament", "full_name": "My Weekly Tournament - Long title", "description": "My description \n on multiple lines", "rules": "My rules \n on multiple lines", "status": "running", "participant_type": "single", "organization": "Avery Bullock", "contact": "[email protected]", "discord": "https:\/\/discord.gg\/blablabla", "website": "http:\/\/www.toornament.com", "online": true, "location": "London", "country": "GB", "size": 16, "prize": "1 - 10,000$ \n 2 - 5,000$", "scheduled_date_start": "2015-09-06", "scheduled_date_end": "2015-09-07", "timezone": "America\/Sao_Paulo", "public": true, "logo": { "id": "7074908991469559808", "logo_small": "https:\/\/api.toornament.com\/toornament\/media\/file\/7074908991469559808\/logo_small", "logo_medium": "https:\/\/api.toornament.com\/toornament\/media\/file\/7074908991469559808\/logo_medium", "logo_large": "https:\/\/api.toornament.com\/toornament\/media\/file\/7074908991469559808\/logo_large", "original": "https:\/\/api.toornament.com\/toornament\/media\/file\/7074908991469559808\/original" }, "background": { "id": "7074898466316419073", "small_4x1": "https:\/\/api.toornament.com\/toornament\/media\/file\/7074898466316419073\/small_4x1", "medium_4x1": "https:\/\/api.toornament.com\/toornament\/media\/file\/7074898466316419073\/medium_4x1", "full_4x1": "https:\/\/api.toornament.com\/toornament\/media\/file\/7074898466316419073\/full_4x1", "original": "https:\/\/api.toornament.com\/toornament\/media\/file\/7074898466316419073\/original" }, "platforms": [ "pc" ], "featured": true, "archived": false, "match_report_enabled": false, "registration_enabled": true, "registration_auto_accept_enabled": false, "registration_opening_datetime": "1999-01-01T00:00:00+00:00", "registration_closing_datetime": "1999-01-01T00:00:00+00:00", "registration_notification_enabled": true, "registration_participant_email_enabled": true, "registration_request_message": "For more info, go there -> []", "registration_acceptance_message": "You must now follow the next steps -> []", "registration_refusal_message": "Sorry, your registration has been refused.", "registration_terms_enabled": true, "registration_terms_url": "http:\/\/download.my\/terms.pdf", "registration_permanent_team_mandatory": false, "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", "circuit": { "id": "5756452414364442624", "name": "Challenger League" }, "circuit_season": { "id": "5756460443435106304", "name": "Season 42", "machine_name": "season_42" }, "circuit_region": { "id": "5756460443435106304", "name": "Europe", "machine_name": "europe" }, "circuit_tier": { "id": "5756492752630054912", "name": "Top", "machine_name": "top" } }
Structure (object)
- team_min_sizeinteger
The smallest possible team size (only if the tournament participant type is “team”).
Example: 2
- team_max_sizeinteger
The largest possible team size (only if the tournament participant type is “team”).
Example: 5
- 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"
- 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"
- statusstring
The status of the tournament.
Possible values: pending, running, completed
- 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.
Example: "Avery Bullock"
- contactstring|null
The email address to contact the organizer.
Example: "[email protected]"
- discordstring|null
Invite URL to the tournament Discord server.
Example: "https://discord.gg/blablabla"
- websitestring|null
The tournament's official website URL.
Example: "http://www.toornament.com"
- onlineboolean|null
Whether the tournament is played on internet or not.
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"
- sizeinteger
The expected number of participants in the tournament.
Example: 16
- prizestring|null
The prizes of the tournament.
Max. length: 1,500 characters
Example: "1 - 10,000$ \n 2 - 5,000$"
- scheduled_date_startstring|null
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|null
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. For more information, please read the Time Zones documentation.
Example: "America/Sao_Paulo"
- publicboolean
Whether the tournament is published or not.
Example: true
- logoobject|null
The tournament logo in every available format.
- backgroundobject|null
The tournament background in every available format (Pro plan).
- platformsarray[string]
The platform on which the tournament will 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
- featuredboolean
Whether the tournament is featured or not.
Example: true
- archivedboolean
Whether the tournament is archived or not.
Example: false
- match_report_enabledboolean
Whether the participant's match report is enabled or not.
Example: false
- registration_enabledboolean
Whether the registration process is enabled.
Example: true
- registration_auto_accept_enabledboolean
Whether to automatically accept new registrations in the tournament or not.
Example: false
- 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"
- registration_notification_enabledboolean
Whether to notify organizers when new registrations occur or not.
Example: true
- registration_participant_email_enabledboolean
Whether to notify participants when they register to a tournament, and when their registration status changes.
Example: true
- registration_request_messagestring|null
The message provided by the organizer for people who want to register.
Example: "For more info, go there -> []"
- registration_acceptance_messagestring|null
The message sent to a player when his registration is accepted.
Example: "You must now follow the next steps -> []"
- registration_refusal_messagestring|null
The message sent to a player when his registration is refused.
Example: "Sorry, your registration has been refused."
- 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"
- registration_permanent_team_mandatoryboolean
Whether registration only allow permanent team.
Example: false
- check_in_enabledboolean
Whether to enable the check-in or not.
Example: true
- check_in_participant_enabledboolean
Whether to enable the check-in for participants or not.
Example: true
- check_in_participant_start_datetimestring|null
The date and time of the start of the participant check-in, 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 end of the participant check-in, in RFC 3339 format (combined date, time and utc offset).
Format: datetime
Example: "1999-01-01T00:00:00+00:00"
- circuitobject|null
The circuit associated with this tournament.
- circuit_seasonobject|null
The circuit season associated with this tournament.
- circuit_regionobject|null
The circuit region associated with this tournament.
- circuit_tierobject|null
The circuit tier associated with this tournament.
DELETE /tournaments/{id}
Deletes your tournament identified by the given id.
Resource URL
https://api.toornament.com/organizer/v2/tournaments/{id}
HTTP headers
- X-Api-Keystring
API key of your application (see Authentication)
- Authorizationstring
Access token with
organizer:delete
scope (see Authorization)
Path parameters
- idstring
The id of the tournament.
Query Parameters
This endpoint does not have any query parameters.
Request Body
This endpoint does not require a request body.