Get Upload Links
curl --request POST \
--url https://api.uplift.ai/v1/games/{game_id}/videos/{video_id}/upload/parts \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"part_numbers": [
21,
22,
23
]
}
'import requests
url = "https://api.uplift.ai/v1/games/{game_id}/videos/{video_id}/upload/parts"
payload = { "part_numbers": [21, 22, 23] }
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({part_numbers: [21, 22, 23]})
};
fetch('https://api.uplift.ai/v1/games/{game_id}/videos/{video_id}/upload/parts', 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://api.uplift.ai/v1/games/{game_id}/videos/{video_id}/upload/parts",
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([
'part_numbers' => [
21,
22,
23
]
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$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://api.uplift.ai/v1/games/{game_id}/videos/{video_id}/upload/parts"
payload := strings.NewReader("{\n \"part_numbers\": [\n 21,\n 22,\n 23\n ]\n}")
req, _ := http.NewRequest("POST", url, payload)
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://api.uplift.ai/v1/games/{game_id}/videos/{video_id}/upload/parts")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"part_numbers\": [\n 21,\n 22,\n 23\n ]\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.uplift.ai/v1/games/{game_id}/videos/{video_id}/upload/parts")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"part_numbers\": [\n 21,\n 22,\n 23\n ]\n}"
response = http.request(request)
puts response.read_body{
"video_id": "0d4e2b7a-1c3f-4e5a-9b8c-7d6e5f4a3b2c",
"parts": [
{
"part_number": 21,
"url": "https://..."
}
],
"expires_at": "2026-10-18T22:40:02.000Z"
}{
"error": "BadRequest",
"message": "The request parameters are invalid. Please review the request and try again."
}{
"error": "Unauthorized",
"message": "Bearer token is missing or invalid."
}{
"error": "Forbidden",
"message": "You do not have permission to access this resource."
}{
"error": "NotFound",
"message": "The specified video_id was not found in the game."
}{
"error": "TooManyRequests",
"message": "The rate limit has been exceeded. Please wait and try again later."
}{
"error": "InternalServerError",
"message": "An unexpected error occurred on the server. Please try again later."
}Games
Get Upload Links
Returns upload links for more parts of a video’s upload.
POST
/
games
/
{game_id}
/
videos
/
{video_id}
/
upload
/
parts
Get Upload Links
curl --request POST \
--url https://api.uplift.ai/v1/games/{game_id}/videos/{video_id}/upload/parts \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"part_numbers": [
21,
22,
23
]
}
'import requests
url = "https://api.uplift.ai/v1/games/{game_id}/videos/{video_id}/upload/parts"
payload = { "part_numbers": [21, 22, 23] }
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({part_numbers: [21, 22, 23]})
};
fetch('https://api.uplift.ai/v1/games/{game_id}/videos/{video_id}/upload/parts', 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://api.uplift.ai/v1/games/{game_id}/videos/{video_id}/upload/parts",
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([
'part_numbers' => [
21,
22,
23
]
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$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://api.uplift.ai/v1/games/{game_id}/videos/{video_id}/upload/parts"
payload := strings.NewReader("{\n \"part_numbers\": [\n 21,\n 22,\n 23\n ]\n}")
req, _ := http.NewRequest("POST", url, payload)
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://api.uplift.ai/v1/games/{game_id}/videos/{video_id}/upload/parts")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"part_numbers\": [\n 21,\n 22,\n 23\n ]\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.uplift.ai/v1/games/{game_id}/videos/{video_id}/upload/parts")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"part_numbers\": [\n 21,\n 22,\n 23\n ]\n}"
response = http.request(request)
puts response.read_body{
"video_id": "0d4e2b7a-1c3f-4e5a-9b8c-7d6e5f4a3b2c",
"parts": [
{
"part_number": 21,
"url": "https://..."
}
],
"expires_at": "2026-10-18T22:40:02.000Z"
}{
"error": "BadRequest",
"message": "The request parameters are invalid. Please review the request and try again."
}{
"error": "Unauthorized",
"message": "Bearer token is missing or invalid."
}{
"error": "Forbidden",
"message": "You do not have permission to access this resource."
}{
"error": "NotFound",
"message": "The specified video_id was not found in the game."
}{
"error": "TooManyRequests",
"message": "The rate limit has been exceeded. Please wait and try again later."
}{
"error": "InternalServerError",
"message": "An unexpected error occurred on the server. Please try again later."
}The Game Data API is in preview. Endpoints, fields and limits may change before release, and it is not yet available to call.
expires_at, so a long upload gets its links as it goes.
Each link is a pre-signed PUT for one part, for that part’s exact size: every part is part_size bytes except the last, which is the rest of the file.Authorizations
Path Parameters
Body
application/json