Put PlayBack inside your registration
Your organisers add PlayBack to an event in your app, and every team that registers gets its games, stats and highlights on PlayBack. PlayBack makes the league, and gives you a link for each captain.
To connect your app, ask for a key at support@playbackreview.com.
One list
Teams, names and divisions are yours. PlayBack follows what you send, so the organiser never keeps a second list.
Leagues Pro included
On for the league from the first request until 30 days after the event’s last day.
Two minutes per captain
They sign in to PlayBack once and choose where their team’s games go.
See it working
One event, from the organiser adding PlayBack to a team seeing its stats. The dark pieces inside “your app” are PlayBack’s components: ready-made parts you place in your own pages.

The organiser adds PlayBack to their event
The Add PlayBack card explains what the league gets and tells your form whether it was switched on. You charge for it with the event, as you would any add-on.
The four components
Choose one to see where it appears. Each is one tag in your page and one event your code listens for.
How it fits together
PlayBack turns a league’s game videos into stats and highlights for the league and for every team in it. Here is what happens when one of your events uses it, from the organiser’s first click to a team seeing its stats.
They choose it while setting the event up in your app, as they would any other add-on.
This is where the event’s game videos, stats and standings will live. You get back a link for the organiser.
Buying PlayBack in your app doesn’t give them a PlayBack account, so they have one step of their own.
This is what lets them see the league’s games, stats and standings. PlayBack tells you once they have, so you can remind one who hasn’t.
Your registration page shows them a “Set up on PlayBack” link.
A team space is the team’s own private area on PlayBack, where its players watch their games, stats and highlights. This takes about two minutes.
They arrive back on your page with a team code, such as FALC-7K2Q, which proves they set the team up. Your server sends PlayBack the team’s name, division and code.
Under the name and division you sent, and connected to the team space its captain chose.
Every game the league plays appears in each team’s own team space, with its stats and highlights. The organiser entered their teams once, in your app.
This shows the captain setting up on PlayBack before they finish registering, which we recommend. They can also do it afterwards: see step 2.
The two connections you build
Your server talks to the API
It sends each event and each team, signed with your key. The key never goes in a browser or a phone app.
People visit PlayBack once
Joining a league or setting a team up needs someone signed in to PlayBack, so it happens on PlayBack’s own page. Your pages link there, and PlayBack sends captains back.
PlayBack does the rest
It makes the league, puts each team on it, and connects each team’s own space to the league’s games and stats.
Before you start
Your key
PlayBack gives you a key that starts pbk_, and your API address with it. The key is shown once. Send it with every request, from your server only.
Your IDs
Every id you send is your own: event, organisation, division, team. You use the same ID to change or read it later. PlayBack keeps its own beside yours.
Send again freely
The same request sent twice changes nothing the second time. Retry on a timeout, and resend whenever something changes on your side.
curl -X POST "$PLAYBACK_API/partner/v1/events" \ -H "Authorization: Bearer $PLAYBACK_KEY" \ -H "Content-Type: application/json" \ -d @event.json
Requests and replies are JSON over HTTPS. You can send 600 requests a minute.
Connect an event
Send the event when the organiser adds PlayBack to it. That one request makes everything the league needs.
- 1Your appThe organiser adds PlayBack
In your app, while setting up their event.
- 2Your appYour server sends the event
One request, with the event’s name, dates and divisions.
- 3PlayBackPlayBack makes the league
In that same request. The reply has a link for the organiser and a link for captains.
- 4Your appYou show the organiser their link
As “Join your league on PlayBack”, on the event’s page in your app.
- 5PlayBackThe organiser joins their league
They sign in to PlayBack and join. The reply’s organiser status turns ready.
Leagues Pro is PlayBack’s paid plan for leagues, which the organiser bought with their event in your app. It stays on until 30 days after the event’s last day.
Teams can register and set up as soon as step 3 replies. But nobody runs the league on PlayBack until the organiser has joined, so remind one who hasn’t.
/partner/v1/eventsConnect an event, or bring one up to date{
"eventId": "evt_1",
"name": "Winter League 2027",
"organisation": {
"id": "org_1",
"name": "Harbour Dodgeball"
},
"organiser": {
"name": "Sam Lee",
"email": "sam@harbour.example"
},
"startDate": "2027-06-01",
"endDate": "2027-08-31",
"divisions": [
{
"id": "open",
"name": "Open"
},
{
"id": "mixed",
"name": "Mixed"
}
],
"registrationUrl": "https://yourapp.example/events/evt_1/register",
"leaguesPro": true
}{
"eventId": "evt_1",
"playbackGroupId": "9848d8d269f4…",
"setupUrl": "https://playbackreview.com/join/harbour-dodgeball-6pgb",
"organiserUrl": "https://playbackreview.com/league/team-registration?token=…&group=…",
"leagueSpace": "pending",
"leaguesPro": {
"status": "active",
"endsAt": "2027-10-01T00:00:00.000Z"
},
"organiser": {
"status": "needsSetup"
},
"divisions": [
{
"id": "open",
"playbackDivisionKey": "open"
},
{
"id": "mixed",
"playbackDivisionKey": "mixed"
}
]
}organisationid each time.registrationUrlleaguesProtrue to connect an event. Send false later if it’s refunded, and PlayBack ends it.organiserUrlorganiser.statusneedsSetup until the organiser has joined their league on PlayBack, then ready, up to five minutes after they join. Show organiserUrl as “Join your league on PlayBack” while it’s needsSetup, and as “Open your league on PlayBack” after.setupUrlleagueSpacepending for up to five minutes after the first request, then ready. Nothing waits on it: send teams straight away.organiserUrl, sign in and join, nobody can run the league on PlayBack: teams can still register, but there’s no one to see its games and stats. Read the event (step 3) to see who hasn’t, and remind them. They can share the page with anyone who helps run the league, who joins the same way.Get each team set up
A team is finished once two things have happened, in either order: you’ve told PlayBack it registered, and its captain has set it up. Choose the order that suits your registration.
PlayBack inside your registration
The captain can’t finish registering until PlayBack is set up, so every team gets it and nobody has to be chased. PlayBack’s setup step does the first two of these for you, in your form (step 4).
Swipe sideways to see the whole diagram
- Read the code from the address. PlayBack sends the captain back to your
registrationUrlwith two things added:return-address.txthttps://yourapp.example/events/evt_1/register ?playback_code=FALC-7K2Q &playback_team=8842455c-36b8…
- Check it, and show them their team.GET
/partner/v1/team-code?eventId=evt_1&code=FALC-7K2QWhether a code is a team’s in the eventreply.json{ "valid": true, "team": { "playbackTeamId": "8842455c-36b8…", "name": "Falcons", "divisionId": "open", "captainName": "Ari Park" } } - Send the team with its code when they finish registering with you. It comes back
registered, and isreadya few minutes later, once PlayBack has linked its team space to the league.
Your registration first
Nothing changes in your form. The cost is that some captains won’t open the link, so use step 3 to find and remind them.
Swipe sideways to see the whole diagram
The request, for either order
/partner/v1/teamsA team that registered, or a change to one{
"eventId": "evt_1",
"team": {
"id": "team_falcons",
"name": "Falcons",
"divisionId": "open"
},
"code": "FALC-7K2Q"
}{
"teamId": "team_falcons",
"playbackTeamId": "8842455c-36b8…",
"setupUrl": "https://playbackreview.com/join/harbour-dodgeball-6pgb?team=8842455c-36b8…",
"status": "registered",
"waitingFor": "leagueSpace"
}Where a team stands
needsSetupwaiting for its captainsetUpwaiting for you to send itregisteredsent by you and set upreadygets the league’s statsneedsSetupsetUpregisteredreadyA registered team says what it waits for in waitingFor, which is null at any other status.
organiserplayersleagueSpaceSee where things stand
Read an event to show the organiser which teams are done, to remind the captains who aren’t, and to see whether the organiser has joined their league.
/partner/v1/events?eventId=evt_1An event and where its teams stand{
"eventId": "evt_1",
"playbackGroupId": "9848d8d269f4…",
"setupUrl": "https://playbackreview.com/join/harbour-dodgeball-6pgb",
"organiserUrl": "https://playbackreview.com/league/team-registration?token=…&group=…",
"leagueSpace": "ready",
"leaguesPro": {
"status": "active",
"endsAt": "2027-10-01T00:00:00.000Z"
},
"organiser": {
"status": "ready"
},
"divisions": [
{
"id": "open",
"playbackDivisionKey": "open"
},
{
"id": "mixed",
"playbackDivisionKey": "mixed"
}
],
"teams": [
{
"teamId": "team_falcons",
"playbackTeamId": "8842455c-36b8…",
"setupUrl": "https://playbackreview.com/join/harbour-dodgeball-6pgb?team=8842455c-36b8…",
"status": "ready",
"waitingFor": null
}
],
"setUpOnly": [
{
"playbackTeamId": "ca90c5ac-649d…",
"name": "Owls",
"divisionId": "mixed"
}
]
}Add PlayBack’s components
Four ready-made pieces for your pages, for the people using them: the organiser switching PlayBack on and seeing their league, and the captain setting their team up without leaving your form. Your server still sends the event and its teams.
Load the script
<script src="https://playbackreview.com/sdk/v1/playback.js" defer></script>
Once in each page that has a component. PlayBack serves it and keeps it up to date, so a fix reaches your pages without a release of yours. Each component draws itself in PlayBack’s dark look, as wide as the space you give it, and your page’s styles don’t reach inside it.
Give each page a browser token
/partner/v1/browser-tokensA token for one page, made with your key{
"eventId": "evt_1",
"for": "registration"
}{
"token": "pbt_5f0c2e…",
"for": "registration",
"expiresAt": "2027-05-20T21:30:00.000Z"
}organiserregistrationteamtoken. It works for 12 hours, for that one event and that one use. Tokens count towards your 600 requests a minute. When one runs out, the component asks the person to reload the page, and fires playback-error with { reason: "expired" } if you’d rather make a new one yourself.The components
playback-add-cardThe organiser’s form for making an event.name, the form field it fills with on when it’s on. Optionally checked, price (what you charge, shown as you give it) and disabled.playback-change with { checked }. When it’s on, send the event with leaguesPro: true. Nothing goes to PlayBack until you do.playback-league-statusThe organiser’s page for their event, once it’s connected.token: an organiser token.playback-open when they open PlayBack.playback-team-setupYour registration form, for the captain.token: a registration token. name, the form field it fills with the team’s code. Optionally code, one you already have, and opens="here" to open PlayBack in the same tab.playback-ready with { code, team } once there’s a team, and playback-reset if the captain chooses another. Its value is the code.playback-team-statusAnywhere you list a team.token: the team’s token, for its captain. Or an organiser token and team-id, your ID for the team, for the organiser’s list.<playback-add-card name="playback" price="A$120"></playback-add-card>
<playback-league-status token="{{ organiser token }}"></playback-league-status><playback-team-setup token="{{ registration token }}" name="playback_code"></playback-team-setup><!-- On the captain's confirmation page -->
<playback-team-status token="{{ the team's token }}"></playback-team-status>
<!-- In the organiser's list of teams: one organiser token for every row -->
<playback-team-status token="{{ organiser token }}" team-id="team_falcons"></playback-team-status>The setup step in your form
- Set up on PlayBack opens PlayBack in a new tab, where the captain signs in, names their team and chooses where its games go.
- PlayBack tells them to go back to your tab, where the component has their team and code filled in. Nothing they typed in your form is lost.
- With
opens="here", or where a new tab can’t open, PlayBack opens in your tab instead. Once the captain has set up, it sends them back to the page they were on, and the component there shows their team. Keep anything else they’ve typed in your form yourself, as the page loads again. - A captain who set up earlier can type their code instead.
registrationUrl, so it never sends anyone elsewhere. It adds playback_setup to the address, which the component reads. A page on another site opening PlayBack in its own tab gets playback-error with { reason: "refused" }; with a new tab blocked, it sends the captain to your registrationUrl with their code, as before.<form method="post" action="/events/evt_1/register">
<!-- Your own fields: team name, division, payment… -->
<playback-team-setup token="{{ registration token }}" name="playback_code"></playback-team-setup>
<button type="submit" id="register" disabled>Register</button>
</form>
<script>
const setup = document.querySelector('playback-team-setup')
const register = document.getElementById('register')
setup.addEventListener('playback-ready', (event) => {
// { code: 'FALC-7K2Q', team: { name: 'Falcons', divisionId: 'open', … } }
register.disabled = false
})
setup.addEventListener('playback-reset', () => (register.disabled = true))
// The form sends playback_code. Your server sends the team with it (step 2).
</script>{
"status": "setUp",
"code": "FALC-7K2Q",
"team": {
"playbackTeamId": "8842455c-36b8…",
"name": "Falcons",
"divisionId": "open",
"captainName": "Ari Park"
}
}They only grow
Within v1, a tag, attribute, property or event is never renamed or taken away. Anything that would break a page comes in a new version at a new address, and v1 keeps working.
TypeScript and React
Add playback.d.ts from beside the script to your project to type the tags, their properties and their events, and playback-react.d.ts for React’s JSX. React 19 passes onplayback-ready and the other onplayback-… props to the tag as listeners.
If your site limits what it loads
Allow https://playbackreview.com for scripts, images and fonts, and your API address for requests.
Testing
A key for PlayBack’s test environment comes with the script address to use with it, so test pages never touch real leagues.
Keep PlayBack up to date
Your system is where the organiser changes things. PlayBack’s list of the league’s teams and divisions follows what you send, and the organiser doesn’t edit it on PlayBack. So send each change when it happens.
Send changes as they happen
When a team is renamed, moved or withdrawn in your system, tell PlayBack in the same moment, the way you send a new team.
Resend everything on a schedule
Every request can be sent again and changes nothing the second time. Resending each event and its teams nightly catches anything a failed request missed.
Compare when in doubt
Reading an event (step 3) returns every team you’ve sent that hasn’t been withdrawn. Compare it with your own list.
POST /partner/v1/events with the whole eventPOST /partner/v1/events with it in divisionsPOST /partner/v1/events without it in divisions409 while it still has teams: move or withdraw them first.id still works.POST /partner/v1/teams with the same team.id and the new namePOST /partner/v1/teams with the same team.id and the new divisionIdDELETE /partner/v1/teams (below)409 once the team is getting the league’s games.POST /partner/v1/events with the new registrationUrlPOST /partner/v1/events with leaguesPro: falsetrue to bring it back.Withdrawing a team
/partner/v1/teams?eventId=evt_1&teamId=team_falconsA team that withdrew or was removed{
"teamId": "team_falcons",
"status": "withdrawn"
}id is a new team. A withdrawn team sent again is added afresh, and its captain sets it up again.A team already getting the league’s games can’t be withdrawn through the API, because that would take games away from its players. The organiser removes it from their league on PlayBack.When a request is refused
Every refusal has an error in words. It’s written for you, not for showing to captains.
400401404409429Going live
- Your key is only on your server, never in a page or an app.
- Each page with a PlayBack component gets a new browser token from your server when it’s shown, and the organiser’s token only on the organiser’s pages.
- organiserUrl is shown to the organiser alone, and an organiser whose status is needsSetup gets a reminder.
- You resend the event and the team when their details change, and withdraw a team when it leaves.
- You resend every open event and its teams on a schedule, to catch anything missed.
- With PlayBack inside your registration, your form can’t be submitted until the code is valid.
- With your registration first, captains whose team is needsSetup get a reminder.
- A refund of Leagues Pro sends the event with leaguesPro: false.
Not available yet
These aren’t in v1. Don’t build around them yet.
Players
Captains add their own players from their team page on PlayBack. You can’t send a roster.
Renaming a division
PlayBack keeps the name a division was first sent under.
Stats
Requesting stats for a game, and reading games’, players’ and league stats to show in your app.