Skip to Content

Upload Management

This section documents the endpoints available for managing and retrieving information about your uploads.

Base URL

https://api.multi-upload-tool.com/api/v1

Authentication

All requests require an API Token in the header: x-api-key: YOUR_API_TOKEN


List Uploads

Retrieve a list of posts you have uploaded. Supports pagination and filtering.

Endpoint

GET /upload

Query Parameters

ParameterTypeRequiredDescription
pagenumberNoPage number (default: 1).
limitnumberNoItems per page (default: 100, max: 1000).
platformstringNoFilter by platform (tiktok, youtube).
statusstringNoFilter by status (pending, processing, completed, failed, scheduled).
searchstringNoSearch by title.
startDatestring (ISO)NoFilter by uploaded/scheduled/created on or after date.
endDatestring (ISO)NoFilter by uploaded/scheduled/created on or before date.

Example Request

curl -X GET "https://api.multi-upload-tool.com/api/v1/upload?page=1&limit=10&platform=tiktok" \ -H "x-api-key: YOUR_API_TOKEN"

Example Response

{ "success": true, "data": [ { "id": 456, "title": "My amazing video", "platform": "tiktok", "status": "completed", "uploadedAt": "2023-10-27T10:00:00.000Z", "thumbnailUrl": "https://...", "videoUrl": "https://...", "fileSize": "12345678", "connectedAccount": { "id": 123, "platform": "tiktok", "accountName": "brand account", "profileImageUrl": "https://...", "tags": "team,marketing" }, "metadata": { "videoId": "73123456789" } } ], "pagination": { "total": 50, "page": 1, "limit": 10, "totalPages": 5 } }

Get Upload Details

Retrieve details for a specific upload.

Endpoint

GET /upload/:id

Example Request

curl -X GET "https://api.multi-upload-tool.com/api/v1/upload/456" \ -H "x-api-key: YOUR_API_TOKEN"

Example Response

{ "success": true, "data": { "id": 456, "platform": "tiktok", "title": "My amazing video", "description": "Check this out!", "status": "completed", "uploadedAt": "2023-10-27T10:00:00.000Z", "thumbnailUrl": "https://...", "videoUrl": "https://...", "connectedAccount": { "id": 123, "platform": "tiktok", "accountName": "brand account", "profileImageUrl": "https://..." }, "metadata": { "videoId": "73123456789", "shareUrl": "https://www.tiktok.com/@user/video/73123456789" } } }

Update Upload

Update details of an upload (e.g. retry a failed upload or update metadata).

Endpoint

PATCH /upload/:id

Only uploads in scheduled status can be updated.

Body Parameters

ParameterTypeRequiredDescription
titlestringNoUpdate the title.
descriptionstringNoUpdate the description.
scheduledForstring (ISO)NoUpdate scheduled publish time.
statusstringNoUpdate status (e.g. cancel scheduled).

Example Request

curl -X PATCH "https://api.multi-upload-tool.com/api/v1/upload/456" \ -H "x-api-key: YOUR_API_TOKEN" \ -H "Content-Type: application/json" \ -d '{"title": "Updated Title", "scheduledFor": "2023-10-30T12:00:00.000Z"}'

Example Response

{ "success": true, "data": { "id": 456, "title": "Updated Title", "status": "scheduled", "scheduledFor": "2023-10-30T12:00:00.000Z" } }

Get Upload Limits

Check upload limits for a specific account (e.g. YouTube daily quota).

Endpoint

GET /limits/:accountId

Example Request

curl -X GET "https://api.multi-upload-tool.com/api/v1/limits/123" \ -H "x-api-key: YOUR_API_TOKEN"

Example Response

{ "success": true, "data": { "remaining": 5, "limit": 10, "resetAt": "2023-10-28T00:00:00.000Z" } }