Create player
curl --request POST \
--url https://sandbox.blitzboardstats.com/api/v1/blitz-api/teams/{teamId}/players \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--header 'idem-key: <idem-key>' \
--data '
{
"name": "Alex Johnson",
"email": "alex@example.com",
"position": [
"QUARTERBACK"
],
"jerseyNumber": "10"
}
'import requests
url = "https://sandbox.blitzboardstats.com/api/v1/blitz-api/teams/{teamId}/players"
payload = {
"name": "Alex Johnson",
"email": "alex@example.com",
"position": ["QUARTERBACK"],
"jerseyNumber": "10"
}
headers = {
"idem-key": "<idem-key>",
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {
'idem-key': '<idem-key>',
Authorization: 'Bearer <token>',
'Content-Type': 'application/json'
},
body: JSON.stringify({
name: 'Alex Johnson',
email: 'alex@example.com',
position: ['QUARTERBACK'],
jerseyNumber: '10'
})
};
fetch('https://sandbox.blitzboardstats.com/api/v1/blitz-api/teams/{teamId}/players', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://sandbox.blitzboardstats.com/api/v1/blitz-api/teams/{teamId}/players",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'name' => 'Alex Johnson',
'email' => 'alex@example.com',
'position' => [
'QUARTERBACK'
],
'jerseyNumber' => '10'
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json",
"idem-key: <idem-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://sandbox.blitzboardstats.com/api/v1/blitz-api/teams/{teamId}/players"
payload := strings.NewReader("{\n \"name\": \"Alex Johnson\",\n \"email\": \"alex@example.com\",\n \"position\": [\n \"QUARTERBACK\"\n ],\n \"jerseyNumber\": \"10\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("idem-key", "<idem-key>")
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://sandbox.blitzboardstats.com/api/v1/blitz-api/teams/{teamId}/players")
.header("idem-key", "<idem-key>")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"name\": \"Alex Johnson\",\n \"email\": \"alex@example.com\",\n \"position\": [\n \"QUARTERBACK\"\n ],\n \"jerseyNumber\": \"10\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://sandbox.blitzboardstats.com/api/v1/blitz-api/teams/{teamId}/players")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["idem-key"] = '<idem-key>'
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"name\": \"Alex Johnson\",\n \"email\": \"alex@example.com\",\n \"position\": [\n \"QUARTERBACK\"\n ],\n \"jerseyNumber\": \"10\"\n}"
response = http.request(request)
puts response.read_body{
"message": "Players created successfully!"
}{
"error": 40101,
"message": "Invalid API key",
"timestamp": "2026-09-13T14:45:41.317Z",
"traceId": "req_41f0e6c8a5ea232a"
}{
"error": 40101,
"message": "Invalid API key",
"timestamp": "2026-09-13T14:45:41.317Z",
"traceId": "req_41f0e6c8a5ea232a"
}{
"error": 40101,
"message": "Invalid API key",
"timestamp": "2026-09-13T14:45:41.317Z",
"traceId": "req_41f0e6c8a5ea232a"
}Players
Create player
Create a player on a team. Requires an idem-key header.
POST
/
v1
/
blitz-api
/
teams
/
{teamId}
/
players
Create player
curl --request POST \
--url https://sandbox.blitzboardstats.com/api/v1/blitz-api/teams/{teamId}/players \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--header 'idem-key: <idem-key>' \
--data '
{
"name": "Alex Johnson",
"email": "alex@example.com",
"position": [
"QUARTERBACK"
],
"jerseyNumber": "10"
}
'import requests
url = "https://sandbox.blitzboardstats.com/api/v1/blitz-api/teams/{teamId}/players"
payload = {
"name": "Alex Johnson",
"email": "alex@example.com",
"position": ["QUARTERBACK"],
"jerseyNumber": "10"
}
headers = {
"idem-key": "<idem-key>",
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {
'idem-key': '<idem-key>',
Authorization: 'Bearer <token>',
'Content-Type': 'application/json'
},
body: JSON.stringify({
name: 'Alex Johnson',
email: 'alex@example.com',
position: ['QUARTERBACK'],
jerseyNumber: '10'
})
};
fetch('https://sandbox.blitzboardstats.com/api/v1/blitz-api/teams/{teamId}/players', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://sandbox.blitzboardstats.com/api/v1/blitz-api/teams/{teamId}/players",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'name' => 'Alex Johnson',
'email' => 'alex@example.com',
'position' => [
'QUARTERBACK'
],
'jerseyNumber' => '10'
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json",
"idem-key: <idem-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://sandbox.blitzboardstats.com/api/v1/blitz-api/teams/{teamId}/players"
payload := strings.NewReader("{\n \"name\": \"Alex Johnson\",\n \"email\": \"alex@example.com\",\n \"position\": [\n \"QUARTERBACK\"\n ],\n \"jerseyNumber\": \"10\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("idem-key", "<idem-key>")
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://sandbox.blitzboardstats.com/api/v1/blitz-api/teams/{teamId}/players")
.header("idem-key", "<idem-key>")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"name\": \"Alex Johnson\",\n \"email\": \"alex@example.com\",\n \"position\": [\n \"QUARTERBACK\"\n ],\n \"jerseyNumber\": \"10\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://sandbox.blitzboardstats.com/api/v1/blitz-api/teams/{teamId}/players")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["idem-key"] = '<idem-key>'
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"name\": \"Alex Johnson\",\n \"email\": \"alex@example.com\",\n \"position\": [\n \"QUARTERBACK\"\n ],\n \"jerseyNumber\": \"10\"\n}"
response = http.request(request)
puts response.read_body{
"message": "Players created successfully!"
}{
"error": 40101,
"message": "Invalid API key",
"timestamp": "2026-09-13T14:45:41.317Z",
"traceId": "req_41f0e6c8a5ea232a"
}{
"error": 40101,
"message": "Invalid API key",
"timestamp": "2026-09-13T14:45:41.317Z",
"traceId": "req_41f0e6c8a5ea232a"
}{
"error": 40101,
"message": "Invalid API key",
"timestamp": "2026-09-13T14:45:41.317Z",
"traceId": "req_41f0e6c8a5ea232a"
}idem-key (required)
Client-generated unique string for this create. Send it as header idem-key (or Idempotency-Key).
- Same key again →
409 Conflict(Idempotency key already used); no second player is created. - New player → always generate a new key (UUID recommended).
idem-key you can paste into Try it.
See Concepts → Idempotency key for the full definition.Authorizations
Public integration API key (bb_live_...). Not a login JWT.
Headers
Client-generated unique string for this create intent (UUID recommended). Also accepted as Idempotency-Key. Same key reused after a successful create → 409 Conflict (Idempotency key already used). Missing → 400.
Example:
"550e8400-e29b-41d4-a716-446655440000"
Path Parameters
Example:
"507f1f77bcf86cd799439011"
Body
application/json
Response
Player created
Example:
"API key revoked successfully!"
⌘I
