Integrate QPost directly into your applications, scripts, and workflows.
All API requests must be authenticated using an API Key. You can pass the key in the request headers.
| Header Name | Value | Description |
|---|---|---|
| x-api-key | YOUR_API_KEY | Preferred method. |
| Authorization | Bearer YOUR_API_KEY | Alternative standard bearer token method. |
| Field | Type | Description |
|---|---|---|
| caption | string | RequiredThe main text content of your post. |
| platforms | JSON string | RequiredArray of target platforms. See structure below. |
| video | File | Video file to upload. (Required if no images) |
| images | File[] | One or more image files. (Required if no video) |
| title | string | Optional title (used for YouTube). |
| scheduledFor | ISO Date | Optional. If provided, post will be scheduled. |
| timezone | string | Timezone for scheduling (default: "UTC"). |
The platforms field expects a
JSON stringified array of objects with the following shape:
[
{
"platform": "YOUTUBE" | "TIKTOK" | "INSTAGRAM",
"metadata": { ... } // Platform specific options
}
] | title | Override video title. |
| description | Override video description. |
| tags | Array of strings or comma-separated string. |
| categoryId | YouTube Category ID (default: "22"). |
| privacyStatus | "private" | "unlisted" | "public" (default: "private"). |
| publishAt | ISO datetime for scheduled publishing. |
| selfDeclaredMadeForKids | boolean (default: false). |
| privacyLevel | "PUBLIC" | "FRIENDS" | "SELF_ONLY" (default: "SELF_ONLY"). |
| allowComment | boolean |
| allowDuet | boolean |
| allowStitch | boolean |
| commercialContentEnabled | boolean |
| brandOrganicToggleEnabled | boolean |
| thirdPartyContentToggleEnabled | boolean |
| mediaType | "IMAGE" | "CAROUSEL" | "REELS" | "STORIES" |
| mediaProductType | "FEED" | "STORIES" | "REELS" |
| disableComments | boolean |
| locationId | Instagram Location ID. |
| userTags | Array of objects: { username: string, x: number, y: number } |
| altText | Custom alt text for accessibility. |
3
Get Posts
GET /api/post
Query Parameters
Parameter Type Description status string Filter by status: "DRAFT", "SCHEDULED", "POSTED",
"FAILED". platform string Filter by platform: "YOUTUBE", "TIKTOK", "INSTAGRAM".