POST
Create a ZIP build upload URL

Authorizations

api-key
string
header
required

Per-project server key, prefixed sk_live_. Full access to every endpoint. Keep it on your backend: never ship it in a game binary.

Query Parameters

project_id
string

Which project to act on. Required when authenticating with a developer session (bearer_auth), which names no project of its own; ignored when authenticating with an API key, which carries its project already.

A project belonging to another account returns PROJECT_NOT_FOUND (7001) rather than a 403, so this cannot be used to probe for project ids.

Example:

"proj_abc123"

Body

application/json

Request a pre-signed URL to upload a ZIP build to.

name
string
required
Example:

"1.2.3"

executable_path
string
required

Path to the server executable inside the uploaded ZIP.

Example:

"Linux/GameServer.sh"

Response

Build created. Upload the archive to upload_url.

build_id
string
required
Example:

"build_9f2c"

upload_url
string<uri>
required

PUT the ZIP archive here. The build moves from uploading to processing once the upload completes.

expires_at
string<date-time>
required
build
object