Leaderboards
Events
Explore
Partnerships
PB Dodgeball Club | London UK
Dodgeball Hub | Events
Partner API | For developers
Research
About
Tools
Highlight editor
See it workingHow it fits togetherBefore you start1. Connect an event2. Get each team set up3. See where things stand4. Add the components5. Keep PlayBack up to dateWhen a request is refusedGoing liveNot available yet
Partner API · v1 · Early access

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.

Watch

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.

yourapp.example/events/new
New event
NameWinter League 2027
Dates1 Jun to 31 Aug 2027
PlayBack component · Add PlayBack card
PlayBack
Add PlayBack to this eventA space on PlayBack for your league’s games, stats and highlights, and one for each team. Includes Leagues Pro.
The organiser · in your app

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.

Step 1 of 8

The four components

Choose one to see where it appears. Each is one tag in your page and one event your code listens for.

One script tag and a token
Load PlayBack’s script once, and give each component a token your server makes. Step 4 shows how. You can also build these pieces yourself from steps 1 to 3.
The idea

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.

In your appOn PlayBack
1
Your appAn organiser adds PlayBack to their event

They choose it while setting the event up in your app, as they would any other add-on.

Your server sends PlayBack the event: its name, dates and divisions
PlayBackPlayBack makes a league for the event

This is where the event’s game videos, stats and standings will live. You get back a link for the organiser.

2
Your appYou show the organiser a “Join your league on PlayBack” link

Buying PlayBack in your app doesn’t give them a PlayBack account, so they have one step of their own.

The organiser follows the link to PlayBack
PlayBackThe organiser signs in and joins their league

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.

3
Your appA captain starts registering their team

Your registration page shows them a “Set up on PlayBack” link.

The captain follows the link to PlayBack
PlayBackThe captain signs in and chooses a team space

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.

4
Your appThe captain finishes registering with you

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.

PlayBack sends the captain back to your page with a team code
PlayBackPlayBack adds the team to the league

Under the name and division you sent, and connected to the team space its captain chose.

What everyone gets

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.

Setup

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.

request.sh
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.

Step 1

Connect an event

Send the event when the organiser adds PlayBack to it. That one request makes everything the league needs.

  1. 1
    Your appThe organiser adds PlayBack

    In your app, while setting up their event.

  2. 2
    Your appYour server sends the event

    One request, with the event’s name, dates and divisions.

  3. 3
    PlayBackPlayBack makes the league

    In that same request. The reply has a link for the organiser and a link for captains.

  4. 4
    Your appYou show the organiser their link

    As “Join your league on PlayBack”, on the event’s page in your app.

  5. 5
    PlayBackThe organiser joins their league

    They sign in to PlayBack and join. The reply’s organiser status turns ready.

Leagues Pro is on from step 3

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 don’t wait for the organiser

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.

POST/partner/v1/eventsConnect an event, or bring one up to date
You send
event.json
{
  "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
}
PlayBack replies · 201 first time, 200 after
reply.json
{
  "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"
    }
  ]
}
FieldWhat to know
organisation
What to know:The league running the event. Its events become seasons of one league on PlayBack, so use the same id each time.
registrationUrl
What to know:Where a captain registers their team with you. PlayBack sends captains back here in step 2.
leaguesPro
What to know:Must be true to connect an event. Send false later if it’s refunded, and PlayBack ends it.
organiserUrl
What to know:For the organiser only. Where they sign in to PlayBack and join their league. Anyone with it can manage the league, so never show it to captains or players.
organiser.status
What to know:needsSetup 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.
setupUrl
What to know:For captains. Step 2 gives you one per team, which opens on their team.
leagueSpace
What to know:Whether the league on PlayBack can be opened yet: pending for up to five minutes after the first request, then ready. Nothing waits on it: send teams straight away.
The organiser has a setup step too
Buying PlayBack in your app doesn’t give the organiser a PlayBack account. Until they open 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.
Step 2

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.

Recommended

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).

The captainYour appPlayBackYour registration page shows thecaptain a “Set up on PlayBack” link1The captain signs in to PlayBack and chooses their team space2PlayBack sends the captain backto your page with a team code3Your server asks PlayBackwhether the code is real4The captain finishes registering with you5Your server sends PlayBackthe team and its code6Done: the league’s games and stats now reach the team

