Clubtab API
Connect your own app or spreadsheet to your team’s money. The API reads and changes the same things as the Clubtab app, with the same rules.
Last updated 7 November 2026
The short version
- Make a token on your account page. Choose read only unless the app needs to record money.
- Every change takes an Idempotency-Key and a client_uuid, so sending it again gives back the first answer instead of doing it twice.
- Money is in whole pence. Each person can make 120 calls a minute.
Getting a token
Sign in to Clubtab and open your account. Under Connect an app, give the app or device a name and choose what it can do:
- Read only: See teams, statements, the inbox and cash. It can’t change anything. Choose this for a spreadsheet that reports on your money.
- Read and write: Also record cash, confirm matches and add receipts.
You see each token once, so copy it straight away. Treat it like a password: anyone with it can do what you chose. Your account lists your tokens, with what each can do and when it was last used. If one is lost or shared, remove it under Connect an app, and make a new one. It stops working at once.
A token can only reach the teams you can reach in the app, and do what your role allows there. A club treasurer can read a team’s squad but not record its cash, just as in the app.
Making a call
Every address starts with https://app.clubtab.co.uk/api/v1. Send the token as a bearer token, and ask for JSON:
GET https://app.clubtab.co.uk/api/v1/teams
Authorization: Bearer YOUR_TOKEN
Accept: application/json
Start with GET /me to check the token works, then GET /teams to find the ids of your teams.
Money, dates and ids
- Money is whole pence, as a number:
1000is £10.00. Money out is negative. When you send an amount, send pounds as text, like"10.00", just as you’d type it in the app. - Ids are ULIDs, like
01j9z3k8m6q2t4v7x0b5c8d1e2: 26 lower-case letters and digits. Send them as you got them. - Dates are
YYYY-MM-DD. - Field names in answers are camelCase, like
amountPence. Fields you send are snake_case, likeclient_uuid, as in the app’s forms. - Links in answers, like
href, are pages in the Clubtab app, for showing people. Call the API with the ids instead: where a link opens something the API can fetch, itsidis beside it.
Each answer is the same data the app shows on that page, so a field means the same thing in both.
Changing things safely
Anything that changes something (recording cash, confirming a match, adding a receipt) is a write, sent as a POST, or a PUT when it saves something that’s already there, like a pot’s name. Every write needs two things:
- an
Idempotency-Keyheader: a new UUID for each change you mean to make - a
client_uuidin the body: also a new UUID for each change. Most apps use the same UUID for both.
If a write times out, send it again with the same key, the same client_uuid and the same body. If the first one went through, you get its answer back, marked Idempotent-Replayed: true, and nothing is done twice. If it’s still being worked on, you get 409; wait a moment and send it again.
Use new UUIDs for each new change, even about the same thing, like each step of adding a receipt. Sending a key or client_uuid again with a different body, or to a different address, is refused with 422, so a mistake can’t replay another change’s answer.
Clubtab keeps the first answer for a day, encrypted. After that, the client_uuid still stops money being recorded twice, but you may get an error rather than the first answer.
A read-only token gets 403 for any write.
When something goes wrong
Every answer that isn’t a success has a message to show or log.
| Status | What it means |
|---|---|
401 |
No token, or the token was deleted. |
403 |
The token can’t do this: it’s read only, your role doesn’t allow it, or your plan doesn’t include it. |
404 |
There’s nothing there that this token can see. |
409 |
The same change is still being worked on. Send it again shortly. |
422 |
Something sent needs fixing, or the key was already used for a different request. errors says which field and why, in the words the app uses. |
428 |
A write without an Idempotency-Key or client_uuid, or one that isn’t a UUID. |
429 |
Too many calls. Wait a minute. |
Worked examples
These are real calls and answers, recorded from Clubtab’s demo team, the Valley RFC U8s, and checked against the API every time Clubtab is tested. The OpenAPI description has one like them for every call that answers with JSON.
Reading: what a child owes
Gethin’s statement: what’s been paid, and what’s still due.
GET https://app.clubtab.co.uk/api/v1/teams/01m45r3180q2t4v7x0b5c80018/players/01m45r3180q2t4v7x0b5c80022/statement
Authorization: Bearer YOUR_TOKEN
Accept: application/json
Clubtab answers 200:
{
"player": {
"id": "01m45r3180q2t4v7x0b5c80022",
"name": "Gethin Owen",
"initials": "GO",
"code": "U8-GO",
"payerName": "Gwen Owen",
"owedPence": 1000,
"overdue": true
},
"owedPence": 1000,
"rows": [
{
"chargeId": "01m45r3180q2t4v7x0b5c8003q",
"label": "Registration",
"note": "Bank transfer · 10 Aug",
"amountPence": 2000,
"owedPence": 0,
"status": "paid",
"statusLabel": "Paid",
"comingOn": null
},
{
"chargeId": "01m45r3180q2t4v7x0b5c8003s",
"label": "Subs · September",
"note": "Paid online · matched automatically",
"amountPence": 1000,
"owedPence": 0,
"status": "paid",
"statusLabel": "Paid",
"comingOn": null
},
{
"chargeId": "01m45r3180q2t4v7x0b5c8003r",
"label": "Training top",
"note": "Paid online · matched automatically",
"amountPence": 1000,
"owedPence": 0,
"status": "paid",
"statusLabel": "Paid",
"comingOn": null
},
{
"chargeId": "01m45r3180q2t4v7x0b5c8003t",
"label": "Subs · October",
"note": "Due 1 Oct",
"amountPence": 1000,
"owedPence": 1000,
"status": "overdue",
"statusLabel": "Overdue",
"comingOn": null
}
],
"requestReference": "U8-GO SUBS"
}
Changing something: cash for October’s subs
Gwen, Gethin’s mum, hands over £10 at training. Record it against that charge, with a new UUID as both the Idempotency-Key and the client_uuid:
POST https://app.clubtab.co.uk/api/v1/teams/01m45r3180q2t4v7x0b5c80018/players/01m45r3180q2t4v7x0b5c80022/cash
Authorization: Bearer YOUR_TOKEN
Accept: application/json
Content-Type: application/json
Idempotency-Key: 2a6c6dd7-848b-4198-a30b-37546d2d6bdb
{
"charge_ids": [
"01m45r3180q2t4v7x0b5c8003t"
],
"send_receipt": false,
"client_uuid": "2a6c6dd7-848b-4198-a30b-37546d2d6bdb"
}
Clubtab answers 201, with the entry it made:
{
"message": "Cash recorded for Gethin",
"receipt": null,
"transactionId": "01m45r3180zn1gxnkv0de9017q"
}
Send exactly the same again, and you get the same answer back, marked Idempotent-Replayed: true. Nothing is recorded twice.
When something needs fixing
Cash paid out, with an amount in fractions of a penny (12.345) and nothing to say what it was for:
POST https://app.clubtab.co.uk/api/v1/teams/01m45r3180q2t4v7x0b5c80018/cash/out
Authorization: Bearer YOUR_TOKEN
Accept: application/json
Content-Type: application/json
Idempotency-Key: eba5fdb7-ae1b-4de4-a86c-ef1bdb66a7d8
{
"amount": "12.345",
"what": "",
"client_uuid": "eba5fdb7-ae1b-4de4-a86c-ef1bdb66a7d8"
}
Clubtab answers 422, saying what to fix beside each field, in the words the app uses:
{
"message": "Enter how much was spent, like 15.00.",
"errors": {
"amount": [
"Enter how much was spent, like 15.00."
],
"what": [
"Say what it was spent on."
]
}
}
Receipt photos and bank statements
Files never go through the API itself. To add a receipt photo:
POST /teams/{team}/receipts/uploadswith the photo’sextension,typeandsize. You get back aurl, theheadersto send with it and apath.PUTthe photo to thaturl, with those headers, within 15 minutes.POST /teams/{team}/receiptswith thepath, and thetransaction_idof the payment out it’s for if you know it. You get back the receipt’sid.- Clubtab reads the photo in the background.
GET /teams/{team}/receipts/{id}shows what it read, and the payments out it could be for. POST /teams/{team}/receipts/{id}/confirmwith the supplier, total, date and payment out, once they’re right.
Receipts are on the Team and Club plans.
A bank statement goes the same way, as a CSV of up to 5 MB:
POST /teams/{team}/statements/uploadswith itssize. You get back aurl,headersand apath.PUTthe CSV to thaturl, with those headers, within 15 minutes.POST /teams/{team}/statementswith thepath, and thefilenameit had on your device. The answer says how reading it went.- If it asks which column is which (
statusisneeds_columns), send them toPOST /teams/{team}/statements/{id}/columns. If it asks for the balance at the end (needsBalance), send it toPOST /teams/{team}/statements/{id}/balance.
Limits
Each person can make 120 calls a minute, across all their tokens. Past that you get 429 until the minute is up. A spreadsheet that refreshes a few times an hour won’t come close.
Long lists
Most answers are short, like a squad or the inbox, and come whole. A team’s money in and out grows all the time, so GET /teams/{team}/transactions comes 50 to a page, newest first: the lines are in rows, and page holds the current page, the last page and the total number of lines. Ask for another with ?page=2, and narrow it with:
| Ask with | To get |
|---|---|
from, to |
Lines on or between these days, like 2026-09-01. |
direction |
in or out. |
source |
Where the money came from, like online, statement_upload or cash. |
status |
new, matched, ignored or internal. |
player |
Only lines with a part for this child. |
What you can do
Addresses are under https://app.clubtab.co.uk/api/v1. {team}, {player} and the rest are ids.
You and your teams
| Call | What it does |
|---|---|
GET /me |
Who the token belongs to. |
GET /account/deletion |
What deleting your account does, what’s in the way, and any date it’s booked for. |
POST /account/deletion-links |
Email the link that confirms deleting your account. |
DELETE /account/deletion |
Keep your account after all. |
GET /teams |
The teams you can see. |
GET /teams/{team}/home |
The team’s Home: what needs doing and how its money stands. |
GET /teams/{team}/money |
The Money tab: the balance, pots and this month’s changes. |
GET /teams/{team}/transactions |
Every line of money in and out, a page at a time (see Long lists). |
GET /teams/{team}/setup |
What’s left to set up. |
GET /teams/{team}/squad |
The squad, with what each child owes, and this season’s player of the match awards. |
GET /teams/{team}/players/{player}/statement |
A child’s statement. |
The inbox
| Call | What it does |
|---|---|
GET /teams/{team}/inbox |
Payments waiting to be matched, with suggestions. |
POST /teams/{team}/inbox/{transaction}/confirm |
Confirm a suggested match. |
POST /teams/{team}/inbox/{transaction}/match |
Match a payment yourself, split across parts if you like. |
POST /teams/{team}/inbox/{transaction}/undo |
Undo a match. |
POST /teams/{team}/inbox/confirm-sure |
Confirm every sure match at once. |
PUT /teams/{team}/inbox/settings |
Turn auto-confirm of sure matches on or off, with auto_confirm. |
Cash
| Call | What it does |
|---|---|
GET /teams/{team}/cash |
Cash in hand, what’s paid in, and the latest entries, as on the cash page. |
GET /teams/{team}/cash/training |
What cash at training can be for (pots and items, as for values) and the squad. |
GET /teams/{team}/cash/other |
The pots other cash can go to. |
POST /teams/{team}/players/{player}/cash |
Record cash for what a child owes. |
POST /teams/{team}/cash/training |
Record cash taken at training, for several children. |
POST /teams/{team}/cash/other |
Record a sponsor, donation or collection. |
POST /teams/{team}/cash/out |
Record cash spent. Add its receipt photo as a receipt. |
POST /teams/{team}/cash/bank |
Pay the cash in hand into the bank. |
POST /teams/{team}/cash/count |
Count up, with a note for any difference. |
POST /teams/{team}/cash/{transaction}/reverse |
Put a cash entry right, with a reason. |
When a write makes a single cash entry (cash for a child, other cash, cash out or a reversal), its answer names it in transactionId, so you can reverse it or add its receipt later. Cash at training makes one entry per child, and banking and counting don’t make a cash entry, so for those it’s empty.
Squad, charges and requests
| Call | What it does |
|---|---|
POST /teams/{team}/squad |
Add children. Anyone already in the squad is skipped. |
GET /teams/{team}/items |
What the team collects. |
POST /teams/{team}/items |
Save what the team collects, and charge the squad for the season so far. |
POST /teams/{team}/players/{player}/request |
Draft a payment request, with the parent’s link. |
POST /teams/{team}/players/{player}/charges/{charge}/let-off |
Let a family off a charge, with a reason. |
POST /teams/{team}/players/{player}/charges/{charge}/let-off/undo |
Make it owed again. |
POST /teams/{team}/awards |
Give a child player of the match, with player_id, played_on and opponent. |
DELETE /teams/{team}/awards/{award} |
Take an award off. Like every write, it sends the Idempotency-Key header and a client_uuid in its body. |
Receipts
| Call | What it does |
|---|---|
GET /teams/{team}/receipts/new |
Start a receipt, for a payment out if you pass ?transaction=. |
POST /teams/{team}/receipts/uploads |
Get a link to send the photo straight to storage. |
POST /teams/{team}/receipts |
Add the uploaded photo by its path. |
GET /teams/{team}/receipts/{receipt} |
What was read, and the payments out it could be for. |
GET /teams/{team}/receipts/{receipt}/image |
The photo. |
POST /teams/{team}/receipts/{receipt}/confirm |
Attach it to the payment out. |
Bank statements
| Call | What it does |
|---|---|
GET /teams/{team}/statements |
The latest statement uploads. |
POST /teams/{team}/statements/uploads |
Get a link to send the CSV straight to storage. |
POST /teams/{team}/statements |
Add the uploaded CSV by its path, and read it. |
GET /teams/{team}/statements/{statement} |
One upload and how reading it went. |
POST /teams/{team}/statements/{statement}/columns |
Say which column is which. |
POST /teams/{team}/statements/{statement}/balance |
Give the balance the bank showed at the end. |
Pots and collections
| Call | What it does |
|---|---|
GET /teams/{team}/pots/new |
The colours for a new pot, the first unused one picked. |
POST /teams/{team}/pots |
Add a pot, with a name, colour and target if you like. |
GET /teams/{team}/pots/{pot} |
A pot’s balance, target and history. |
GET /teams/{team}/pots/{pot}/edit |
A pot as its form shows it. |
PUT /teams/{team}/pots/{pot} |
Change its name, colour or target. |
POST /teams/{team}/pots/moves |
Move an amount from a pot or general funds to another. |
POST /teams/{team}/collections |
Start a collection: a kit order, tour or tickets. |
GET /teams/{team}/collections/{collection} |
Who’s in, their choice, and paid or owed. |
PUT /teams/{team}/collections/{collection}/entries |
Choose who’s in and their choice, charging each child once. |
GET /teams/{team}/collections/{collection}/export |
The order for the supplier, as a CSV. |
Online payments
| Call | What it does |
|---|---|
GET /teams/{team}/payments |
The payments account, what’s come in and the payouts. |
GET /teams/{team}/payments/fees |
What each online payment costs on the team’s plan. |
GET /teams/{team}/payments/payouts/{payout} |
One payout and the payments in it. |
POST /teams/{team}/players/{player}/payments/{payment}/refund |
Refund the charge_ids a payment paid for, with a reason, and let_off the family if you like. |
The year-end pack
On the Team and Club plans.
| Call | What it does |
|---|---|
GET /teams/{team}/year-end |
What the pack holds, and whether it’s built or sent. |
POST /teams/{team}/year-end |
Build it, in the background, or build it again until it’s sent. |
GET /teams/{team}/year-end/download |
The built pack, as one zip. |
POST /teams/{team}/year-end/send |
Send it to the club, where it stays. |
Running the team
| Call | What it does |
|---|---|
GET /teams/{team}/managers |
Who runs the team, and the invites still open. |
POST /teams/{team}/managers/invite |
Invite a co-manager by email. The team’s owner only. |
POST /teams/{team}/managers/link |
Make a co-manager invite link to share. |
POST /teams/{team}/managers/invites/{invite}/resend |
Send an invite again, as a fresh link. |
DELETE /teams/{team}/managers/{membership} |
Remove a co-manager. The team’s owner only. |
POST /teams/{team}/managers/handover |
Ask a co-manager (to_user_id), or someone new by to_email, to take the team over, and whether the outgoing manager will leave or stay. The owner or a club admin. |
DELETE /teams/{team}/managers/handover |
Call the waiting handover off. |
POST /teams/{team}/managers/handover/accept |
Take the team over, as the co-manager asked. |
POST /teams/{team}/players/{player}/parent-link |
The parent’s link for this season, to share. |
POST /teams/{team}/players/{player}/parent-link/renew |
A new parent’s link, so the old one stops working. |
GET /teams/{team}/season |
When the season starts, and what another month and day would do. A team with no club only. |
PUT /teams/{team}/season |
Change when the season starts, from next season. |
The club
For a club’s admins and its treasurer. The treasurer view comes with the Club plan; join requests are for the club’s admins.
| Call | What it does |
|---|---|
GET /clubs |
The clubs you help run. |
GET /clubs/{club} |
The club’s totals, a row for every team, and the year-end packs sent. |
GET /clubs/{club}/ledger |
One team’s ledger for the season, with ?team=. |
GET /clubs/{club}/collections |
Collections across the club. |
GET /clubs/{club}/exports |
The club-wide exports. |
GET /clubs/{club}/exports/{export} |
One export as a spreadsheet: agm or ledger. |
GET /clubs/{club}/year-end-packs/{pack} |
A year-end pack a team sent, as one zip. |
GET /clubs/{club}/requests |
Managers waiting to join, and recent decisions. |
POST /clubs/{club}/requests/{request}/approve |
Let a manager join, and tell them. |
POST /clubs/{club}/requests/{request}/decline |
Turn a request down, and tell them. |
Staying on the web
A few things are only in the app, as they leave for another site, happen once, or shouldn’t be in a token’s reach:
- signing up, and passkeys
- choosing and paying for a plan
- setting up online payments, which opens the provider’s pages
- the team’s bank details, so a token never changes where parents send money
- bringing a spreadsheet in
- setting a club up and claiming one
- confirming you want your account deleted, by the emailed link, so a token alone can never delete an account
The full reference
The OpenAPI description lists every call with what it takes and what it answers, field by field, with a real example of each that answers with JSON, and of each refusal. It’s built from the API itself, so its routes, fields and examples always match. Some fields are needed only with others, like a sponsor’s name; if one is missing, the 422 says which. Most API tools can read it to make a client for you.
Something missing, or not working as this says? Email [email protected].