Skip to main content
POST
/
clips
/
upload
/
init
Initiate multipart upload
curl --request POST \
  --url https://app.autoposting.ai/api-proxy/clips/upload/init \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "fileName": "my-podcast.mp4",
  "fileSize": 524288000,
  "mimeType": "video/mp4",
  "brandSlug": "acme-corp"
}
'
{
  "success": true,
  "data": {
    "clipId": "clip_01HXYZ",
    "uploadId": "upload_abc123",
    "partSize": 10485760
  }
}

Authorizations

Authorization
string
header
required

API key as Authorization: Bearer sk-social-...

Body

application/json
fileName
string
required

Original filename of the video.

Example:

"my-podcast.mp4"

fileSize
number
required

File size in bytes.

Example:

524288000

mimeType
string
required

MIME type of the video (e.g., video/mp4).

Example:

"video/mp4"

brandSlug
string
required

Slug of the brand this clip belongs to.

Example:

"acme-corp"

Response

Multipart upload initiated.

success
boolean
Example:

true

data
object