SocialKit
APIMedia

Complete a chunked upload

Join the uploaded chunks into one file and add it to the media library.

Call this after every chunk is uploaded. Without a body, the file goes to the top level of the library with no alt text. Images are processed as on Upload a media file: a non-GIF image is stored as JPEG. The response is the media object described on Get a media file.

Request

  • Method: POST
  • URL: https://app.socialk.it/core/api/<workspaceUuid>/media/chunked/<uploadUuid>/complete
  • Authorization: Bearer <personal-key>
  • Content-Type: application/json
  • Roles: Admin, Member (see Permissions)

Path parameters

ParameterTypeDescription
workspaceUuidstringUUID of the workspace.
uploadUuidstringThe upload_uuid from Start a chunked upload.

Body

All fields are optional.

{
  "alt_text": "Product demo",
  "folder": "c4a1e8d2-6b07-4f93-a5d8-1e92b7f03c46"
}
FieldTypeRequiredDescription
alt_textstringNoAlt text, up to 255 characters.
folderstringNoUUID of a folder to file it in. With a UUID that matches no folder, the file goes to the top level.
adobe_express_doc_idstringNoID of an Adobe Express document, up to 255 characters. Using the same ID again replaces the earlier file.

Example

curl -X POST 'https://app.socialk.it/core/api/<workspaceUuid>/media/chunked/<uploadUuid>/complete' \
  -H 'Accept: application/json' \
  -H 'Authorization: Bearer <personal-key>' \
  -H 'Content-Type: application/json' \
  -d '{"alt_text": "Product demo", "folder": "c4a1e8d2-6b07-4f93-a5d8-1e92b7f03c46"}'

Response

{
  "id": "42",
  "uuid": "e1a07c53-8f2d-4b96-9d34-5a6c0b7e2f18",
  "name": "product-demo",
  "mime_type": "video/mp4",
  "type": "video",
  "url": "https://media.socialk.it/3f1c9a2e-7b44-4d0e-9a51-2c8e6b7d1f90/uploads/11-2026/c2e4a6b8d0f1352749a1c3e5b7d9f0a2c4e6b8d0.mp4",
  "thumb_url": null,
  "is_video": true,
  "is_processing": true,
  "width": null,
  "height": null,
  "duration_ms": null,
  "size": 52428800,
  "alt_text": "Product demo",
  "folder": {
    "uuid": "c4a1e8d2-6b07-4f93-a5d8-1e92b7f03c46",
    "name": "Campaigns"
  },
  "created_at": "2026-11-24 14:05:12"
}

is_processing is true while SocialKit prepares a video; thumb_url stays null until the thumbnail is ready. Completing can also return the plan storage limit 422 from Upload a media file. The call fails if a chunk is missing, so check that you sent all total_chunks of them.

On this page