Swipe sideways to see the whole diagram

  1. Read the code from the address. PlayBack sends the captain back to your registrationUrl with two things added:
    return-address.txt
    https://yourapp.example/events/evt_1/register
      ?playback_code=FALC-7K2Q
      &playback_team=8842455c-36b8…
  2. 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 event
    reply.json
    {
      "valid": true,
      "team": {
        "playbackTeamId": "8842455c-36b8…",
        "name": "Falcons",
        "divisionId": "open",
        "captainName": "Ari Park"
      }
    }
  3. Send the team with its code when they finish registering with you. It comes back registered, and is ready a 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.

The captainYour appPlayBackThe captain registers with you, as they do today1Your server sends PlayBackthe team, without a code2PlayBack replies with a setup linkmade for this team3You show the captain the link on yourconfirmation page, and email it to them4The captain opens the link, signs in and chooses their team space5Done: the league’s games and stats now reach the team

Swipe sideways to see the whole diagram

The request, for either order

POST/partner/v1/teamsA team that registered, or a change to one
You send · leave code out if you have none
team.json
{
  "eventId": "evt_1",
  "team": {
    "id": "team_falcons",
    "name": "Falcons",
    "divisionId": "open"
  },
  "code": "FALC-7K2Q"
}
PlayBack replies
reply.json
{
  "teamId": "team_falcons",
  "playbackTeamId": "8842455c-36b8…",
  "setupUrl": "https://playbackreview.com/join/harbour-dodgeball-6pgb?team=8842455c-36b8…",
  "status": "registered",
  "waitingFor": "leagueSpace"
}
The name and division are yours
Send the team again when either changes and PlayBack follows. Sent without a code, a team its captain already made on PlayBack under the same name in the same division is treated as that team, so there are never two.

Where a team stands

If your server sends the team first
needsSetupwaiting for its captain
then the captain sets up
If the captain sets up first
setUpwaiting for you to send it
then your server sends the team
registeredsent by you and set up
once PlayBack links its team space, a few minutes later
readygets the league’s stats
StatusWhat it meansWhat you do
needsSetup
What it means:No captain has set the team up on PlayBack.
What you do:Show or resend its setupUrl.
setUp
What it means:Its captain set it up, and you haven’t said it registered.
What you do:Send the team once they register with you.
registered
What it means:Both done. It waits for what waitingFor says before its games arrive.
What you do:See waitingFor.
ready
What it means:Done. The league’s games, stats and highlights now appear in the team’s own team space.
What you do:Nothing.

A registered team says what it waits for in waitingFor, which is null at any other status.

waitingForWhat it meansWhat you do
organiser
What it means:The organiser has to approve the team on PlayBack, or try again where linking it failed.
What you do:Point the organiser to their league on PlayBack (organiserUrl).
players
What it means:Its players have to sign the league’s waiver first, as the league chose. Its captain sends them the link from their team page on PlayBack.
What you do:Remind the captain, if you like.
leagueSpace
What it means:PlayBack is making the league space or linking the team’s space to it. It takes a few minutes, and is what every team waits for last.
What you do:Nothing. Read the team again later.
Step 3

See 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.

GET/partner/v1/events?eventId=evt_1An event and where its teams stand
reply.json
{
  "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"
    }
  ]
}
setUpOnly
Teams a captain set up on PlayBack that you haven’t said registered: captains who started and didn’t come back to you.
Step 4

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

your-page.html
<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

POST/partner/v1/browser-tokensA token for one page, made with your key
Your server sends
token.json
{
  "eventId": "evt_1",
  "for": "registration"
}
PlayBack replies · 201
reply.json
{
  "token": "pbt_5f0c2e…",
  "for": "registration",
  "expiresAt": "2027-05-20T21:30:00.000Z"
}
forWhich componentsWhat it can see
organiser
Which components:The league status card, and badges in the organiser’s list of teams.
What it can see:The event’s league and Leagues Pro, every team’s status and setup link, and organiserUrl. Only ever in the organiser’s own pages.
registration
Which components:The team setup step in your registration form.
What it can see:It opens setups on PlayBack and checks codes, for this event only.
team
Which components:One team’s badge, for its captain. Send teamId too.
What it can see:That team’s status and its setup link.
Your key never goes in the page
Make a token on your server each time you show the page, and put it in the component’s token. 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

