Skip to main content
POST
Create Clip
The Game Data API is in preview. Endpoints, fields and limits may change before release, and it is not yet available to call.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

game_id
string<uuid>
required

Game identifier. The game must belong to your organization.

Body

application/json
file_name
string
required

Must use a .mov or .mp4 extension.

Maximum string length: 255
period
integer

Optional. The period this clip covers, if known.

start_time_s
number

Optional. Where the clip starts within the period, if known.

Response

Reservation succeeded. POST the file to upload_url with all upload_fields before upload_expires_at.

clip_id
string<uuid>
upload_url
string
upload_fields
object
upload_expires_at
string<date-time>
status
enum<string>
Available options:
awaiting_upload