Endpoints
- GET /tournaments
Retrieve tournaments you organize.
Authorized Access - POST /tournaments
Create a new tournament as organizer.
Authorized Access - GET /tournaments/{id}
Retrieve a single tournament you organize.
Authorized Access - PATCH /tournaments/{id}
Update or Patch a part of a tournament.
Authorized Access - DELETE /tournaments/{id}
Delete a tournament.
Authorized Access
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 cannot 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_beforedate
An ISO 8601 date to include all tournaments scheduled to take place before or at the date.
Pattern: YYYY-MM-DD
Example: 2016-12-31
- scheduled_afterdate
An ISO 8601 date to include all tournaments scheduled to take place after or at the date
Pattern: YYYY-MM-DD
Example: 2015-12-31
- countriesstring
One or several countries to filter
Format: ISO 3166-1 alpha-2 country codes
Example: US,CA
- platformsstring
One of several platforms to filter
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
Example: pc,xbox_one,playstation4
- is_onlineboolean
Whether to include or exclude tournaments played on internet
Possible values: 0, 1
- custom_user_identifierstring
An external user identifier, use the format that suits you best
Example: acme:account:1234
- sortstring
A method to sort the filtered data. scheduled_asc and scheduled_desc sort by using the scheduled start date
Possible values: scheduled_asc, scheduled_desc
Request Body
This endpoint doesn't 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", "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" }, "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
A unique identifier for the tournament
Example: "378426939508809728"
- disciplinestring
A unique string identifier of a discipline
Example: "my_discipline"
- namestring
The name of the tournament (maximum 30 characters)
Example: "My Weekly Tournament"
- full_namestring|null
The complete name of the tournament (maximum 80 characters)
Example: "My Weekly Tournament - Long title"
- statusstring
The status of the tournament
Possible values: pending, running, completed
- scheduled_date_startdate|null
A starting date in ISO 8601 format (only the date part)
Pattern: YYYY-MM-DD
Example: "2015-09-06"
- scheduled_date_enddate|null
An ending date in ISO 8601 format (only the date part)
Pattern: YYYY-MM-DD
Example: "2015-09-07"
- timezonestring
A time zone represented using 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
Whether the tournament is played on internet
Example: true
- locationstring|null
A region, city, address or place of interest
Example: "London"
- countrystring|null
A country where the tournament is played. Its possible that some code is not supported.
Format: 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|null
The tournament logo in every available format.
Example: {"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"}
- registration_enabledboolean
Whether the registration is enabled
Example: true
- registration_opening_datetimedatetime
The opening date of the registrations
Format: RFC 3339 (combined date, time and utc offset)
Example: "1999-01-01T00:00:00+00:00"
- registration_closing_datetimedatetime
The closing date of the registrations
Format: RFC 3339 (combined date, time and utc offset)
Example: "1999-01-01T00:00:00+00:00"
POST /tournaments
Create 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 doesn't have any query parameters.
Request Body
Tournament data
Example
{ "discipline": "my_discipline", "name": "My Weekly Tournament", "participant_type": "team", "size": 16, "timezone": "America\/Sao_Paulo", "platforms": [ "pc", "playstation4" ], "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", "organization": "Avery Bullock", "contact": "contact@toornament.com", "discord": "https:\/\/discord.gg\/qWbbkuY", "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$", "archived": false, "match_report_enabled": false, "registration_enabled": true, "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_request_message": "For more info, go there -> []", "registration_accept_message": "You must now follow the next steps -> []", "registration_refuse_message": "Sorry, your registration has been refused.", "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" }
Structure (object)
- disciplinestring
A unique string identifier of a discipline
Example: "my_discipline"
- namestring
The name of the tournament (maximum 30 characters)
Example: "My Weekly Tournament"
- participant_typestring
The type of participants who plays in the tournament
Possible values: team, single
- sizeinteger
The expected number of participants in the tournament
Example: 16
- timezonestring
A time zone represented using the IANA tz database
Example: "America/Sao_Paulo"
- 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
- full_namestring|null
Optional
The complete name of the tournament (maximum 80 characters)
Example: "My Weekly Tournament - Long title"
- scheduled_date_startdate|null
Optional
A starting date in ISO 8601 format (only the date part)
Pattern: YYYY-MM-DD
Example: "2015-09-06"
- scheduled_date_enddate|null
Optional
An ending date in ISO 8601 format (only the date part)
Pattern: YYYY-MM-DD
Example: "2015-09-07"
- publicboolean
Optional
Whether the tournament is published
Example: true
- onlineboolean
Optional
Whether the tournament is played on internet
Example: true
- locationstring|null
Optional
A region, city, address or place of interest
Example: "London"
- countrystring|null
Optional
A country where the tournament is played. Its possible that some code is not supported.
Format: ISO 3166-1 alpha-2
Example: "GB"
- organizationstring|null
Optional
The name of the organizer whether it is an individual, group, association or company
Example: "Avery Bullock"
- contactstring
Optional
The email address to contact the organizer
Example: "contact@toornament.com"
- discordstring
Optional
The discord URL to contact the organizer or participants
Example: "https://discord.gg/qWbbkuY"
- websitestring|null
Optional
The tournament's official website URL
Example: "http://www.toornament.com"
- descriptionstring|null
Optional
A description of the tournament (maximum 1,500 characters)
Example: "My description \n on multiple lines"
- rulesstring|null
Optional
A description of the tournament's rules (maximum 10,000 characters)
Example: "My rules \n on multiple lines"
- prizestring|null
Optional
A description of the tournament's prizes (maximum 1,500 characters)
Example: "1 - 10,000$ \n 2 - 5,000$"
- team_size_mininteger
Optional
The smallest possible team size (only if a team tournament)
- team_size_maxinteger
Optional
The largest possible team size (only if a team tournament)
- archivedboolean
Optional
Whether the tournament is archived
Example: false
- match_report_enabledboolean
Optional
Whether the participant's match report is enabled
Example: false
- registration_enabledboolean
Optional
Whether the registration is enabled
Example: true
- registration_opening_datetimedatetime
Optional
The opening date of the registrations
Format: RFC 3339 (combined date, time and utc offset)
Example: "1999-01-01T00:00:00+00:00"
- registration_closing_datetimedatetime
Optional
The closing date of the registrations
Format: RFC 3339 (combined date, time and utc offset)
Example: "1999-01-01T00:00:00+00:00"
- registration_notification_enabledboolean
Optional
Whether to notify organizers when new registrations occur.
Example: true
- registration_request_messagestring
Optional
The message provided by the organizer for people who want to register
Example: "For more info, go there -> []"
- registration_accept_messagestring
Optional
The message sent to the players when a registration is accepted.
Example: "You must now follow the next steps -> []"
- registration_refuse_messagestring
Optional
The message sent to the players when a registration is refused.
Example: "Sorry, your registration has been refused."
- check_in_enabledboolean
Optional
Whether to enable the check-in.
Example: true
- check_in_participant_enabledboolean
Optional
Whether to enable the check-in for participants.
Example: true
- check_in_participant_start_datetimedatetime
Optional
The date/time of the start of the participant check-in
Format: RFC 3339 (combined date, time and utc offset)
Example: "1999-01-01T00:00:00+00:00"
- check_in_participant_end_datetimedatetime
Optional
The date/time of the start of the participant check-in.
Format: RFC 3339 (combined date, time and utc offset)
Example: "1999-01-01T00:00:00+00:00"
Response
[201] Tournament created
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, "participant_type": "team", "online": true, "location": "London", "country": "GB", "organization": "Avery Bullock", "contact": "contact@toornament.com", "discord": "https:\/\/discord.gg\/qWbbkuY", "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$", "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" }, "archived": false, "match_report_enabled": false, "registration_enabled": true, "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_request_message": "For more info, go there -> []", "registration_accept_message": "You must now follow the next steps -> []", "registration_refuse_message": "Sorry, your registration has been refused.", "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" }
Structure (object)
- idstring
A unique identifier for the tournament
Example: "378426939508809728"
- disciplinestring
A unique string identifier of a discipline
Example: "my_discipline"
- namestring
The name of the tournament (maximum 30 characters)
Example: "My Weekly Tournament"
- full_namestring|null
The complete name of the tournament (maximum 80 characters)
Example: "My Weekly Tournament - Long title"
- statusstring
The status of the tournament
Possible values: pending, running, completed
- scheduled_date_startdate|null
A starting date in ISO 8601 format (only the date part)
Pattern: YYYY-MM-DD
Example: "2015-09-06"
- scheduled_date_enddate|null
An ending date in ISO 8601 format (only the date part)
Pattern: YYYY-MM-DD
Example: "2015-09-07"
- timezonestring
A time zone represented using 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
- participant_typestring
The type of participants who plays in the tournament
Possible values: team, single
- onlineboolean
Whether the tournament is played on internet
Example: true
- locationstring|null
A region, city, address or place of interest
Example: "London"
- countrystring|null
A country where the tournament is played. Its possible that some code is not supported.
Format: ISO 3166-1 alpha-2
Example: "GB"
- organizationstring|null
The name of the organizer whether it is an individual, group, association or company
Example: "Avery Bullock"
- contactstring
The email address to contact the organizer
Example: "contact@toornament.com"
- discordstring
The discord URL to contact the organizer or participants
Example: "https://discord.gg/qWbbkuY"
- websitestring|null
The tournament's official website URL
Example: "http://www.toornament.com"
- descriptionstring|null
A description of the tournament (maximum 1,500 characters)
Example: "My description \n on multiple lines"
- rulesstring|null
A description of the tournament's rules (maximum 10,000 characters)
Example: "My rules \n on multiple lines"
- prizestring|null
A description of the tournament's prizes (maximum 1,500 characters)
Example: "1 - 10,000$ \n 2 - 5,000$"
- team_size_mininteger
Optional
The smallest possible team size (only if a team tournament)
- team_size_maxinteger
Optional
The largest possible team size (only if a team tournament)
- 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|null
The tournament logo in every available format.
Example: {"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"}
- archivedboolean
Whether the tournament is archived
Example: false
- match_report_enabledboolean
Whether the participant's match report is enabled
Example: false
- registration_enabledboolean
Whether the registration is enabled
Example: true
- registration_opening_datetimedatetime
The opening date of the registrations
Format: RFC 3339 (combined date, time and utc offset)
Example: "1999-01-01T00:00:00+00:00"
- registration_closing_datetimedatetime
The closing date of the registrations
Format: RFC 3339 (combined date, time and utc offset)
Example: "1999-01-01T00:00:00+00:00"
- registration_notification_enabledboolean
Whether to notify organizers when new registrations occur.
Example: true
- registration_request_messagestring
The message provided by the organizer for people who want to register
Example: "For more info, go there -> []"
- registration_accept_messagestring
The message sent to the players when a registration is accepted.
Example: "You must now follow the next steps -> []"
- registration_refuse_messagestring
The message sent to the players when a registration is refused.
Example: "Sorry, your registration has been refused."
- 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_datetimedatetime
The date/time of the start of the participant check-in
Format: RFC 3339 (combined date, time and utc offset)
Example: "1999-01-01T00:00:00+00:00"
- check_in_participant_end_datetimedatetime
The date/time of the start of the participant check-in.
Format: RFC 3339 (combined date, time and utc offset)
Example: "1999-01-01T00:00:00+00:00"
GET /tournaments/{id}
Returns a tournament identified by 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 to retrieve
Query Parameters
This endpoint doesn't have any query parameters.
Request Body
This endpoint doesn't 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, "participant_type": "team", "online": true, "location": "London", "country": "GB", "organization": "Avery Bullock", "contact": "contact@toornament.com", "discord": "https:\/\/discord.gg\/qWbbkuY", "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$", "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" }, "archived": false, "match_report_enabled": false, "registration_enabled": true, "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_request_message": "For more info, go there -> []", "registration_accept_message": "You must now follow the next steps -> []", "registration_refuse_message": "Sorry, your registration has been refused.", "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" }
Structure (object)
- idstring
A unique identifier for the tournament
Example: "378426939508809728"
- disciplinestring
A unique string identifier of a discipline
Example: "my_discipline"
- namestring
The name of the tournament (maximum 30 characters)
Example: "My Weekly Tournament"
- full_namestring|null
The complete name of the tournament (maximum 80 characters)
Example: "My Weekly Tournament - Long title"
- statusstring
The status of the tournament
Possible values: pending, running, completed
- scheduled_date_startdate|null
A starting date in ISO 8601 format (only the date part)
Pattern: YYYY-MM-DD
Example: "2015-09-06"
- scheduled_date_enddate|null
An ending date in ISO 8601 format (only the date part)
Pattern: YYYY-MM-DD
Example: "2015-09-07"
- timezonestring
A time zone represented using 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
- participant_typestring
The type of participants who plays in the tournament
Possible values: team, single
- onlineboolean
Whether the tournament is played on internet
Example: true
- locationstring|null
A region, city, address or place of interest
Example: "London"
- countrystring|null
A country where the tournament is played. Its possible that some code is not supported.
Format: ISO 3166-1 alpha-2
Example: "GB"
- organizationstring|null
The name of the organizer whether it is an individual, group, association or company
Example: "Avery Bullock"
- contactstring
The email address to contact the organizer
Example: "contact@toornament.com"
- discordstring
The discord URL to contact the organizer or participants
Example: "https://discord.gg/qWbbkuY"
- websitestring|null
The tournament's official website URL
Example: "http://www.toornament.com"
- descriptionstring|null
A description of the tournament (maximum 1,500 characters)
Example: "My description \n on multiple lines"
- rulesstring|null
A description of the tournament's rules (maximum 10,000 characters)
Example: "My rules \n on multiple lines"
- prizestring|null
A description of the tournament's prizes (maximum 1,500 characters)
Example: "1 - 10,000$ \n 2 - 5,000$"
- team_size_mininteger
Optional
The smallest possible team size (only if a team tournament)
- team_size_maxinteger
Optional
The largest possible team size (only if a team tournament)
- 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|null
The tournament logo in every available format.
Example: {"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"}
- archivedboolean
Whether the tournament is archived
Example: false
- match_report_enabledboolean
Whether the participant's match report is enabled
Example: false
- registration_enabledboolean
Whether the registration is enabled
Example: true
- registration_opening_datetimedatetime
The opening date of the registrations
Format: RFC 3339 (combined date, time and utc offset)
Example: "1999-01-01T00:00:00+00:00"
- registration_closing_datetimedatetime
The closing date of the registrations
Format: RFC 3339 (combined date, time and utc offset)
Example: "1999-01-01T00:00:00+00:00"
- registration_notification_enabledboolean
Whether to notify organizers when new registrations occur.
Example: true
- registration_request_messagestring
The message provided by the organizer for people who want to register
Example: "For more info, go there -> []"
- registration_accept_messagestring
The message sent to the players when a registration is accepted.
Example: "You must now follow the next steps -> []"
- registration_refuse_messagestring
The message sent to the players when a registration is refused.
Example: "Sorry, your registration has been refused."
- 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_datetimedatetime
The date/time of the start of the participant check-in
Format: RFC 3339 (combined date, time and utc offset)
Example: "1999-01-01T00:00:00+00:00"
- check_in_participant_end_datetimedatetime
The date/time of the start of the participant check-in.
Format: RFC 3339 (combined date, time and utc offset)
Example: "1999-01-01T00:00:00+00:00"
PATCH /tournaments/{id}
If you need to make changes on your tournament data, you are able to do so by patching one or several fields of your tournament.
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 to patch
Query Parameters
This endpoint doesn't 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", "organization": "Avery Bullock", "contact": "contact@toornament.com", "discord": "https:\/\/discord.gg\/qWbbkuY", "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$", "platforms": [ "pc", "playstation4" ], "archived": false, "match_report_enabled": false, "registration_enabled": true, "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_request_message": "For more info, go there -> []", "registration_accept_message": "You must now follow the next steps -> []", "registration_refuse_message": "Sorry, your registration has been refused.", "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" }
Structure (object)
- namestring
Optional
The name of the tournament (maximum 30 characters)
Example: "My Weekly Tournament"
- full_namestring|null
Optional
The complete name of the tournament (maximum 80 characters)
Example: "My Weekly Tournament - Long title"
- scheduled_date_startdate|null
Optional
A starting date in ISO 8601 format (only the date part)
Pattern: YYYY-MM-DD
Example: "2015-09-06"
- scheduled_date_enddate|null
Optional
An ending date in ISO 8601 format (only the date part)
Pattern: YYYY-MM-DD
Example: "2015-09-07"
- timezonestring
Optional
A time zone represented using the IANA tz database
Example: "America/Sao_Paulo"
- publicboolean
Optional
Whether the tournament is published
Example: true
- sizeinteger
Optional
The expected number of participants in the tournament
Example: 16
- onlineboolean
Optional
Whether the tournament is played on internet
Example: true
- locationstring|null
Optional
A region, city, address or place of interest
Example: "London"
- countrystring|null
Optional
A country where the tournament is played. Its possible that some code is not supported.
Format: ISO 3166-1 alpha-2
Example: "GB"
- organizationstring|null
Optional
The name of the organizer whether it is an individual, group, association or company
Example: "Avery Bullock"
- contactstring
Optional
The email address to contact the organizer
Example: "contact@toornament.com"
- discordstring
Optional
The discord URL to contact the organizer or participants
Example: "https://discord.gg/qWbbkuY"
- websitestring|null
Optional
The tournament's official website URL
Example: "http://www.toornament.com"
- descriptionstring|null
Optional
A description of the tournament (maximum 1,500 characters)
Example: "My description \n on multiple lines"
- rulesstring|null
Optional
A description of the tournament's rules (maximum 10,000 characters)
Example: "My rules \n on multiple lines"
- prizestring|null
Optional
A description of the tournament's prizes (maximum 1,500 characters)
Example: "1 - 10,000$ \n 2 - 5,000$"
- team_size_mininteger
Optional
The smallest possible team size (only if a team tournament)
- team_size_maxinteger
Optional
The largest possible team size (only if a team tournament)
- platformsarray[string]
Optional
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
- archivedboolean
Optional
Whether the tournament is archived
Example: false
- match_report_enabledboolean
Optional
Whether the participant's match report is enabled
Example: false
- registration_enabledboolean
Optional
Whether the registration is enabled
Example: true
- registration_opening_datetimedatetime
Optional
The opening date of the registrations
Format: RFC 3339 (combined date, time and utc offset)
Example: "1999-01-01T00:00:00+00:00"
- registration_closing_datetimedatetime
Optional
The closing date of the registrations
Format: RFC 3339 (combined date, time and utc offset)
Example: "1999-01-01T00:00:00+00:00"
- registration_notification_enabledboolean
Optional
Whether to notify organizers when new registrations occur.
Example: true
- registration_request_messagestring
Optional
The message provided by the organizer for people who want to register
Example: "For more info, go there -> []"
- registration_accept_messagestring
Optional
The message sent to the players when a registration is accepted.
Example: "You must now follow the next steps -> []"
- registration_refuse_messagestring
Optional
The message sent to the players when a registration is refused.
Example: "Sorry, your registration has been refused."
- check_in_enabledboolean
Optional
Whether to enable the check-in.
Example: true
- check_in_participant_enabledboolean
Optional
Whether to enable the check-in for participants.
Example: true
- check_in_participant_start_datetimedatetime
Optional
The date/time of the start of the participant check-in
Format: RFC 3339 (combined date, time and utc offset)
Example: "1999-01-01T00:00:00+00:00"
- check_in_participant_end_datetimedatetime
Optional
The date/time of the start of the participant check-in.
Format: RFC 3339 (combined date, time and utc offset)
Example: "1999-01-01T00:00:00+00:00"
Response
[200] Success
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, "participant_type": "team", "online": true, "location": "London", "country": "GB", "organization": "Avery Bullock", "contact": "contact@toornament.com", "discord": "https:\/\/discord.gg\/qWbbkuY", "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$", "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" }, "archived": false, "match_report_enabled": false, "registration_enabled": true, "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_request_message": "For more info, go there -> []", "registration_accept_message": "You must now follow the next steps -> []", "registration_refuse_message": "Sorry, your registration has been refused.", "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" }
Structure (object)
- idstring
A unique identifier for the tournament
Example: "378426939508809728"
- disciplinestring
A unique string identifier of a discipline
Example: "my_discipline"
- namestring
The name of the tournament (maximum 30 characters)
Example: "My Weekly Tournament"
- full_namestring|null
The complete name of the tournament (maximum 80 characters)
Example: "My Weekly Tournament - Long title"
- statusstring
The status of the tournament
Possible values: pending, running, completed
- scheduled_date_startdate|null
A starting date in ISO 8601 format (only the date part)
Pattern: YYYY-MM-DD
Example: "2015-09-06"
- scheduled_date_enddate|null
An ending date in ISO 8601 format (only the date part)
Pattern: YYYY-MM-DD
Example: "2015-09-07"
- timezonestring
A time zone represented using 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
- participant_typestring
The type of participants who plays in the tournament
Possible values: team, single
- onlineboolean
Whether the tournament is played on internet
Example: true
- locationstring|null
A region, city, address or place of interest
Example: "London"
- countrystring|null
A country where the tournament is played. Its possible that some code is not supported.
Format: ISO 3166-1 alpha-2
Example: "GB"
- organizationstring|null
The name of the organizer whether it is an individual, group, association or company
Example: "Avery Bullock"
- contactstring
The email address to contact the organizer
Example: "contact@toornament.com"
- discordstring
The discord URL to contact the organizer or participants
Example: "https://discord.gg/qWbbkuY"
- websitestring|null
The tournament's official website URL
Example: "http://www.toornament.com"
- descriptionstring|null
A description of the tournament (maximum 1,500 characters)
Example: "My description \n on multiple lines"
- rulesstring|null
A description of the tournament's rules (maximum 10,000 characters)
Example: "My rules \n on multiple lines"
- prizestring|null
A description of the tournament's prizes (maximum 1,500 characters)
Example: "1 - 10,000$ \n 2 - 5,000$"
- team_size_mininteger
Optional
The smallest possible team size (only if a team tournament)
- team_size_maxinteger
Optional
The largest possible team size (only if a team tournament)
- 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|null
The tournament logo in every available format.
Example: {"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"}
- archivedboolean
Whether the tournament is archived
Example: false
- match_report_enabledboolean
Whether the participant's match report is enabled
Example: false
- registration_enabledboolean
Whether the registration is enabled
Example: true
- registration_opening_datetimedatetime
The opening date of the registrations
Format: RFC 3339 (combined date, time and utc offset)
Example: "1999-01-01T00:00:00+00:00"
- registration_closing_datetimedatetime
The closing date of the registrations
Format: RFC 3339 (combined date, time and utc offset)
Example: "1999-01-01T00:00:00+00:00"
- registration_notification_enabledboolean
Whether to notify organizers when new registrations occur.
Example: true
- registration_request_messagestring
The message provided by the organizer for people who want to register
Example: "For more info, go there -> []"
- registration_accept_messagestring
The message sent to the players when a registration is accepted.
Example: "You must now follow the next steps -> []"
- registration_refuse_messagestring
The message sent to the players when a registration is refused.
Example: "Sorry, your registration has been refused."
- 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_datetimedatetime
The date/time of the start of the participant check-in
Format: RFC 3339 (combined date, time and utc offset)
Example: "1999-01-01T00:00:00+00:00"
- check_in_participant_end_datetimedatetime
The date/time of the start of the participant check-in.
Format: RFC 3339 (combined date, time and utc offset)
Example: "1999-01-01T00:00:00+00:00"
DELETE /tournaments/{id}
Delete a tournament.
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 to delete
Query Parameters
This endpoint doesn't have any query parameters.
Request Body
This endpoint doesn't require a request body.