Club API
Version 1. Your club's server can show the club's tournaments, send player sign-ups to the club, and read and update the club's players. This page lists every call, field and error, and what the API cannot do.
What it is for
A poker club runs its tournaments in LynxPoker. With a club API key, the club's own website can show those tournaments and let players sign up for them there.
A sign-up from the website never seats the player and never takes a payment. It waits in LynxPoker until the club's staff seat the player or turn the sign-up down.
A club that has its own member or cashier system can also keep its players the same in both: read the roster, add players, and edit or delete them.
Before you start
- Only the club's owner can create a key, in the LynxPoker web app under Settings, then API keys. The owner picks a name and what the key may do. A club can have up to 20 active keys.
- A key needs a plan. A club on its free trial cannot create one. Any plan counts, however the club pays for it, and also a plan we gave the club. If the club's card payment fails, its keys keep working while the payment is tried again. Once the subscription is unpaid, or the plan ends, every call with its keys is refused with
403CLUB_API_NEEDS_PLAN. We keep the keys, and they work again on the next call once the club has a plan. - We show a key only once, when it is created. If it is lost, the owner revokes it and creates a new one. A revoked key stops working at once and cannot be turned back on.
- Call the API from your server only. The key is a secret: never put it in a web page, a mobile app or a public code repository. A call that carries a browser's
Originheader from your site is refused with403CLUB_API_BROWSER_BLOCKED. If your server passes a visitor's request on to us, do not copy the browser's headers. - The club is responsible for its integration and for the player data it reads or changes through the API, including what its developers and systems do with that data. We are not responsible for an integration that works poorly or does not follow this guide. We may limit or revoke a key that breaks our Terms of Service, our Privacy Policy or this guide.
Keys and answers
Every call goes to this address. The paths on this page start with /api.
https://api.lynx.pokerSend the key in the Authorization header of every call, after the word ClubKey and a space:
Authorization: ClubKey <keyId>.<secret>A key is two parts joined by a dot: the key ID and the secret. Send it exactly as you copied it.
What a key may do
The owner picks this when creating the key. A call that needs access the key does not have is refused with 403.
A key's access cannot be changed after it is created. To give your server more access, such as the players accesses for a key made before they existed, the owner creates a new key with that access. Switch your server to the new key, then the owner revokes the old one.
| Access | Name in the app | Calls |
|---|---|---|
TOURNAMENTS_READ | Read tournaments | GET /api/club-api/v1/tournaments GET /api/club-api/v1/tournaments/:id |
REGISTRATIONS_CREATE | Send sign-ups | POST /api/club-api/v1/tournaments/:id/registrations |
PLAYERS_READ | Read players | GET /api/club-api/v1/players GET /api/club-api/v1/players/deleted GET /api/club-api/v1/players/:id |
PLAYERS_WRITE | Add and edit players | POST /api/club-api/v1/players PATCH /api/club-api/v1/players/:id |
PLAYERS_DELETE | Delete players | DELETE /api/club-api/v1/players/:id |
PLAYERS_SENSITIVE | Read ID numbers and photos | GET /api/club-api/v1/players/:id/sensitive GET /api/club-api/v1/players/:id/photo |
Answers
Every answer is JSON, except a player's photo. A successful answer holds its data in body. Its status field always reads 200, so read the HTTP status instead: 201 from sending a sign-up, also a repeated one, and from adding a player, 200 from the rest.
An error answer has the HTTP status, a message for people and, for most errors, an errorCode. Read the HTTP status and errorCode, never the message: messages can change.
HTTP/1.1 409 Conflict
{
"statusCode": 409,
"message": "Registration for this tournament is full.",
"errorCode": "APP_REG_CAP_FULL",
"details": { "limit": 40 },
"timestamp": "2026-11-10T09:30:00.000Z",
"path": "/api/club-api/v1/tournaments/b1f6c0e2-3a4d-4c8e-9f21-7d5a2c9e4b10/registrations"
}Tournament calls
List the club's tournaments
GET/api/club-api/v1/tournaments
Access needed: TOURNAMENTS_READ
Returns the tournaments running or paused now, then the ones not started yet that are planned for the next 30 days. A tournament that has not started stays on the list for 6 hours after its planned start. The list holds at most 200: live ones first, then by planned start. A tournament not started yet is listed only when it has a planned start. Finished tournaments are never listed: read one by its ID.
Tournaments the club hides from the API and the club's practice tournament are never listed.
Each item is the summary the LynxPoker players app shows: the buy-in, the start, when late registration closes, the field size, and the prize pool when the tournament shows prizes. serverTime is our clock, so you can correct for yours.
curl https://api.lynx.poker/api/club-api/v1/tournaments \
-H "Authorization: ClubKey $LYNX_CLUB_KEY"{
"status": 200,
"body": {
"items": [
{
"id": "b1f6c0e2-3a4d-4c8e-9f21-7d5a2c9e4b10",
"organizationId": "5c2e9a71-0d3b-4f6a-8e14-2b7c9d0a1f33",
"timeFormat": "24h",
"dateFormat": "dmy",
"title": "Thursday deepstack",
"description": null,
"game": "Holdem",
"type": "Regular",
"format": "ReEntry",
"scheduledStartAt": "2026-11-12T18:00:00.000Z",
"startingTime": null,
"gameStatus": {
"position": "Created",
"currentLevelUuid": null,
"currentLevelStartTimestamp": null,
"unTouchedCurrentLevelStartTimestamp": null,
"currentLevelPauseStartTimestamp": null,
"startTimestamp": null,
"endTimestamp": null,
"tables": []
},
"settings": {
"buyIn": 800,
"rake": 150,
"bounty": null,
"startingStack": 30000,
"guarantee": 10000,
"reEntryLimit": 2,
"format": "ReEntry",
"isDisplayPrizes": true,
"isDisplayPotLimitBetRange": true,
"showReEntries": true,
"showTotalChips": true,
"showAddOns": false,
"showSeats": true,
"isAnnouncement": false,
"announcement": "",
"color": null
},
"info": {
"activePlayers": 0,
"aggregateEntries": 0,
"aggregateReEntries": 0,
"totalPrizePool": 0
},
"levelDurationMinutes": 20,
"lateRegLevel": 8,
"lateRegCloseAt": "2026-11-12T20:40:00.000Z",
"lateRegClosed": false
}
],
"serverTime": "2026-11-10T09:30:00.000Z"
}
}Errors this call can return: 401, 403, 429, 500, 503
Get one tournament
GET/api/club-api/v1/tournaments/:id
Access needed: TOURNAMENTS_READ
Returns one tournament of your club, in any state, also after it finishes. It has every field of a list item, plus the blind levels, the prizes and the players. The club's settings for the players app never change what the API shows or whether it takes sign-ups: the club sets the API apart, for each tournament.
lateRegClosed is true once registration is closed: a sign-up then answers 409 APP_REG_CLOSED. appRegistrationEnabled is false when the club turned off sign-ups through the API for this tournament: a sign-up then answers 403 APP_REG_DISABLED. appRegistrationLimit is always null: the players app's sign-up limit does not apply to the API. No field promises that a sign-up will pass: the answer to the sign-up decides.
curl https://api.lynx.poker/api/club-api/v1/tournaments/b1f6c0e2-3a4d-4c8e-9f21-7d5a2c9e4b10 \
-H "Authorization: ClubKey $LYNX_CLUB_KEY"{
"status": 200,
"body": {
"id": "b1f6c0e2-3a4d-4c8e-9f21-7d5a2c9e4b10",
"title": "Thursday deepstack",
"levels": [
{
"uuid": "0f4b2a6c-1e3d-4b5a-9c7e-2d8f6a4b1c3e",
"order": 1,
"orderWithBreaks": 1,
"in": 100,
"out": 200,
"ante": 200,
"lengthInMinuets": 20,
"isBreak": false
}
],
"prizes": [],
"lastUpdatedAt": "2026-11-09T16:12:44.000Z",
"serverTime": "2026-11-10T09:30:00.000Z",
"appRegistrationEnabled": true,
"appRegistrationLimit": null
}
}Shortened: the real answer also has every field of a list item. <fields>Answer fields</fields> lists every field.
Errors this call can return: 401, 403, 404, 429, 500, 503
Send a sign-up
POST/api/club-api/v1/tournaments/:id/registrations
Access needed: REGISTRATIONS_CREATE
Asks to register one player for one tournament. Send the player's roster ID, or the player's name with a phone, an email or both. Never both ways in one call.
| Field | Type | Required | Rules |
|---|---|---|---|
playerId | string | Send this, or name | The ID of a player on your club's roster. At most 64 characters. |
name | string | Yes, without playerId | The player's name. Not blank, at most 120 characters. |
phone | string | A phone, an email or both, without playerId | At most 32 characters. See the phone rules below. |
email | string | A phone, an email or both, without playerId | A valid email address, at most 254 characters. |
Send only these fields: any other field is refused with 400. A field sent as null counts as not sent.
curl -X POST https://api.lynx.poker/api/club-api/v1/tournaments/b1f6c0e2-3a4d-4c8e-9f21-7d5a2c9e4b10/registrations \
-H "Authorization: ClubKey $LYNX_CLUB_KEY" \
-H "Content-Type: application/json" \
-d '{"name": "Jordan Example", "phone": "+1 702 555 0147", "email": "jordan@example.com"}'curl -X POST https://api.lynx.poker/api/club-api/v1/tournaments/b1f6c0e2-3a4d-4c8e-9f21-7d5a2c9e4b10/registrations \
-H "Authorization: ClubKey $LYNX_CLUB_KEY" \
-H "Content-Type: application/json" \
-d '{"playerId": "3e9a1c5b-2d4f-4a6b-8c0e-5f7a9b1d3c2e"}'The answer is 201 with the sign-up. Its status is always PENDING. createdPlayer is true when this call added the player to the club's roster.
HTTP/1.1 201 Created
{
"status": 200,
"body": {
"registrationId": "7d0c2f4e-8b1a-4e5f-a3c6-91b2d4e6f8a0",
"status": "PENDING",
"playerId": "3e9a1c5b-2d4f-4a6b-8c0e-5f7a9b1d3c2e",
"createdPlayer": true
}
}Errors this call can return: 400, 401, 403, 404, 409, 413, 429, 500, 503
How we find the player
With playerId, we use that player. It must be a player on your club's roster, or the answer is 404.
With a name, we look among your club's players for the same phone number or the same email. An email matches whatever its capital letters. The name is never used to find someone.
If several players match, we take the one with both the same phone and email, then the same phone, then the same email. Among equals, we take the one staff updated last.
If we find the player, we use them and change nothing in their details. If not, we add a new player to the club's roster with the name, phone and email you sent.
A player staff added with only a name is never found this way, so a sign-up with their name and phone adds a second player. To avoid it, find the player first with the player calls, which need PLAYERS_READ, and send their playerId.
A phone number without + is read as a number in the club's country, or Israel when the club has none set. For a number from another country, start with + and the country code. A number that is not valid is refused with 400.
A placeholder number, one whose last 7 digits are all the same, such as 050-0000000, is refused with 400 unless you also send an email. Then we find the player by the email.
Sending the same sign-up again while it waits returns the same sign-up, with the same registrationId, and changes nothing. So you can safely retry a call that timed out. This holds only while registration is open: once it is closed, a repeat answers 409 APP_REG_CLOSED, and once the club turns off sign-ups through the API for the tournament, 403 APP_REG_DISABLED.
What happens next
The sign-up shows in the tournament's Registered players list in LynxPoker, marked From website, and staff get the same alert as for a sign-up from the players app. At the desk, staff seat the player or turn the sign-up down.
The API cannot tell your website what staff decided. No call reads a sign-up, and we send no webhooks. If the player uses the LynxPoker players app and is connected to the club, the app tells them when they are seated.
A repeat call is not a way to check. Once the player is seated or on the waiting list, a repeat answers 409 APP_REG_ALREADY_ENTERED. After staff turn a sign-up down, or once the player is out or removed, a repeat sends a new sign-up.
Player calls
With the players accesses, your server reads the club's roster and keeps it the same as the club's own member or cashier system. It is the list staff see in LynxPoker: a player you add shows there at once, and a player staff add comes in your next call.
A player's details are personal data, and the club is responsible for them. Give a key only the accesses it needs, and keep what you read as safe as the key itself. The club's owner sees what each key did in the LynxPoker web app, under Settings, then API keys: every player it added, edited or deleted, every read of an ID number or a photo, and one line an hour while it reads players.
List the club's players
GET/api/club-api/v1/players
Access needed: PLAYERS_READ
Returns the club's players in the order they last changed, oldest first. So one call lists everyone, and later tells you what changed. The parameters go in the address, after ?. None is required.
| Parameter | Type | Rules |
|---|---|---|
limit | number | How many players a page holds, from 1 to 200. Without it, 100. |
cursor | string | The nextCursor of an earlier answer. Send it with the same search as the call that returned it. |
changedSince | string (date-time) | A time with its zone, such as 2026-11-10T09:30:00Z. Only players added or changed at that time or later. For a first call only: after that, use the cursor. |
search | string | At most 120 characters. Only players with this text in their name, nickname, email or phone. A whole phone number is found however it is written, with + and the country code when it is from outside the club's country. A part of one is found only as the club saved it. |
While hasMore is true, call again with cursor set to the nextCursor you got. nextCursor is never null: keep the last one, to ask later what changed. A cursor we did not give is refused with 400.
A player in these answers never carries an ID number or a photo. Those have their own calls and their own access.
curl "https://api.lynx.poker/api/club-api/v1/players?limit=200" \
-H "Authorization: ClubKey $LYNX_CLUB_KEY"{
"status": 200,
"body": {
"items": [
{
"id": "6f1c8a2e-7b3d-4e5f-9a10-2c4e6a8b0d1f",
"name": "Sam Example",
"nickname": "Sammy",
"phone": "+17025550112",
"email": "sam@example.com",
"birthDate": "1990-04-12",
"nationality": "US",
"createdAt": "2026-03-02T17:05:11.000Z",
"changedAt": "2026-11-10T09:30:00.000Z"
}
],
"nextCursor": "Y3Vyc29yLWV4YW1wbGUtcGxheWVycy0wMDE",
"hasMore": false
}
}Errors this call can return: 400, 401, 403, 429, 500, 503
Keep your copy up to date
To hold a copy of the roster in your own system, read all of it once, then ask only for what changed.
- Read every page until
hasMoreisfalse, and save the lastnextCursor. - Later, call with the saved cursor. The answer holds only the players added or changed since then, by staff in LynxPoker or through the API. Save the new
nextCursorevery time. - Do the same with the deleted players call, which has its own cursor, and remove those players from your copy.
curl "https://api.lynx.poker/api/club-api/v1/players?limit=200&cursor=Y3Vyc29yLWV4YW1wbGUtcGxheWVycy0wMDE" \
-H "Authorization: ClubKey $LYNX_CLUB_KEY"- A change made in the last few seconds can come in the next call instead of this one. It is never skipped.
- A player can come more than once, once after each change. Save players by
id, so a repeat only writes over the same player. changedSincestarts a first call at a time instead of at the beginning. After that, use the cursor: a time from your own clock can miss a change.- We keep the list of deleted players for 90 days. A cursor or a
sincetime older than that is refused with410SYNC_CURSOR_EXPIRED. Then read the whole roster again, remove the players it no longer has, and start the deleted players call with no cursor. A server that asks at least once in 90 days never sees this: every answer gives a new cursor, also when nobody was deleted. - Asking once a minute is enough. Every call counts toward the key's limits.
List deleted players
GET/api/club-api/v1/players/deleted
Access needed: PLAYERS_READ
Returns the IDs of the players deleted from the roster, by staff in LynxPoker or through the API, each with its time, oldest first. A deleted player is no longer in the players list, so this call is how your copy learns of it.
It has pages like the players list, with limit and cursor. since is a time with its zone, such as 2026-11-10T09:30:00Z, that starts a first call at that time.
We keep each line for 90 days. A cursor or since older than that answers 410 SYNC_CURSOR_EXPIRED, never a list with a gap in it.
curl "https://api.lynx.poker/api/club-api/v1/players/deleted" \
-H "Authorization: ClubKey $LYNX_CLUB_KEY"{
"status": 200,
"body": {
"items": [
{
"playerId": "9b2d4e6f-1a3c-4d5e-8f70-6c8a0b2d4e1f",
"deletedAt": "2026-11-09T21:14:03.000Z"
}
],
"nextCursor": "Y3Vyc29yLWV4YW1wbGUtZGVsZXRlZC0wMDE",
"hasMore": false
}
}Errors this call can return: 400, 401, 403, 410, 429, 500, 503
Get one player
GET/api/club-api/v1/players/:id
Access needed: PLAYERS_READ
Returns one player of your club, with the same fields as an item of the list. An ID we do not know, or the ID of another club's player, answers 404.
curl https://api.lynx.poker/api/club-api/v1/players/3e9a1c5b-2d4f-4a6b-8c0e-5f7a9b1d3c2e \
-H "Authorization: ClubKey $LYNX_CLUB_KEY"Errors this call can return: 401, 403, 404, 429, 500, 503
Add a player
POST/api/club-api/v1/players
Access needed: PLAYERS_WRITE
Adds one player to the club's roster. Send a name with a phone, an email or both.
| Field | Type | Required | Rules |
|---|---|---|---|
name | string | Yes | The player's name. Not blank, at most 120 characters. |
phone | string | A phone, an email or both | At most 32 characters. The phone rules of a sign-up apply. |
email | string | A phone, an email or both | A valid email address, at most 254 characters. |
nationality | string | No | A country code or free text, at most 60 characters. |
idNumber | string | No | An ID, passport or member number, at most 64 characters. The key needs PLAYERS_SENSITIVE too, or the call is refused with 403. |
Send only these fields: any other field is refused with 400. A field sent as null counts as not sent.
curl -X POST https://api.lynx.poker/api/club-api/v1/players \
-H "Authorization: ClubKey $LYNX_CLUB_KEY" \
-H "Content-Type: application/json" \
-d '{"name": "Jordan Example", "phone": "+1 702 555 0147", "email": "jordan@example.com", "nationality": "US"}'The answer is 201 with the player. A valid phone comes back in the international form, such as +17025550147. A key without PLAYERS_READ gets only the new player's id and changedAt.
HTTP/1.1 201 Created
{
"status": 200,
"body": {
"id": "3e9a1c5b-2d4f-4a6b-8c0e-5f7a9b1d3c2e",
"name": "Jordan Example",
"nickname": null,
"phone": "+17025550147",
"email": "jordan@example.com",
"birthDate": null,
"nationality": "US",
"createdAt": "2026-11-10T09:30:00.000Z",
"changedAt": "2026-11-10T09:30:00.000Z"
}
}We look for the same person by phone or email, never by name. If the roster already has a player with this phone, nothing is added: the answer is 409 PLAYER_EXISTS, and details.playerId is that player. When you send no phone, or a placeholder phone, the same goes for the email. An email sent with a new phone is a new player, because families share an email.
HTTP/1.1 409 Conflict
{
"statusCode": 409,
"message": "This player is already on the roster.",
"errorCode": "PLAYER_EXISTS",
"details": { "playerId": "3e9a1c5b-2d4f-4a6b-8c0e-5f7a9b1d3c2e" },
"timestamp": "2026-11-10T09:31:00.000Z",
"path": "/api/club-api/v1/players"
}So a call that timed out is safe to send again: if the first one passed, the repeat answers 409 with the player it added.
Many players on a club's roster have only a name, because staff added them at the desk. We cannot find those by phone or email, so adding one of them again makes a second player. Before you add a player, list the roster with search set to their name (the list needs PLAYERS_READ). If you find them with no phone and no email, edit that player to add the phone or email instead of adding a new one.
Errors this call can return: 400, 401, 403, 409, 413, 429, 500, 503
Edit a player
PATCH/api/club-api/v1/players/:id
Access needed: PLAYERS_WRITE
Changes only the fields you send. They are the fields of adding a player, with the same rules: name, phone, email, nationality and idNumber. The nickname and the birth date cannot be changed: the player gives them when joining the club.
Send null to clear the phone, the email or the ID number. A player keeps a phone or an email: an edit that clears the last of the two is refused with 400. The name and the nationality cannot be null.
Staff can edit the same player in LynxPoker. To avoid writing over their change, send the changedAt you last read as expectedChangedAt. If the player changed since then, nothing is written: the answer is 409 PLAYER_CHANGED, and details.changedAt is the new time.
A phone that another player has is refused with 409 PLAYER_EXISTS. So is an email that another player has, when the edit leaves this player with no phone or with a placeholder phone.
curl -X PATCH https://api.lynx.poker/api/club-api/v1/players/3e9a1c5b-2d4f-4a6b-8c0e-5f7a9b1d3c2e \
-H "Authorization: ClubKey $LYNX_CLUB_KEY" \
-H "Content-Type: application/json" \
-d '{"email": "jordan.new@example.com", "expectedChangedAt": "2026-11-10T09:30:00.000Z"}'The answer is the player after the edit. A key without <c>PLAYERS_READ</c> gets only the player's <c>id</c> and <c>changedAt</c>. An edit that changes nothing is fine, and does not count toward the 24-hour limit. The same phone written another way is not a change.
{
"status": 200,
"body": {
"id": "3e9a1c5b-2d4f-4a6b-8c0e-5f7a9b1d3c2e",
"name": "Jordan Example",
"nickname": null,
"phone": "+17025550147",
"email": "jordan.new@example.com",
"birthDate": null,
"nationality": "US",
"createdAt": "2026-11-10T09:30:00.000Z",
"changedAt": "2026-11-12T14:02:45.000Z"
}
}Errors this call can return: 400, 401, 403, 404, 409, 413, 429, 500, 503
Delete a player
DELETE/api/club-api/v1/players/:id
Access needed: PLAYERS_DELETE
Deletes the player for good. It cannot be undone. The player's past tournament results stay, by name only, and the player's connection to the club in the LynxPoker players app ends.
A player who is still in play at the club cannot be deleted: one with a sign-up that waits for staff, a seat, a place on a waiting list or a qualification, in a tournament or other game that has not finished, also when it has not started yet. The answer is 409 PLAYER_IN_PLAY. A player who is out can be deleted. Deleting a player who is already deleted answers 404.
All the keys of a club together can delete 50 players in any 24 hours. After that the answer is 429 CLUB_DAILY_DELETE_LIMIT.
curl -X DELETE https://api.lynx.poker/api/club-api/v1/players/3e9a1c5b-2d4f-4a6b-8c0e-5f7a9b1d3c2e \
-H "Authorization: ClubKey $LYNX_CLUB_KEY"{
"status": 200,
"body": {
"playerId": "3e9a1c5b-2d4f-4a6b-8c0e-5f7a9b1d3c2e"
}
}Errors this call can return: 401, 403, 404, 409, 429, 500, 503
Get a player's ID number
GET/api/club-api/v1/players/:id/sensitive
Access needed: PLAYERS_SENSITIVE
Returns the player's ID, passport or member number as the club saved it, and whether the player has a photo. One player a call: no list carries it.
We log every read. The club's owner sees the log in the LynxPoker web app, under Settings, then API keys. A key can make 500 reads of ID numbers and photos in any 24 hours.
curl https://api.lynx.poker/api/club-api/v1/players/3e9a1c5b-2d4f-4a6b-8c0e-5f7a9b1d3c2e/sensitive \
-H "Authorization: ClubKey $LYNX_CLUB_KEY"{
"status": 200,
"body": {
"idNumber": "A1234567",
"hasPhoto": true
}
}Errors this call can return: 401, 403, 404, 429, 500, 503
Get a player's photo
GET/api/club-api/v1/players/:id/photo
Access needed: PLAYERS_SENSITIVE
Returns the photo of the player's face that staff took at the desk, as the image itself, not JSON. The Content-Type header gives the image's type, image/webp today. A player with no photo answers 404. The photo of an ID card is never returned.
We log and count it like a read of the ID number. Do not keep the photo in a cache that other people can reach.
curl https://api.lynx.poker/api/club-api/v1/players/3e9a1c5b-2d4f-4a6b-8c0e-5f7a9b1d3c2e/photo \
-H "Authorization: ClubKey $LYNX_CLUB_KEY" \
-o player-photo.webpErrors this call can return: 401, 403, 404, 429, 500, 503
Answer fields
Every field our answers can carry, from the API's own definition. A field's meaning is given where its name does not say it.
Times are text in UTC, such as 2026-11-12T18:00:00.000Z. A field whose name ends in Timestamp is a number of milliseconds since 1 January 1970, UTC. Amounts of money are plain numbers with no currency.
A field marked "when it applies" is left out of the answer when it does not apply. null comes only in a field whose type has it.
list
The answer to the list call.
Where in the answer: body
| Field | Type | Sent | Meaning |
|---|---|---|---|
items | tournament[] | Always | |
serverTime | string (date-time) | Always | Our clock when we answered, so you can correct for yours. |
tournament
One tournament: each item of the list, and the start of the detail answer.
Where in the answer: body.items[] · body
| Field | Type | Sent | Meaning |
|---|---|---|---|
id | string | Always | The tournament's ID, for the detail and sign-up calls. |
organizationId | string | Always | Your club's ID. |
timeFormat | "12h" | "24h" | Always | How the club writes times: a 12-hour or a 24-hour clock. |
dateFormat | "dmy" | "mdy" | Always | How the club writes dates: day first (dmy) or month first (mdy). |
title | string | Always | |
description | string | null | Always | |
game | "Holdem" | "Omaha" | Always | |
type | "Regular" | "Mystery" | "Bounty" | "Progressive" | "Satellite" | Always | |
format | "ReEntry" | "Freezeout" | "Rebuy" | Always | |
scheduledStartAt | string (date-time) | null | Always | The planned start. null once play starts. |
startingTime | string (date-time) | null | Always | When play started. null before that. |
gameStatus | gameStatus | Always | |
settings | settings | Always | |
info | info | Always | |
levelDurationMinutes | number | null | Always | The length of the level being played, or of the first level before play starts. |
lateRegLevel | number | null | Always | The last level in which a player can still enter, counted from level 1. null when there is no late registration. |
lateRegCloseAt | string (date-time) | null | Always | When late registration closes, when a time applies. |
lateRegClosed | boolean | Always | true once registration is closed. A sign-up then answers 409 APP_REG_CLOSED. |
registration | registrationState | When it applies | The state of registration. lateRegClosed is true in every state but Open and Unknown. |
eventId | string | When it applies | The event this tournament is one day of. Sent only for a day of a multi-day event, with the next three fields. |
dayLabel | string | When it applies | The day's name as the club typed it, such as Day 1A or Day 2. |
dayKind | "FLIGHT" | "ONLINE" | "DAY" | When it applies | FLIGHT is a Day 1 flight, ONLINE a Day 1 whose entries staff type in, with no clock, and DAY is Day 2 or later. |
dayStep | number | When it applies | 1 for the Day 1 flights, 2 for Day 2, and so on. |
buyInPartWord | "RAKE" | "FEE" | "CUSTOM" | When it applies | The club's word for the house's part of the buy-in. Left out when it is RAKE. |
buyInPartCustom | string | When it applies | The club's own word for it, when buyInPartWord is CUSTOM. |
detail
The fields only the detail answer has, after those of a list item.
Where in the answer: body
| Field | Type | Sent | Meaning |
|---|---|---|---|
levels | level[] | Always | |
day1EndLevelUuid | string | When it applies | Sent only for a starting day of a multi-day event that ends at a set level: the uuid of that level, where the day's clock stops. A website can ignore it. |
baggingTime | boolean | When it applies | true while staff bag the chips at the end of this Day 1 flight. Sent only for a day of a multi-day event. |
prizes | prize[] | Always | Empty unless the tournament shows prizes. |
players | player[] | When it applies | The players in the tournament. |
lastUpdatedAt | string (date-time) | Always | When the tournament last changed. |
serverTime | string (date-time) | Always | Our clock when we answered, so you can correct for yours. |
registeredCount | number | When it applies | Sign-ups that are waiting, seated or on the waiting list. |
clockLayout | clockLayout | When it applies | |
clockStyle | "classic" | "dial" | When it applies | The club's clock style in the players app. A website can ignore it. |
clockValueOptions | clockValueOptions | When it applies | |
pendingRegistrationCount | number | When it applies | Sign-ups waiting for staff. |
appRegistrationEnabled | boolean | Always | Whether the tournament takes sign-ups through the API now. When false, a sign-up answers 403 APP_REG_DISABLED. |
appRegistrationLimit | number | null | Always | Always null. The players app's sign-up limit does not apply to the API. |
structureEstimate | structureEstimate | null | When it applies | Sent only when the club turned it on, and only once late registration is closed. |
registrationState
Whether registration is open, and why not when it is closed.
Where in the answer: registration
| Field | Type | Sent | Meaning |
|---|---|---|---|
state | "Open" | "ClosedByLevel" | "SwitchedOff" | "HeldForResults" | "Finished" | "Unknown" | Always | Open: a player can still sign up. ClosedByLevel: late registration ended. SwitchedOff: staff closed registration. HeldForResults: the last level ended while staff settle the results. Finished: the tournament is over. Unknown: we cannot tell which level is playing, so registration stays open. |
gameStatus
The state of the tournament's clock.
Where in the answer: gameStatus
| Field | Type | Sent | Meaning |
|---|---|---|---|
position | "Created" | "Running" | "Paused" | "Finished" | Always | Created: not started. Running or Paused: in play. Finished: over. |
currentLevelUuid | string | null | Always | The level being played, as the uuid of one of the levels. |
currentLevelStartTimestamp | number | null | Always | |
unTouchedCurrentLevelStartTimestamp | number | null | Always | |
currentLevelPauseStartTimestamp | number | null | Always | |
startTimestamp | number | null | Always | |
endTimestamp | number | null | Always | |
totalRunningTimeMs | number | When it applies | |
runState | "Created" | "Running" | "Paused" | "Finished" | "AwaitingResult" | "LevelEndHold" | When it applies | Like position, with two kinds of pause told apart: AwaitingResult is paused while staff settle the results, and LevelEndHold is paused when a level ended, until staff go on. |
tables | number[] | Always | The numbers of the tables in play. |
handForHand | handForHand | When it applies | |
lastHands | lastHands | When it applies |
handForHand
Sent only while the tables play hand for hand, and the tournament is running or paused.
Where in the answer: gameStatus.handForHand
| Field | Type | Sent | Meaning |
|---|---|---|---|
on | boolean | Always | |
hand | number | Always |
lastHands
Sent only while the last hands are played, and the tournament is running or paused.
Where in the answer: gameStatus.lastHands
| Field | Type | Sent | Meaning |
|---|---|---|---|
total | number | Always | |
current | number | Always |
settings
The tournament's settings that players see.
Where in the answer: settings
| Field | Type | Sent | Meaning |
|---|---|---|---|
buyIn | number | Always | The full price of an entry. The rake and any bounty are inside it, never added to it. |
rake | number | Always | The house's part of buyIn. |
reEntryPrice | number | null | When it applies | The price of a re-entry or a rebuy, or null when there is none. |
bounty | number | null | Always | The bounty part of buyIn, or null when there is none. |
startingStack | number | Always | |
guarantee | number | null | Always | |
reEntryLimit | number | null | Always | |
format | "ReEntry" | "Freezeout" | "Rebuy" | Always | |
seatsPerTable | number | When it applies | |
isDisplayPrizes | boolean | Always | true when the tournament shows prizes. When false, prizes is empty and info has no pools. |
isDisplayPotLimitBetRange | boolean | Always | |
startingLevelUuid | string | null | When it applies | |
startingRemainingMs | number | null | When it applies | |
showReEntries | boolean | Always | |
showTotalChips | boolean | Always | |
showAddOns | boolean | Always | |
rebuyStackLimit | number | null | When it applies | |
addOn | addOn | null | When it applies | The add-on, or null when the tournament has none. |
showSeats | boolean | Always | Always true in the API: every seated player has a table and seat. |
isAnnouncement | boolean | Always | |
announcement | string | Always | |
color | string | null | Always | The clock colour the club picked, as a hex colour, or null. |
addOn
The add-on, while the tournament has one.
Where in the answer: settings.addOn
| Field | Type | Sent | Meaning |
|---|---|---|---|
afterLevel | number | Always | Sold at the break after this level. |
buyIn | number | Always | Its full price, with the rake inside it. |
stack | number | Always |
info
The field and the prize pool. The pools are left out when the tournament does not show prizes. The satellite fields are null on a tournament that is not a satellite.
Where in the answer: info
| Field | Type | Sent | Meaning |
|---|---|---|---|
bountyPool | number | When it applies | |
activePlayers | number | When it applies | |
aggregateEntries | number | When it applies | |
aggregateReEntries | number | When it applies | |
theoreticalTotalChips | number | When it applies | |
aggregateAddOns | number | When it applies | |
totalPrizePool | number | When it applies | |
satelliteSeats | number | null | When it applies | |
satelliteSeatMode | "GUARANTEED" | "AUTO" | null | When it applies | |
satelliteTargetStack | number | null | When it applies | |
satelliteQualified | number | null | When it applies | |
qualifiedStackTotal | number | null | When it applies |
level
One blind level or break, in playing order.
Where in the answer: levels[]
| Field | Type | Sent | Meaning |
|---|---|---|---|
lengthInMinuets | number | Always | The level's length in minutes. The field's name is spelled this way. |
in | number | Always | The small blind. |
out | number | Always | The big blind. |
ante | number | Always | |
isBreak | boolean | Always | |
order | number | Always | |
orderWithBreaks | number | Always | |
uuid | string | Always | The level's ID, as in gameStatus.currentLevelUuid. |
prize
One place in the prize list. The list is empty unless the tournament shows prizes.
Where in the answer: prizes[]
| Field | Type | Sent | Meaning |
|---|---|---|---|
place | number | Always | |
prizeAmount | number | null | Always | |
prizePercentage | number | Always | |
prizeType | "cash" | "seat" | When it applies | seat when the prize is a seat in another tournament. |
seatLabel | string | null | When it applies |
player
One player in the tournament.
Where in the answer: players[]
| Field | Type | Sent | Meaning |
|---|---|---|---|
name | string | Always | |
entries | number | Always | |
busted | boolean | Always | true once the player is out. |
qualified | boolean | Always | true when the player won a seat in a satellite. |
chips | number | null | When it applies | The player's chips. |
placed | number | null | When it applies | The player's finishing place, once they have one. |
placedTo | number | When it applies | The end of a shared place: placed 22 and placedTo 23 is 22nd to 23rd. |
payout | number | When it applies | The player's prize money. |
knockouts | number | When it applies | |
rebuys | number | Always | |
addOns | number | Always | |
tableNumber | number | null | Always | null when the player has no seat. |
seatNumber | number | null | Always | null when the player has no seat. |
structureEstimate
Roughly when the tournament ends, as a range.
Where in the answer: structureEstimate
| Field | Type | Sent | Meaning |
|---|---|---|---|
loMin | number | Always | The early end of the range, in minutes from the start. |
hiMin | number | Always | The late end of the range, in minutes from the start. |
loAt | string (date-time) | null | Always | The early end as a time, when the start is known. |
hiAt | string (date-time) | null | Always | The late end as a time, when the start is known. |
clockLayout
How the club's clock screen looks in the players app, with the next three tables. A website can ignore them.
Where in the answer: clockLayout
| Field | Type | Sent | Meaning |
|---|---|---|---|
open | clockState | Always | |
closed | clockState | Always |
clockState
Part of the clock layout: the clock while registration is open, and once it is closed.
Where in the answer: clockLayout.open · clockLayout.closed
clockSide
Part of the clock layout: what one side of the clock shows.
Where in the answer: clockLayout.*.left · clockLayout.*.right
| Field | Type | Sent | Meaning |
|---|---|---|---|
mode | "list" | "thirds" | Always | |
values | ("level" | "startingStack" | "lateReg" | "reEntry" | "addOn" | "seats" | "totalTime" | "nextBreak" | "timeNow" | "estFinish" | "players" | "registered" | "tablesLeft" | "avgStack" | "totalChips" | "buyIn" | "prizePool" | "prizeList" | "bountyPool" | "reEntryPrice")[] | When it applies | |
top | ("level" | "startingStack" | "lateReg" | "reEntry" | "addOn" | "seats" | "totalTime" | "nextBreak" | "timeNow" | "estFinish" | "players" | "registered" | "tablesLeft" | "avgStack" | "totalChips" | "buyIn" | "prizePool" | "prizeList" | "bountyPool" | "reEntryPrice")[] | When it applies | |
middle | ("level" | "startingStack" | "lateReg" | "reEntry" | "addOn" | "seats" | "totalTime" | "nextBreak" | "timeNow" | "estFinish" | "players" | "registered" | "tablesLeft" | "avgStack" | "totalChips" | "buyIn" | "prizePool" | "prizeList" | "bountyPool" | "reEntryPrice")[] | When it applies | |
bottom | ("level" | "startingStack" | "lateReg" | "reEntry" | "addOn" | "seats" | "totalTime" | "nextBreak" | "timeNow" | "estFinish" | "players" | "registered" | "tablesLeft" | "avgStack" | "totalChips" | "buyIn" | "prizePool" | "prizeList" | "bountyPool" | "reEntryPrice")[] | When it applies |
clockValueOptions
Part of the clock layout: how some values are written on the clock.
Where in the answer: clockValueOptions
| Field | Type | Sent | Meaning |
|---|---|---|---|
buyInSplit | boolean | Always | |
lateRegFormat | "level" | "time" | Always | |
prizeListMotion | "pages" | "bounce" | "loop" | Always | |
avgStackInBb | boolean | Always | |
startingStackInBb | boolean | Always |
registration
The answer to a sign-up.
Where in the answer: body
| Field | Type | Sent | Meaning |
|---|---|---|---|
registrationId | string | Always | The sign-up's ID. |
status | "PENDING" | Always | Always PENDING: the sign-up waits for staff. |
playerId | string | Always | The player's ID on your club's roster. Send it as playerId next time. |
createdPlayer | boolean | Always | true when this call added the player to the roster. |
rosterPlayers
The answer to the players list.
Where in the answer: body
| Field | Type | Sent | Meaning |
|---|---|---|---|
items | rosterPlayer[] | Always | |
nextCursor | string | Always | Never null. Send it as cursor to get the next page, and keep the last one to ask later what changed. |
hasMore | boolean | Always | true when another page is ready now. |
rosterPlayer
One player of the club's roster: each item of the players list, the answer to getting a player, and the answer to adding or editing one with a key that has PLAYERS_READ.
Where in the answer: body.items[] · body
| Field | Type | Sent | Meaning |
|---|---|---|---|
id | string | Always | The player's ID on your club's roster. The sign-up call takes it as playerId. |
name | string | Always | |
nickname | string | null | Always | The public name the player chose when joining the club. It cannot be changed here. |
phone | string | null | Always | In the international form, such as +17025550147, when it is a valid number. If not, the text as the club saved it. |
email | string | null | Always | |
birthDate | string (date) | null | Always | Year, month and day, such as 1990-04-12. The player gives it when joining the club. It cannot be changed here. |
nationality | string | Always | A country code or free text, as the club saved it. It can be empty. |
createdAt | string (date-time) | Always | When the player was added to the roster. |
changedAt | string (date-time) | Always | When the player last changed: one of these fields, the ID number or the photo. Send it as expectedChangedAt when you edit the player. |
playerWritten
The answer to adding or editing a player with a key that does not have PLAYERS_READ.
Where in the answer: body
| Field | Type | Sent | Meaning |
|---|---|---|---|
id | string | Always | The player's ID on your club's roster. |
changedAt | string (date-time) | Always | When the player last changed. Send it as expectedChangedAt the next time you edit the player. |
deletedPlayers
The answer to the deleted players list.
Where in the answer: body
| Field | Type | Sent | Meaning |
|---|---|---|---|
items | deletedPlayer[] | Always | |
nextCursor | string | Always | Never null. Send it as cursor to get the next page, and keep the last one to ask later who else was deleted. |
hasMore | boolean | Always | true when another page is ready now. |
deletedPlayer
One deleted player.
Where in the answer: body.items[]
| Field | Type | Sent | Meaning |
|---|---|---|---|
playerId | string | Always | The ID the player had on the roster. |
deletedAt | string (date-time) | Always | When the player was deleted. |
playerSensitive
The answer to the ID number call.
Where in the answer: body
| Field | Type | Sent | Meaning |
|---|---|---|---|
idNumber | string | null | Always | An ID, passport or member number, as the club saved it. null when the club saved none. |
hasPhoto | boolean | Always | true when the photo call has a photo to return. |
playerDeleted
The answer to deleting a player.
Where in the answer: body
| Field | Type | Sent | Meaning |
|---|---|---|---|
playerId | string | Always | The ID of the player who was deleted. |
What the API cannot do
Version 1 has none of these:
- Read, cancel or change a sign-up after it is sent.
- Seat a player, take a payment or record a buy-in.
- Create or change a tournament, or change anything else in the club.
- Read the club's money: payments or takings. Each player's prize money is shown, and the prize list and prize pool when the tournament shows prizes.
- Change a player's nickname or birth date, or add fields of your own to a player.
- Add or change a player's photo, or read the photo of an ID card.
- Add, edit or delete several players in one call.
- Read a player's past tournaments, results or money at the club.
- Page through or filter the list of tournaments. It holds at most 200, with no next page.
- List finished or past tournaments. Read a finished one by its ID instead.
- See tournaments the club hides from the API, or the practice tournament.
- Be called from a browser page. A call that carries a browser's
Originheader from your site is refused. - Act for another club. A key works for its own club only: another club's tournament or player answers
404. - Create, list or revoke keys. Only the owner does that, in the web app.
- Tell your server when something changes. There are no webhooks: read the tournaments again when you need them, and ask the players list what changed.
Limits and errors
Each key can make 10 calls a second and 300 calls in 10 minutes, counting all its calls together, and send 200 new sign-ups in any 24 hours. A sign-up sent again after staff turned it down counts as new. Repeating a sign-up that still waits does not count toward the 200. On top of that, calls from one IP address are limited for each call on this page: 30 a second, 150 in 10 seconds and 600 in a minute, whatever keys they use.
In any 24 hours, a key can also make 2,000 player adds and edits and 500 reads of ID numbers and photos, and all the keys of a club together can delete 50 players. An edit that changes nothing does not count.
| Status | errorCode | What it means | What to do |
|---|---|---|---|
| 400 | None | The request is wrong: the body is not valid JSON, a field is missing, empty, too long or not allowed, the email is not valid, the phone is not valid or is a placeholder, a sign-up came both ways, a name came with no phone or email, an edit would leave a player with no phone and no email, or a cursor is not one we gave. | Fix the request. The message says what is wrong. |
| 401 | None | The key is missing, not sent as ClubKey and a space before it, wrong or revoked. | Check the key. If it was revoked, ask the club's owner for a new one. |
| 403 | CLUB_API_NEEDS_PLAN | The club has no plan: it is on its free trial, its plan ended, or its subscription is unpaid. | Ask the club to pick a plan. The key works again once it does. |
| 403 | CLUB_LOCKED | The club is locked until it pays for its plan. Every call with its keys is refused. | Ask the club to pay for its plan. The key works again on the next call once it does. |
| 403 | None | The key does not have the access this call needs. | Ask the owner for a key with that access. |
| 403 | CLUB_API_BROWSER_BLOCKED | The call carried a browser's Origin header from your site. Calls come from your server only. | Call from your server, without an Origin header. |
| 403 | APP_REG_DISABLED | The club turned off sign-ups through the API for this tournament, or this player cannot sign up at this club. | Do not retry. Tell the player to contact the club. |
| 404 | None | The tournament is not one your key can see (another club's, hidden from the API, the practice one, or no such ID), the player is not on the club's roster, or the player has no photo. | Check the ID. For a tournament, list the tournaments again. A deleted player stays a 404: the deleted players call lists them. |
| 409 | APP_REG_CLOSED | Registration for this tournament is closed: late registration ended, staff closed registration, the last level ended while staff settle the results, or the tournament finished. | Do not retry. Stop offering sign-ups for this tournament. |
| 409 | APP_REG_CAP_FULL | The tournament reached its sign-up limit, which details.limit holds. | Do not retry unless a place frees up. |
| 409 | APP_REG_ALREADY_ENTERED | The player is already playing in this tournament. | Nothing: the player is in. |
| 409 | TOURNAMENT_BUSY | Someone saved this tournament at the same moment. Nothing was changed. | Try again in a moment. |
| 409 | PLAYER_EXISTS | The roster already has a player with this phone, or with this email when the player has no phone or a placeholder phone. details.playerId is that player. Nothing was added or changed. | Use that player. Edit them instead of adding a new one. |
| 409 | PLAYER_CHANGED | The player changed since the expectedChangedAt you sent. Nothing was written. details.changedAt is the new time. | Read the player again, then send your edit again if it is still right. |
| 409 | PLAYER_IN_PLAY | The player is still in play at the club: a sign-up that waits for staff, a seat, a place on a waiting list or a qualification, in a tournament or other game that has not finished. Nothing was deleted. | Delete the player once they are out or the tournament or game is over, or ask staff to do it in LynxPoker. |
| 409 | ID_NUMBER_TAKEN | Another player of the club already has this ID number. Nothing was added or changed. | Check the number. The answer does not say who has it. |
| 410 | SYNC_CURSOR_EXPIRED | The cursor or since sent to the deleted players call is older than the 90 days we keep, which details.keepDays holds. Some deletes are no longer listed. | Read the whole players list again and remove from your copy the players it no longer has. Then call the deleted players call with no cursor and save the new one. |
| 413 | PAYLOAD_TOO_LARGE | The body is over 100 kB. | Send only the fields on this page. |
| 429 | CLUB_KEY_DAILY_SIGNUP_LIMIT | The key sent 200 new sign-ups in the last 24 hours, the limit details.limit holds. | Wait the seconds in the Retry-After header, also in details.retryAfterSeconds: by then a sign-up has left the 24 hours. |
| 429 | CLUB_KEY_DAILY_WRITE_LIMIT | The key made 2,000 player adds and edits in the last 24 hours, the limit details.limit holds. | Wait the seconds in the Retry-After header, also in details.retryAfterSeconds: by then one more fits. |
| 429 | CLUB_KEY_DAILY_SENSITIVE_LIMIT | The key made 500 reads of ID numbers and photos in the last 24 hours, the limit details.limit holds. | Wait the seconds in the Retry-After header, also in details.retryAfterSeconds: by then one more fits. |
| 429 | CLUB_DAILY_DELETE_LIMIT | The club's keys deleted 50 players in the last 24 hours, the limit details.limit holds. | Wait the seconds in the Retry-After header, also in details.retryAfterSeconds: by then one more fits. |
| 429 | None | Too many calls: over 10 a second or 300 in 10 minutes for this key, or over the limits for your IP address. Past 300 calls, the key is refused for up to 10 minutes. | Wait the seconds in the Retry-After header, then call less often. The IP address limits send Retry-After-short, Retry-After-medium or Retry-After-long instead. |
| 500 | INTERNAL_ERROR | Something failed on our side. | Try again after a short wait. Repeating a call is safe. If the first try did go through, a repeated add answers 409 with the player's ID, a repeated edit that sent expectedChangedAt answers 409 (read the player again), and a repeated delete answers 404. |
| 503 | DB_STATEMENT_TIMEOUT | Our database took too long to answer. Nothing was changed. | Try again after a short wait. |
Changes
This is version 1, named v1 in every path. We only add to it: new fields in answers, never a removed or renamed one. Ignore fields you do not know, so a new one never breaks your code.
For your own tools, download this API as an OpenAPI file.
Questions about the API? Contact us.