Tag and where it goesWhat you setWhat it tells your page
playback-add-cardThe organiser’s form for making an event.
What you set: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.
What it tells your page: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.
What you set:token: an organiser token.
What it tells your page:It asks the organiser to join their league until they have, then opens it, with how many teams are set up. playback-open when they open PlayBack.
playback-team-setupYour registration form, for the captain.
What you set: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.
What it tells your page: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.
What you set: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.
What it tells your page:Where the team stands. While it needs setting up, the captain’s badge links to its setup, and the organiser’s copies the link to send. Badges with the same token share one request.
Add PlayBack card
your-page.html
<playback-add-card name="playback" price="A$120"></playback-add-card>
League status card
your-page.html
<playback-league-status token="{{ organiser token }}"></playback-league-status>
Team setup step
your-page.html
<playback-team-setup token="{{ registration token }}" name="playback_code"></playback-team-setup>
Team status badge
your-page.html
<!-- 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

  1. Set up on PlayBack opens PlayBack in a new tab, where the captain signs in, names their team and chooses where its games go.
  2. 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.
  3. 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.
  4. A captain who set up earlier can type their code instead.
Coming back to your page
PlayBack sends a captain back only to a page on the same site as your event’s 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.
register.html
<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>
What the setup step reads once the captain finishes
setup.json
{
  "status": "setUp",
  "code": "FALC-7K2Q",
  "team": {
    "playbackTeamId": "8842455c-36b8…",
    "name": "Falcons",
    "divisionId": "open",
    "captainName": "Ari Park"
  }
}
Your server still checks the code
Anyone can change what a page sends. When the form arrives, send the team with its code (step 2): PlayBack refuses a code that isn’t a team’s in the event.

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.

Step 5

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.

What changed in your systemYou sendPlayBack does
The event’s name or dates
You send:POST /partner/v1/events with the whole event
PlayBack does:Renames the season. Leagues Pro runs to 30 days after the new last day.
A division was added
You send:POST /partner/v1/events with it in divisions
PlayBack does:Adds it.
A division was removed
You send:POST /partner/v1/events without it in divisions
PlayBack does:Removes it. Refused with 409 while it still has teams: move or withdraw them first.
A division was renamed
You send:Nothing yet
PlayBack does:PlayBack keeps the name it was first sent under. Its id still works.
A team was renamed
You send:POST /partner/v1/teams with the same team.id and the new name
PlayBack does:Renames it everywhere on PlayBack.
A team moved division
You send:POST /partner/v1/teams with the same team.id and the new divisionId
PlayBack does:Moves it.
A team withdrew or was removed
You send:DELETE /partner/v1/teams (below)
PlayBack does:Takes it off the league. If its captain had set it up, PlayBack emails them. Refused with 409 once the team is getting the league’s games.
Your registration page moved
You send:POST /partner/v1/events with the new registrationUrl
PlayBack does:Sends captains to the new address.
Leagues Pro was refunded
You send:POST /partner/v1/events with leaguesPro: false
PlayBack does:Ends Leagues Pro. Send true to bring it back.
A player joined or left a team
You send:Nothing
PlayBack does:Players aren’t sent. Each captain adds their own players on PlayBack.

Withdrawing a team

DELETE/partner/v1/teams?eventId=evt_1&teamId=team_falconsA team that withdrew or was removed
reply.json
{
  "teamId": "team_falcons",
  "status": "withdrawn"
}
Three rules to build around
divisions is the whole list. A division you leave out is removed, so always send every division the event has.A team is the same team while its id is the same. A new 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.
Reference

When a request is refused

Every refusal has an error in words. It’s written for you, not for showing to captains.

StatusMeaningWhat to do
400
Meaning:Something is missing or in the wrong shape.
What to do:Fix the request; error names the field.
401
Meaning:The key is missing, wrong or no longer works.
What to do:Check the header, or ask PlayBack for a new key.
404
Meaning:No event with that eventId under your key.
What to do:Send the event first.
409
Meaning:It can’t be done as things stand, such as a code that isn’t the event’s.
What to do:Read error, which says what’s in the way.
429
Meaning:Too many requests.
What to do:Wait the seconds in Retry-After.
Checklist

Going 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.
Scope

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.

PlayBack Review LogoHomeAboutCreate a reviewPrivacy PolicyTerms of Service