Competier
  1. invite
Competier
  • api-key
    • Creates and returns a new api key, invalidating the previous one.
      POST
  • ladder
    • Adds a ladder to an account.
      POST
    • Deletes a ladder from an account, including all its entries, ratings and results.
      DELETE
    • Gets ladders of an account.
      GET
  • ladder-entry
    • Adds a self-managed entry to a ladder.
      POST
    • Deletes a ladder-entry from a ladder, including all its ratings and results.
      DELETE
    • Gets ladder entries.
      GET
  • result
    • Adds a game result for a played game.
      POST
    • Deletes a game result by rolling it back, reverting rating changes.
      DELETE
    • Gets game results.
      GET
  • invite
    • Adds an invite.
      POST
    • Accepts an invite.
      PUT
    • Deletes an invite.
      DELETE
    • Gets invites.
      GET
  • account
    • Updates account data.
      PATCH
  • credit
    • Fetches credit info.
      GET
  • matchmaking
  • bulk
  1. invite

Gets invites.

GET
/v1/invites
invite
Gets all invites for a ladder or tournament.

Request

Authorization
Provide your bearer token in the
Authorization
header when making requests to protected resources.
Example:
Authorization: Bearer ********************
Query Params
ladderId
array[integer]
optional
Get all invites for the ladder with this id.
tournamentId
array[integer]
optional
Get all invites for the tournament with this id. Currently unused.

Request samples

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request GET 'https://api.competier.net/v1/invites'

Responses

🟢200OK
application/json
Body
array of:
code
string 
required
References an invite and forms an invite link for use through the Competier App.
Example:
HHLCdISYcyU=
ladderId
integer 
optional
Which ladder this invites to.
Example:
0
tournamentId
integer 
optional
Which tournament this invites to.
Example:
0
uses
integer 
optional
How many uses are left for this invite (if it's use-limited).
Example:
100
teamLadderEntryId
integer 
optional
Which ladder-entry id this invites to. This allows for "team invites" where all accounts accepting the same invite act as a single ladder-entry in a competition. This is useful if you intend to rate a team constellation as a whole, instead of each player by themselves.
Example
[
  {
    "code": "HHLCdISYcyU=",
    "ladderId": 0,
    "tournamentId": 0,
    "uses": 100,
    "teamLadderEntryId": 0
  }
]
🟠400Bad request
🟠401Unauthorized
🟠429Too Many Requests
Previous
Deletes an invite.
Next
Updates account data.
Built with