Skip to main content
POST
/
uploads
/
{id}
/
complete
Mark an upload complete (after the PUT).
curl --request POST \
  --url https://api.streamloop.app/v1/uploads/{id}/complete \
  --header 'Authorization: Bearer <token>'
{
  "createdAt": "2023-11-07T05:31:56Z",
  "id": "<string>",
  "mimeType": "<string>",
  "name": "<string>",
  "uploaded": true,
  "fileSize": 123
}

Authorizations

Authorization
string
header
required

OAuth 2.1 authorization-code flow with PKCE.

Headers

Idempotency-Key
string

Optional client-generated key. A repeated request with the same key replays the original response (within 24h) instead of re-executing — safe retries.

Path Parameters

id
string
required

Resource identifier.

Response

Successful response.

createdAt
string<date-time>
required
id
string
required
mimeType
string
required
name
string
required
type
enum<string>
required
Available options:
audio,
video,
image
uploaded
boolean
required
fileSize
integer | null