ShortSync Uploads API
Upload media to ShortSync storage before publishing.
Upload media to ShortSync storage before publishing.
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
find_apisBrowse and filter every API in the catalog.get_api_artifactsOne API's artifacts, grouped by type.get_openapiThe primary OpenAPI for this API.find_similar_apisAPIs that look like this one.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.curl "https://apis.io/api/v1/apis/shortsync-app:shortsync-app-uploads-api"
curl "https://apis.io/api/v1/apis?limit=25"
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.
openapi: 3.2.0
info:
title: ShortSync Uploads API
version: 1.0.0-beta.1
summary: Schedule and publish videos, images, carousels and text posts to 17 social platforms, including YouTube, TikTok, Instagram, LinkedIn and X.
description: 'The ShortSync API lets you upload media and publish it to one or more connected
social platforms from a single call. Posts can be sent immediately, scheduled
for a future time, or saved as drafts. > **Public beta.** Open to every plan, including Free. Mint a workspace
> key in Settings -> API. Each plan has its own monthly request cap;
> see your `GET /me` response for the current limit and usage. ## Authentication
Authentication is a Bearer key of one of two kinds:
| Prefix | Kind | Scope |
|-------------|-------------------|--------------------------------------------------------------|
| `ss_live_` | Workspace key | A single workspace, pinned at creation |
| `ss_acct_` | Organization key | Every workspace in the organization, or the ones you choose |
Workspace keys publish posts and read posts/connections for the one
workspace they''re pinned to. Mint and rotate keys from Settings → API
in the ShortSync app. Organization keys (owners and admins only) are for a script that posts
for many brands. Each request names its workspace with the
`X-ShortSync-Workspace` header, or with `?workspace_id=` in the URL
when your tool can''t set headers (the header wins when both are sent). `GET /workspaces` lists the workspace IDs the key can use, with each
workspace''s connected accounts. A workspace endpoint called without a
workspace returns `400 WORKSPACE_HEADER_REQUIRED`; a workspace outside
the key''s list returns `403 WORKSPACE_NOT_ALLOWED`. ## Conventions
- All timestamps are ISO 8601 with timezone (`2026-06-07T13:30:00Z`). - All IDs are UUIDs (`bbdeeb40-c106-4ed6-95b5-c0e76086c957`). They are
opaque to clients; do not parse them. - Field names are `snake_case`. - Cursor-based pagination on every list endpoint. ## Rate limits and quotas
- **Per-key rate limit**: 60 requests per minute for a workspace key,
120 for an organization key; 120 per minute per organization across
all its keys. Exceeding it returns
`429 RATE_LIMIT_EXCEEDED` with `X-RateLimit-Limit`,
`X-RateLimit-Remaining`, `X-RateLimit-Reset`, and `Retry-After`
headers. - **Per-org monthly request quota**: request count only, shared
across every key in the organization. Plan-tier limits apply. Exceeding the cap returns `429 QUOTA_EXCEEDED` with
`details.quota`, `details.used`, `details.limit`,
`details.resets_at`, and `details.upgrade_url`. - **Per-user upload cap (Free only)**: `POST /posts` counts against
the same 5-uploads-per-month cap the dashboard enforces. Free
users who hit it get `429 UPLOAD_QUOTA_EXCEEDED` with
`details.quota`, `details.used`, `details.limit`,
`details.remaining`, and `details.upgrade_url`. Creator and Team
tiers are unlimited and never hit this, under the fair use policy
at https://www.shortsync.app/docs/platforms/limits#fair-use. - **Per-workspace daily posting limit**: every plan has a daily
limit per platform, the same as in the app, reset at midnight UTC. A publish over it fails with `429 DAILY_LIMIT_REACHED`. X counts
units per organization, shared by its workspaces: 20 a day on Free
and Creator, 60 on Team, plus 10 per extra-workspace add-on. A post
uses 1 unit, 15 with a link, first comments included; a post needing
more than the whole day''s units fails with
`400 X_POST_TOO_LARGE`. Reddit and Google Business Profile
also follow the limits of our API partner. Limits per
platform: https://www.shortsync.app/docs/platforms/limits
## Idempotency
`POST /posts`, `POST /uploads/carousel-group`,
`POST /repurposing/workflows`, `POST /podcast/episodes` and
`POST /podcast/import` accept an `Idempotency-Key` header. The first successful
response for a given `(organization, key)` is cached for 24h; replays
return the cached body and status code. Use a fresh UUID per logical
operation. `POST /uploads` does not honor the header because the
response carries a time-limited presigned URL we don''t re-issue —
on retry, call the endpoint again and PUT to the new URL.'
contact:
name: ShortSync
email: hilma@shortsync.app
url: https://www.shortsync.app
termsOfService: https://www.shortsync.app/terms-of-service
license:
name: Proprietary
x-logo:
url: https://www.shortsync.app/logo.png
altText: ShortSync
servers:
- url: https://api.shortsync.app/v1
description: Production (subdomain)
- url: https://www.shortsync.app/api/v1
description: Production (path-based, fallback while subdomain DNS lands)
security:
- WorkspaceKey: []
- AccountToken: []
tags:
- name: Uploads
description: Upload media to ShortSync storage before publishing.
paths:
/uploads:
get:
tags:
- Uploads
summary: List uploads
description: 'Returns uploads in the workspace, newest first. Cursor-paginated.
The `status` field is derived: `reserved` means the slot exists
but the bytes haven''t been finalized, `ready` means the upload
has been finalized and has metadata available. List calls do
**not** trigger lazy-finalize for stale reservations — that
happens on `GET /uploads/{upload_id}` (and on the opportunistic
background timer after `POST /uploads`).
Carousels include `carousel_items`: their images and videos in
order. Those items are uploads too, so they also appear in the
list on their own.'
operationId: listUploads
security:
- WorkspaceKey: []
parameters:
- name: status
in: query
schema:
type: array
items:
type: string
enum:
- reserved
- ready
style: form
explode: false
- name: content_kind
in: query
description: Only uploads of this kind, e.g. `carousel`.
schema:
type: string
enum:
- video
- image
- text
- carousel
- name: created_after
in: query
schema:
type: string
format: date-time
- name: created_before
in: query
schema:
type: string
format: date-time
- name: in_podcast
in: query
description: '`true` for only videos added to the workspace''s podcast.'
schema:
type: boolean
- $ref: '#/components/parameters/Cursor'
- $ref: '#/components/parameters/Limit'
responses:
'200':
description: Uploads.
content:
application/json:
schema:
allOf:
- $ref: '#/components/schemas/PaginatedEnvelope'
- type: object
properties:
data:
type: array
items:
$ref: '#/components/schemas/Upload'
'401':
$ref: '#/components/responses/Unauthorized'
'403':
$ref: '#/components/responses/Forbidden'
'429':
$ref: '#/components/responses/RateLimited'
post:
tags:
- Uploads
summary: Start a media upload
description: 'Reserves an upload slot and returns a presigned `PUT` URL targeting
ShortSync''s media storage. The request body is **empty** — no
filename or content type is required at this step. Your `PUT` may
set whatever `Content-Type` header you want; ShortSync stores
whatever bytes arrive.
The URL is valid for **1 hour** (see `expires_at`). If your upload
doesn''t start within that window, call `POST /uploads` again to
mint a fresh URL — the prior `upload_id` is harmless and will be
garbage collected.
Type validation is **deferred to finalize**. The first time you
call `GET /uploads/{upload_id}` or `POST /posts` with this
`upload_id`, ShortSync reads the stored `Content-Type` and rejects
it with `415 UNSUPPORTED_FILE_TYPE` if it isn''t in the allow-list
(`video/mp4`, `video/quicktime`, `video/webm`, `video/x-msvideo`,
`video/x-matroska`, `image/jpeg`, `image/png`, `image/webp`,
`image/heic`, `image/gif`). Bad uploads waste the PUT bandwidth, so
set the `Content-Type` header correctly on your `PUT`.
The same finalize step also validates per-kind size caps (2 GB
video, 20 MB image) and the workspace storage quota, then marks
the upload `ready`. There is no explicit "complete" call.'
operationId: createUpload
security:
- WorkspaceKey: []
requestBody:
required: false
content:
application/json:
schema:
$ref: '#/components/schemas/UploadCreate'
examples:
empty:
summary: No body required
value: {}
fromUrl:
summary: Import from a public URL
value:
source_url: https://example-bucket.s3.amazonaws.com/clips/recipe.mp4
responses:
'201':
description: 'Upload reserved. Use `presigned_url` to PUT the bytes. With
`source_url`, ShortSync downloads the file and returns a ready
upload instead (`UploadFromUrl`).
'
content:
application/json:
schema:
oneOf:
- $ref: '#/components/schemas/UploadTicket'
- $ref: '#/components/schemas/UploadFromUrl'
examples:
video:
value:
upload_id: up_01HW0ZAB3CDEFGHJKMNPQRSTUV
presigned_url: https://media.shortsync.app/up_01HW0ZAB3CDEFGHJKMNPQRSTUV?X-Amz-...
method: PUT
expires_at: '2026-06-07T13:35:00Z'
workspace_id: ws_01HW0Z9XJ2K3R4M5N6P7Q8S9TU
fromUrl:
value:
upload_id: up_01HW0ZAB3CDEFGHJKMNPQRSTUV
status: ready
filename: recipe.mp4
content_type: video/mp4
size_bytes: 12450112
source_url: https://example-bucket.s3.amazonaws.com/clips/recipe.mp4
workspace_id: ws_01HW0Z9XJ2K3R4M5N6P7Q8S9TU
'400':
$ref: '#/components/responses/Validation'
'422':
description: '`source_url` couldn''t be imported: the download failed, the
server sent no Content-Length, the file isn''t a supported video
or image, it''s too large, or the storage quota is full.
'
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
'401':
$ref: '#/components/responses/Unauthorized'
'403':
$ref: '#/components/responses/Forbidden'
'429':
$ref: '#/components/responses/RateLimited'
/uploads/carousel-group:
post:
tags:
- Uploads
summary: Group uploads into a carousel
description: 'Groups an ordered list of already-uploaded items into a single carousel
post. Each item must have been uploaded via `POST /uploads` and finalized
(bytes landed in S3) before calling this endpoint.
Creates a carousel parent with `content_type: "carousel"` and returns a
new `upload_id` that you pass to `POST /posts` to publish.
The global item limit is 50. Per-platform limits are enforced at publish
time: Instagram (10), TikTok (35, images only), Facebook (30, images
only), LinkedIn (20, images only), Threads (10), X (4, images only),
Bluesky (4, images only), Pinterest (5, images only), Telegram (10),
Mastodon (4, images only), Discord (10, images and video, 10 MB
total per post), Tumblr (10, images and one video max), Pixelfed (20, images
and video; the connected server''s album cap applies, default 4),
WordPress (20, images and video; images become a gallery, videos
their own blocks), Ghost (20, images and video; images become a
gallery, videos their own cards), Blogger (20, images only).
Google Business Profile doesn''t support carousels (one photo per post),
and neither do Reddit, Dailymotion and Vimeo (one video per post).'
operationId: createCarouselGroup
security:
- bearerAuth: []
requestBody:
required: true
content:
application/json:
schema:
type: object
required:
- child_upload_ids
properties:
child_upload_ids:
type: array
items:
type: string
minItems: 2
maxItems: 50
description: 'Ordered list of `upload_id` values (from `POST /uploads`)
to group. Position 0 is the cover by default.
'
cover_index:
type: integer
minimum: 0
default: 0
description: '0-based index within `child_upload_ids` to use as the
carousel cover image. Defaults to 0 (first item).
'
responses:
'201':
description: Carousel created.
content:
application/json:
schema:
type: object
properties:
upload_id:
type: string
description: 'The carousel''s `upload_id`. Pass this to `POST /posts`
as the `upload_id` to publish the carousel.
'
child_count:
type: integer
content_type:
type: string
enum:
- carousel
cover_index:
type: integer
has_video:
type: boolean
has_image:
type: boolean
'400':
$ref: '#/components/responses/Validation'
'401':
$ref: '#/components/responses/Unauthorized'
'403':
$ref: '#/components/responses/Forbidden'
'404':
description: One or more upload IDs not found or not finalized.
'429':
$ref: '#/components/responses/RateLimited'
/uploads/{upload_id}:
parameters:
- $ref: '#/components/parameters/UploadId'
get:
tags:
- Uploads
summary: Retrieve an upload
description: 'Returns the current state of an upload. On the first call after the
client has PUT bytes to the presigned URL, ShortSync finalizes the
upload: it reads the stored `Content-Type`, validates it against
the MIME allow-list, checks per-kind size caps and workspace storage
quota, and marks the upload `ready`. Polling before the PUT is
cheap — calls just return `status: "reserved"` with no side effects.
If the stored `Content-Type` isn''t supported, the server deletes
the S3 object and responds `415 UNSUPPORTED_FILE_TYPE`. Reserve a
new `upload_id` and retry with a correct `Content-Type` on the PUT.'
operationId: getUpload
security:
- WorkspaceKey: []
responses:
'200':
description: Upload.
content:
application/json:
schema:
$ref: '#/components/schemas/Upload'
'401':
$ref: '#/components/responses/Unauthorized'
'403':
$ref: '#/components/responses/Forbidden'
'404':
$ref: '#/components/responses/NotFound'
'413':
description: 'Upload exceeds per-kind size cap (2 GB video, 20 MB image) or
workspace storage quota. The S3 object is deleted server-side
before this response is returned.
'
'415':
description: 'The stored `Content-Type` isn''t in the allow-list (mp4, mov,
webm, avi, mkv, jpg, png, webp, heic, gif). The S3 object is
deleted server-side before this response is returned.
'
'429':
$ref: '#/components/responses/RateLimited'
delete:
tags:
- Uploads
summary: Delete an upload
description: 'Deletes the upload from the library, same as deleting it in the
dashboard. The media and thumbnails are removed and every
scheduled, queued or draft post made from it is cancelled. Posts
that are already published stay live on their platforms. A reserved
upload whose bytes never arrived is simply discarded. Workspace
clients can''t delete. Scope: `uploads:write`.'
operationId: deleteUpload
security:
- WorkspaceKey: []
responses:
'204':
description: Deleted.
'401':
$ref: '#/components/responses/Unauthorized'
'403':
$ref: '#/components/responses/Forbidden'
'404':
$ref: '#/components/responses/NotFound'
'429':
$ref: '#/components/responses/RateLimited'
components:
responses:
NotFound:
description: Resource does not exist or is not visible to this token.
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
Forbidden:
description: 'Token is valid but cannot access this resource. Common cases:
- `INSUFFICIENT_SCOPE` - token lacks the required scope.
- `WORKSPACE_NOT_ALLOWED` - account token is allowlisted to other workspaces.
'
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
example:
status: 403
code: INSUFFICIENT_SCOPE
message: This endpoint requires the 'posts:write' scope.
RateLimited:
description: 'Per-key sliding-window rate limit (60 req/min), per-org monthly
request quota, or per-user upload cap was hit.
`RATE_LIMIT_EXCEEDED` carries the window headers;
`QUOTA_EXCEEDED` carries `details.quota` (which counter),
`used`, `limit`, `resets_at`, and `upgrade_url`.
`UPLOAD_QUOTA_EXCEEDED` (Free tier on `POST /posts` only)
carries the same shape plus `details.remaining`.
'
headers:
X-RateLimit-Limit:
$ref: '#/components/headers/X-RateLimit-Limit'
X-RateLimit-Remaining:
$ref: '#/components/headers/X-RateLimit-Remaining'
X-RateLimit-Reset:
$ref: '#/components/headers/X-RateLimit-Reset'
Retry-After:
$ref: '#/components/headers/Retry-After'
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
examples:
rateLimit:
value:
status: 429
code: RATE_LIMIT_EXCEEDED
message: Too many requests. Retry after the reset time.
quota:
value:
status: 429
code: QUOTA_EXCEEDED
message: Monthly API request quota exceeded for this organization. Upgrade to Creator or Team for a higher request cap.
details:
quota: requests
used: 500000
limit: 500000
resets_at: '2026-07-01T00:00:00Z'
upgrade_url: https://www.shortsync.app/settings?section=billing
uploadQuota:
value:
status: 429
code: UPLOAD_QUOTA_EXCEEDED
message: Monthly upload quota exceeded for this account. Upgrade to Creator or Team for unlimited posts.
details:
quota: uploads
used: 5
limit: 5
remaining: 0
upgrade_url: https://www.shortsync.app/settings?section=billing
Unauthorized:
description: Missing, malformed, or revoked token.
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
example:
status: 401
code: UNAUTHORIZED
message: Missing or invalid Authorization header.
Validation:
description: Request body or parameters failed validation.
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
example:
status: 400
code: VALIDATION_ERROR
message: scheduled_for must be in the future.
details:
field: scheduled_for
headers:
X-RateLimit-Limit:
description: Maximum requests allowed in the current window.
schema:
type: integer
X-RateLimit-Remaining:
description: Requests remaining in the current window.
schema:
type: integer
Retry-After:
description: Seconds to wait before retrying.
schema:
type: integer
X-RateLimit-Reset:
description: Unix epoch seconds when the window resets.
schema:
type: integer
schemas:
ErrorResponse:
type: object
required:
- status
- code
- message
properties:
status:
type: integer
description: HTTP status code, echoed in the body for convenience.
code:
type: string
description: Stable machine-readable error code (UPPER_SNAKE_CASE).
message:
type: string
description: Human-readable explanation. May change between versions.
details:
description: Optional structured context. Shape depends on `code`.
UploadCreate:
type: object
description: '`POST /uploads` accepts an empty body or an optional `filename` hint.
When provided, `filename` is baked into the presigned URL as an
`x-amz-meta-filename` header that the PUT must echo, and surfaces
on the final `Upload.filename` field.
'
properties:
filename:
type: string
maxLength: 255
description: 'Optional. Original filename for display only. ShortSync derives
container/codec from the PUT''s `Content-Type`; the filename
does not affect validation. With `source_url`, pass a filename
with the right extension when the link has none (Google Drive
links), since it''s used to tell the media type.
'
source_url:
type: string
format: uri
description: 'Optional. A public https:// direct-download link to a video or
image. ShortSync downloads it and returns a ready upload, so
there''s no PUT step. The server must send Content-Length; links
to private networks are refused. Same size caps as other
uploads. Send an `Idempotency-Key` so a retry doesn''t import the
file twice.
'
UploadMedia:
type: object
description: 'Probed properties of the uploaded file. Populated for `video`
uploads via server-side ffprobe at finalize time; fields fall
back to `null` when a probe field can''t be read. Images currently
report `content_kind: "image"` with all other fields `null`.
'
properties:
content_kind:
type: string
enum:
- video
- image
- text
- carousel
duration_seconds:
type:
- number
- 'null'
width:
type:
- integer
- 'null'
height:
type:
- integer
- 'null'
aspect_ratio:
type:
- number
- 'null'
fps:
type:
- number
- 'null'
bitrate_kbps:
type:
- integer
- 'null'
video_codec:
type:
- string
- 'null'
audio_codec:
type:
- string
- 'null'
UploadFromUrl:
type: object
required:
- upload_id
- status
- filename
- content_type
- size_bytes
- source_url
- workspace_id
properties:
upload_id:
type: string
status:
type: string
enum:
- ready
filename:
type: string
content_type:
type: string
description: MIME type
e.g. video/mp4.: null
size_bytes:
type: integer
source_url:
type: string
format: uri
description: The URL after redirects.
workspace_id:
type: string
UploadTicket:
type: object
required:
- upload_id
- presigned_url
- method
- expires_at
- workspace_id
properties:
upload_id:
type: string
presigned_url:
type: string
format: uri
method:
type: string
enum:
- PUT
expires_at:
type: string
format: date-time
workspace_id:
type: string
required_headers:
type: object
additionalProperties:
type: string
description: 'Only present when `filename` was supplied to `POST /uploads`.
The PUT to `presigned_url` MUST include every header in this
map verbatim (currently `x-amz-meta-filename`), otherwise S3
rejects the upload with a signature mismatch.
'
Upload:
type: object
required:
- id
- status
- filename
- content_type
- size_bytes
- workspace_id
- created_at
properties:
id:
type: string
status:
type: string
enum:
- reserved
- ready
description: '- `reserved` - ticket issued, bytes not yet finalized
- `ready` - bytes finalized, usable as a post source
In v1 the server skips the post-upload media probe, so transitional
`uploaded` / `failed` states are reserved for future use.
'
filename:
type: string
description: 'Original filename if supplied to `POST /uploads`; otherwise
derived from the S3 object key (typically the literal
`"upload"` for empty-body reservations).
'
content_type:
type: string
description: 'Canonical MIME of the uploaded bytes (e.g., `video/mp4`,
`image/jpeg`), read from the `Content-Type` the client set on
the PUT to the presigned URL and validated against the
allow-list at finalize.
'
size_bytes:
type: integer
workspace_id:
type: string
carousel_items:
type: array
description: Carousels only. Their images and videos, in order.
items:
type: object
required:
- upload_id
- filename
- content_kind
- position
properties:
upload_id:
type:
- string
- 'null'
description: The item's own upload id.
filename:
type:
- string
- 'null'
description: The item's original filename.
content_kind:
type:
- string
- 'null'
enum:
- video
- image
- null
position:
type: integer
description: 0-based place in the carousel.
media:
$ref: '#/components/schemas/UploadMedia'
error:
type:
- object
- 'null'
properties:
code:
type: string
message:
type: string
created_at:
type: string
format: date-time
updated_at:
type: string
format: date-time
podcast_episode:
type: object
description: Only on uploads added to the workspace's podcast.
properties:
id:
type: string
format: uuid
status:
type: string
enum:
- processing
- draft
- published
- failed
publish_at:
type:
- string
- 'null'
format: date-time
artwork_url:
type:
- string
- 'null'
PaginatedEnvelope:
type: object
required:
- data
- pagination
properties:
data:
type: array
items:
type: object
pagination:
type: object
required:
- next_cursor
properties:
next_cursor:
type:
- string
- 'null'
description: Pass into `cursor` on the next request. `null` when no more pages.
parameters:
UploadId:
name: UploadId
in: query
required: false
schema:
type: string
description: Referenced by this document but never defined in it. API Evangelist added this empty placeholder so the document resolves; the shape is unknown and is NOT a claim about the API.
x-ae-placeholder: true
Cursor:
name: cursor
in: query
description: Opaque cursor returned by a previous list response. Omit on the first page.
schema:
type: string
Limit:
name: limit
in: query
description: Maximum items to return (1-100). Default 25.
schema:
type: integer
minimum: 1
maximum: 100
default: 25
securitySchemes:
WorkspaceKey:
type: http
scheme: bearer
bearerFormat: ss_live_<random>
description: Workspace-scoped key. Prefixed `ss_live_`. Pinned to one workspace at creation.
AccountToken:
type: http
scheme: bearer
bearerFormat: ss_acct_<random>
description: Organization-wide token. Prefixed `ss_acct_`. Only owners and admins can create one, in Settings > API, MCP & webhooks.
externalDocs:
description: ShortSync API documentation
url: https://www.shortsync.app/docs/api