Media API reference: endpoints
Every endpoint below uses the same authentication, conventions and error codes. New to the API? Start with the quickstart or the developer docs.
Prefer a typed client? Call these endpoints through the TypeScript SDK or the MCP server, and receive changes as webhook events.
Other resources: Posts endpoints reference, Post targets API reference, clients reference, Accounts, Workspace endpoints reference, Approvals API reference, campaigns reference, Analytics, Reports endpoints reference, webhooks reference, Inbox.
| Field | Description |
|---|---|
cursorstringin query | Keyset cursor from a previous page.See pagination. |
limitintegerin query | Page size (1–100). |
kindenum: image | video | gif | documentin query | |
folderstringin query | |
labelstringin query | Narrow to assets carrying this label. |
clientIdstring (uuid)in query | |
statusenum: pending | scanning | passed | transcoding | transcoded | failed | …in query | |
searchstringin query | Free-text match on the filename, folder name, or any one label. |
usedenum: true | false | upcomingin query | Narrow by post usage. - true: used by at least one post (an attachment, a video cover, or one platform's own media). - false: used by no post. - upcoming: sent by a post that has not published yet (a destination still scheduled, scheduled on the platform, or on hold).MoreThese files cannot be deleted until they are removed from those posts or the posts are canceled. |
sortenum: created_at | filename | sizein query | |
orderenum: asc | descin query | |
fromstring (date-time)in query | Lower bound on the UPLOAD date, under every sort. |
tostring (date-time)in query | Upper bound on the UPLOAD date, under every sort. |
Responses
- 200
- A page of media assets.
- 400
- An RFC 9457 error (
application/problem+json). - 401
- An RFC 9457 error (
application/problem+json). - 403
- An RFC 9457 error (
application/problem+json). - 404
- An RFC 9457 error (
application/problem+json). - 422
- An RFC 9457 error (
application/problem+json). - 429
- An RFC 9457 error (
application/problem+json).
curl -X GET "https://api.skedcast.com/v1/media" \
-H "Authorization: Bearer $SKEDCAST_API_KEY"Response 200
{
"data": [
{}
],
"page": {
"hasMore": true,
"cursor": "string",
"nextCursor": "string"
},
"meta": {
"correlationId": "string"
}
}Register an asset after its bytes are uploaded, so SkedCast starts processing it.
More about this endpoint
The upload sequence:
1. POST /media/presign returns assetId, key and an upload URL. 2. PUT the file to that URL (a multipart upload also calls POST /media/{id}/complete). 3. POST /media with the assetId and key from step 1 registers the asset.
The response carries readyEvent (media.ready): subscribe to it instead of polling. Requires the media.manage scope and an Idempotency-Key header.
| Field | Description |
|---|---|
Idempotency-Keystringin headerRequired | A unique key (for example a UUID, up to 255 characters) for this request.See idempotency and retries.MoreRetry a 429, 502, 503 or 504, or a request that got no response, with the same Idempotency-Key: SkedCast runs it once or returns the first result. Every other answer, including a 500, is kept for 24 hours and returned again for that key, so send a new key to try again. |
| Field | Description |
|---|---|
assetIdstring (uuid)Required | The assetId from the presign response. |
keystringRequired | The key from the presign response. |
clientIdstring (uuid) | Optional, and best left out: the asset is filed under the client chosen at presign, which the key carries.MoreWhen sent it must equal that client, else400 media_bad_key (since 2026-11-27). |
contentTypestringRequired | The file's MIME type, for example image/jpeg. |
sizeBytesintegerRequired | The file size in bytes.MoreSkedCast records the size of the stored file. |
filenamestringRequired | The original file name. |
platformsarray of enum: x | linkedin | instagram | facebook | tiktok | youtube | … | Optional.MorePrepare the file for these platforms first. |
Responses
- 201
- The registered asset.
- 400
- An RFC 9457 error (
application/problem+json). - 401
- An RFC 9457 error (
application/problem+json). - 403
- An RFC 9457 error (
application/problem+json). - 404
- An RFC 9457 error (
application/problem+json). - 422
- An RFC 9457 error (
application/problem+json). - 429
- An RFC 9457 error (
application/problem+json).
curl -X POST "https://api.skedcast.com/v1/media" \
-H "Authorization: Bearer $SKEDCAST_API_KEY" \
-H "Idempotency-Key: $(uuidgen)" \
-H "Content-Type: application/json" \
-d '{
"assetId": "0196b0a0-0000-7000-8000-000000000001",
"key": "string",
"contentType": "string",
"sizeBytes": 1,
"filename": "string"
}'Response 201
{
"data": {},
"meta": {
"correlationId": "string"
}
}| Field | Description |
|---|---|
idstring (uuid)in pathRequired |
Responses
- 200
- The media asset.
- 400
- An RFC 9457 error (
application/problem+json). - 401
- An RFC 9457 error (
application/problem+json). - 403
- An RFC 9457 error (
application/problem+json). - 404
- An RFC 9457 error (
application/problem+json). - 422
- An RFC 9457 error (
application/problem+json). - 429
- An RFC 9457 error (
application/problem+json).
curl -X GET "https://api.skedcast.com/v1/media/{id}" \
-H "Authorization: Bearer $SKEDCAST_API_KEY"Response 200
{
"data": {},
"meta": {
"correlationId": "string"
}
}Get a presigned URL to upload a file straight to storage. The file does not pass through the API.
More about this endpoint
The upload sequence:
1. POST /media/presign returns assetId, key, expiresAt and either a single upload url or, with multipart: true, uploadId and parts[]. 2. PUT the file to the URL before it expires. For a multipart upload, PUT each part at its sizeBytes, then call POST /media/{id}/complete. 3. POST /media with the assetId and key registers the asset.
Requires the media.manage scope and an Idempotency-Key header.
| Field | Description |
|---|---|
Idempotency-Keystringin headerRequired | A unique key (for example a UUID, up to 255 characters) for this request.See idempotency and retries.MoreRetry a 429, 502, 503 or 504, or a request that got no response, with the same Idempotency-Key: SkedCast runs it once or returns the first result. Every other answer, including a 500, is kept for 24 hours and returned again for that key, so send a new key to try again. |
| Field | Description |
|---|---|
clientIdstring (uuid) | Scope the asset to one client.MoreOmit for a workspace-wide asset. |
filenamestringRequired | The original file name. |
contentTypestringRequired | The file's MIME type, for example image/jpeg.MoreSkedCast checks the real type after upload. |
sizeBytesintegerRequired | The file size in bytes. |
multipartboolean | Set true for a large file to get uploadId and parts[] instead of one upload url. |
Responses
- 201
- The presigned upload:
assetId,key,expiresAt, and a singleurlor, for a multipart upload,uploadIdandparts[]. - 400
- An RFC 9457 error (
application/problem+json). - 401
- An RFC 9457 error (
application/problem+json). - 403
- An RFC 9457 error (
application/problem+json). - 404
- An RFC 9457 error (
application/problem+json). - 422
- An RFC 9457 error (
application/problem+json). - 429
- An RFC 9457 error (
application/problem+json).
curl -X POST "https://api.skedcast.com/v1/media/presign" \
-H "Authorization: Bearer $SKEDCAST_API_KEY" \
-H "Idempotency-Key: $(uuidgen)" \
-H "Content-Type: application/json" \
-d '{
"filename": "string",
"contentType": "string",
"sizeBytes": 1
}'Response 201
{
"data": {},
"meta": {
"correlationId": "string"
}
}Finish a multipart upload started with POST /media/presign and multipart: true. Send the key and uploadId from the presign and every part's partNumber with the ETag its PUT returned, in order. Then register the asset with POST /media, as for a single upload.
More about this endpoint
The key must be the one issued for this asset; any other is refused. Requires the media.manage scope and an Idempotency-Key header.
| Field | Description |
|---|---|
idstring (uuid)in pathRequired | |
Idempotency-Keystringin headerRequired | A unique key (for example a UUID, up to 255 characters) for this request.See idempotency and retries.MoreRetry a 429, 502, 503 or 504, or a request that got no response, with the same Idempotency-Key: SkedCast runs it once or returns the first result. Every other answer, including a 500, is kept for 24 hours and returned again for that key, so send a new key to try again. |
| Field | Description |
|---|---|
keystringRequired | The key the presign returned. |
uploadIdstringRequired | The uploadId the presign returned. |
partsarray of objectRequired |
Responses
- 201
- The upload is assembled:
{ assetId }. - 400
- An RFC 9457 error (
application/problem+json). - 401
- An RFC 9457 error (
application/problem+json). - 403
- An RFC 9457 error (
application/problem+json). - 404
- An RFC 9457 error (
application/problem+json). - 409
- An RFC 9457 error (
application/problem+json). - 422
- An RFC 9457 error (
application/problem+json). - 429
- An RFC 9457 error (
application/problem+json).
curl -X POST "https://api.skedcast.com/v1/media/{id}/complete" \
-H "Authorization: Bearer $SKEDCAST_API_KEY" \
-H "Idempotency-Key: $(uuidgen)" \
-H "Content-Type: application/json" \
-d '{
"key": "string",
"uploadId": "string",
"parts": [
{
"partNumber": 1,
"etag": "string"
}
]
}'Response 201
{
"data": {},
"meta": {
"correlationId": "string"
}
}Import an image or video into the library from a URL (HTTPS URLs only). Requires the media.manage scope and an Idempotency-Key header.
| Field | Description |
|---|---|
Idempotency-Keystringin headerRequired | A unique key (for example a UUID, up to 255 characters) for this request.See idempotency and retries.MoreRetry a 429, 502, 503 or 504, or a request that got no response, with the same Idempotency-Key: SkedCast runs it once or returns the first result. Every other answer, including a 500, is kept for 24 hours and returned again for that key, so send a new key to try again. |
| Field | Description |
|---|---|
urlstring (uri)Required | An HTTPS URL of the image or video to import. |
clientIdstring (uuid) | Scope the asset to one client.MoreOmit for a workspace-wide asset. |
platformsarray of enum: x | linkedin | instagram | facebook | tiktok | youtube | … | Optional.MorePrepare the file for these platforms first. |
Responses
- 201
- The imported asset.
- 400
- An RFC 9457 error (
application/problem+json). - 401
- An RFC 9457 error (
application/problem+json). - 403
- An RFC 9457 error (
application/problem+json). - 404
- An RFC 9457 error (
application/problem+json). - 422
- An RFC 9457 error (
application/problem+json). - 429
- An RFC 9457 error (
application/problem+json).
curl -X POST "https://api.skedcast.com/v1/media/import-url" \
-H "Authorization: Bearer $SKEDCAST_API_KEY" \
-H "Idempotency-Key: $(uuidgen)" \
-H "Content-Type: application/json" \
-d '{
"url": "https://example.com"
}'Response 201
{
"data": {},
"meta": {
"correlationId": "string"
}
}