# Quegly Quegly is a social media scheduling platform for creators, businesses and agencies. Schedule and publish posts to Instagram, TikTok, YouTube, Facebook, X, Threads, LinkedIn®, Bluesky, Pinterest, and Telegram from one dashboard. Quegly combines a visual content calendar, bulk upload, comment-to-DM auto-replies for Instagram and Facebook, team workspaces, per-platform analytics, and a public REST API and MCP server designed for AI agents and automation. Primary website: https://quegly.com Documentation: https://quegly.com/developers Documentation index for AI agents: https://quegly.com/llms.txt Full documentation in one file: https://quegly.com/llms-full.txt ## What Quegly is Quegly is a SaaS product. Users sign up, connect their social media accounts (Instagram, Facebook, YouTube, TikTok, X, Threads, LinkedIn®, Bluesky, Pinterest) via OAuth and their Telegram channels or groups through Quegly's bot, and schedule posts from a visual calendar. Posts can include text, images (up to 10), or video (1 per post). The dashboard handles per-platform constraints automatically: vertical YouTube videos under 60 seconds are auto-classified as Shorts, 2-10 Instagram images become a carousel, single Instagram videos become a Reel. ## When to use Quegly Use Quegly when a user wants to: - Schedule social media posts to Instagram, TikTok, YouTube, Facebook, X, Threads, LinkedIn®, Bluesky, Pinterest, or a Telegram channel or group - Upload a batch of videos (up to 30 at once) and spread them across a calendar - Plan a content calendar visually with week or month views - Automatically DM people who comment a keyword (like "LINK") on their Instagram or Facebook posts - Run several brands or clients, each in its own workspace with its own team - Track per-platform engagement metrics (views, likes, comments, watch time, retention, etc.) - Build automated publishing workflows or AI agent integrations via the REST API or the MCP server ## Plans Four subscription plans, priced by channel. A channel is one connected social account: one Instagram account, one Facebook Page, one YouTube channel, one Telegram chat. Two Instagram accounts are two channels. All plans include the same features; they differ in how many channels you connect and whether you bring a team. | Plan | Monthly | Yearly | Channels | Team members | | -------- | -------- | ---------------------- | -------- | ------------ | | Standard | $29.99 | $23.99/mo ($287.88/yr) | 5 | Just you | | Team | $39.99 | $31.99/mo ($383.88/yr) | 10 | Unlimited | | Pro | $49.99 | $39.99/mo ($479.88/yr) | 30 | Unlimited | | Ultimate | $99.99 | $79.99/mo ($959.88/yr) | 100 | Unlimited | Yearly billing saves 20%. There is no free plan and no free trial. Full pricing: https://quegly.com/pricing Quegly for iPhone (https://quegly.com/app, on the App Store at https://apps.apple.com/app/id6815466696) sells plans through the App Store too. A plan covers the account on the web and on iPhone, wherever it was bought. All plans include: - Posting to all 10 platforms (Instagram, TikTok, YouTube, Facebook, X, Threads, LinkedIn®, Bluesky, Pinterest, Telegram) - Unlimited workspaces: every channel lives in one workspace and can be moved to another - Unlimited posts, except on X: up to 5 posts a day per X channel - Bulk upload (up to 30 files at once) - Visual content calendar (week + month views) - Comment-to-DM auto-replies on Instagram and Facebook - Per-platform analytics dashboard - Public REST API and MCP server access Team, Pro and Ultimate add unlimited team members, invited workspace by workspace. Standard is just you. Other limits: posts can be scheduled up to 90 days ahead, and an account holds up to 10 API keys. ## Core features ### Visual content calendar Week and month views. Posts appear on the day they are scheduled. Past-date posts are read-only. ### Bulk upload Drop up to 30 photos or videos onto the calendar at once. They wait in an upload tray, and dragging one onto a day starts a post for that day. This is how a month of content gets scheduled in one sitting. ### Composer Create posts from a single panel: - Post To picks the workspace's channels (connected accounts), shown with their picture, name and platform, so two accounts of one platform are two choices, each with its own settings card - Per-post caption with optional per-channel overrides ("All" mode shares one caption across channels; "Individual" mode lets you write a different caption per channel) - Native OS color emoji picker - Media upload: 1 to 10 images (JPEG/PNG, max 25 MB each) OR 1 video (MP4/MOV, max 500 MB). Cannot mix images and video in the same post. - Custom video covers: pick any frame of the video, or upload your own image - Instagram options: collaborators (up to 3), tagged accounts on Reels (up to 20), trial Reels (shown to non-followers first, then shared with followers by hand or automatically if they perform well), and Add to Story or Story only - Facebook Add to Story or Story only, Facebook Reel collaborators (other Pages, up to 10), YouTube title and privacy, TikTok privacy, interaction and disclosure settings, X media tags, Threads topic tags, LinkedIn® visibility and swipeable photo carousels, Pinterest board, title and link - Three publishing modes: schedule (future), post now (immediate), draft (no schedule) - Per-platform constraints validated upfront (YouTube needs a video; X is capped at 4 images; Bluesky photos are 2 MB at most; a Pinterest Pin needs a board and takes at most 5 photos; Telegram videos are 50 MB at most; etc.) ### Comment-to-DM auto-replies (Instagram and Facebook) When someone comments on a post, Quegly can send them a private DM automatically: the "comment LINK and I'll send you the link" flow. - Set up per connected account in the dashboard, on the workspace's Replies page (an Instagram / Facebook switch, and a picker when a workspace has more than one account of that platform). The settings cover every post that account published through Quegly. Posts published elsewhere are not answered. - Triggers: an exact keyword (the whole comment is the word, like LINK), a keyword anywhere in the comment as a whole word, or every comment. Keywords are not case-sensitive. - The DM: write several versions and Quegly picks one at random for each person, so replies don't all read the same. - Optional public reply under the comment (for example "Check your DMs!"), with its own rotating versions. It can be turned off. - Meta's rules apply: one private reply per comment, sent within 7 days of the comment, and only to people (a Facebook Page that comments can't be messaged). - Configured in the dashboard only; the public API does not expose auto-reply settings. ### Workspaces and teams (multi-tenancy) Each workspace owns its own channels (connected social accounts), posts, media, and integrations. Workspaces are slug-based: `https://quegly.com//...`. Every plan includes unlimited workspaces. Each channel lives in one workspace, and its owner can move it to another of their workspaces; a workspace can hold any mix of channels, two accounts of one platform included. On Team, Pro and Ultimate, invite unlimited team members by email, workspace by workspace (a member sees only the workspaces they are invited to); they work in the workspace without anyone sharing social media passwords. Standard is for one person. Archived workspaces have a 30-day lifecycle before deletion. ### Per-platform engagement analytics Per-post metrics for each platform a post was published to. Backed by a 1-hour read-through cache and a 30-day refresh window. Posts older than 30 days keep their last captured snapshot. A workspace's analytics cover the accounts in it now, so moving an account to another workspace moves its numbers too, older posts included. Available metrics by platform: - **Instagram**: views, reach, likes, comments, saved, shares, total_interactions, watch_time_seconds (Reels), avg_view_duration_seconds (Reels) - **Facebook**: views, likes, reactions, comments, shares, post_clicks - **YouTube**: views, likes, comments, favorites, shares, watch_time_seconds, avg_view_duration_seconds, avg_view_percentage, subscribers_gained, subscribers_lost - **TikTok**: views, likes, comments, shares - **X**: views, impressions, likes, comments, retweets, quotes, bookmarks, url_link_clicks (30-day window only), user_profile_clicks (30-day window only) - **Threads**: views, likes, comments (replies), reposts, quotes, shares - **LinkedIn®**: views, reach, likes, reactions, comments, reposts, shares (sent in LinkedIn® messages), saved, url_link_clicks, watch_time_seconds (video posts), once the member allows LinkedIn® post stats; empty until then - **Bluesky**: likes, comments (replies), reposts, quotes, bookmarks, read from Bluesky's public API with no permission needed; Bluesky has no views, reach or watch time - **Pinterest**: views (impressions), likes (reactions), comments, saved, post_clicks, url_link_clicks, for business accounts only (a personal account's Pins read 0); Pinterest's numbers come in a day or two late - **Telegram**: none. Telegram gives bots no views or other numbers for a post, so a Telegram post's metrics are always empty ### Public REST API (v1) Programmatic access to scheduling, uploads, accounts, workspaces, and analytics: - `GET /v1/workspaces`. List the workspaces the key can act on (discovery for all-scope keys) - `POST /v1/posts`. Create and schedule a post (single call fans out to multiple platforms via account_ids) - `GET /v1/posts`. List posts in a date range - `GET /v1/posts/{id}`. Get a single post - `PUT /v1/posts/{id}`. Update a scheduled post - `DELETE /v1/posts/{id}`. Delete a scheduled post - `POST /v1/posts/{id}/publish-now`. Publish immediately - `POST /v1/posts/{id}/retry`. Retry a partial or failed post on the platforms where it failed (optional `platforms` or `account_ids`; by default every failed one). Same rules as the dashboard: on the day it was scheduled, 3 tries per platform, media still stored. Asynchronous: poll `GET /v1/posts/{id}` - `POST /v1/upload`. Upload media file (multipart; videos accept an optional `thumbnail` field) - `POST /v1/upload-from-url`. Upload media from a public URL - `POST /v1/media/{id}/thumbnail`. Set/replace a video's poster image (multipart `thumbnail`, or JSON `{ "url": "https://..." }` to fetch a public image; JPEG/PNG <=5MB). Also refreshes the cover on posts still scheduled/incomplete (response includes `posts_updated`). Videos only. - `DELETE /v1/media/{id}/thumbnail`. Remove a video's poster image (idempotent) - `GET /v1/accounts`. List connected social accounts in the workspace - `GET /v1/pinterest/boards`. List a connected Pinterest account's boards (their ids go in `platform_settings.pinterest.board_id`; pass `account_id` when the workspace has more than one Pinterest account) - `POST /v1/pinterest/boards`. Make a public Pinterest board (`{ "name": "..." }`, up to 50 characters, plus `account_id` when the workspace has more than one Pinterest account) - `GET /v1/analytics`. Every published post in a date range, with its stored metrics per platform - `GET /v1/analytics/post/{id}`. Get post analytics - `POST /v1/analytics/refresh`. Refresh the workspace's stale metrics from the platforms (a flat 1-hour TTL), then read `GET /v1/analytics` Authentication: Bearer token (`qgl_` prefix), passed via the `Authorization` header. Both bare (`qgl_xxx`) and `Bearer qgl_xxx` forms accepted. API key scopes: - **workspace**. Bound to one workspace at creation. Workspace is implicit on every request. - **all**. Authorizes any workspace owned by the user. Pass `X-Workspace-Id: ` header on every request to specify which workspace. Rate limits (per API key, per minute, by the key owner's plan): - Standard: 60 req/min - Team: 120 req/min - Pro: 120 req/min - Ultimate: 300 req/min - The older Creator and Agency plans keep 60 and 300 req/min Posts name their accounts by id in `account_ids`. `platform_settings.` applies to every account of that platform in a post; `account_settings`, keyed by account id, gives one account settings of its own, used instead of its platform's entry (never merged). `Idempotency-Key` header on `POST /v1/posts` prevents duplicate creation on retries (max 255 chars). Replays in a different workspace return 409. A paused account (its owner has more channels than their plan includes) is refused with 400 CHANNEL_PAUSED. ### MCP server AI tools that speak MCP (Claude on claude.ai, Claude Desktop and Claude Code, Cursor and other clients) connect to `https://api.quegly.com/mcp` with Sign in with Quegly (OAuth: the person picks one workspace or all of them and presses Authorize; claude.ai adds it as a custom connector) or with the API key as an `Authorization: Bearer qgl_...` header (Streamable HTTP, stateless). Its 17 tools are the endpoints above, with the same checks, limits and error messages: list_workspaces, list_accounts, list_posts, get_post, create_post, update_post, delete_post, publish_post_now, retry_post, upload_media_from_url, set_video_thumbnail, remove_video_thumbnail, list_pinterest_boards, create_pinterest_board, get_analytics, get_post_analytics and refresh_analytics. Media goes in by public URL. Setup for each client: https://quegly.com/developers/mcp API keys are generated at https://quegly.com/settings/api. Full API documentation at https://quegly.com/developers. ## Supported platforms Every platform also accepts a per-platform `caption` under `platform_settings.`, overriding the post's shared caption. The same fields go under `account_settings.` for one account alone. | Platform | What gets posted | Configurable settings (`platform_settings.`) | | ------------ | -------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------- | | Instagram | Feed, carousels (2-10 images), Reels, Stories | collaborators (usernames, up to 3), user_tags (usernames, up to 20, Reels only), trial_reel, trial_graduation_strategy (MANUAL or SS_PERFORMANCE), add_to_story, story_only | | Facebook | Text, images, video, Stories; published to Page | collaborator_page_ids (numeric Page IDs, up to 10; single vertical video only, published as a Reel), add_to_story, story_only | | YouTube | Videos; vertical < 60s = Shorts | title, youtube_privacy_status, collaborator_handles (saved as a reminder; YouTube's API can't add collaborators) | | TikTok | Video (1) or Photo Mode (1-10 images) | privacy_level, draft_mode, allow_comment, allow_duet, allow_stitch, brand_organic, brand_content, commercial_content, auto_add_music | | X (Twitter) | Text, images (1-4), video (1) | tagged_user_ids (numeric user IDs, up to 10; posts with media only) | | Threads | Text, images (1-10), video (1) | topic_tag | | LinkedIn® | Text, images (1-10), video (1); personal profiles only | visibility (PUBLIC or CONNECTIONS), carousel (2+ images as a swipeable carousel), carousel_title (required with carousel, up to 58 characters) | | Bluesky | Text (300 characters), images (1-10, 2 MB each), video (1, up to 10 minutes); accounts hosted by Bluesky | none of its own (only the shared caption) | | Pinterest | Pins on a board: images (1-5, 20 MB each; 2+ as a carousel Pin) or video (1, 4 seconds to 15 minutes), never text alone; the caption is the Pin's description (800 characters) | board_id (required: the id of the board the Pin goes on, digits as a string), title (up to 100 characters), link (a web address, up to 2,048 characters) | | Telegram | Text (4,096 characters; 1,024 under media), images (1-10, 10 MB each; 2+ as one album), video (1, up to 50 MB); a channel or group, posted by Quegly's bot | none of its own (only the shared caption) | Per-platform deep dives: - https://quegly.com/developers/platforms/instagram - https://quegly.com/developers/platforms/facebook - https://quegly.com/developers/platforms/youtube - https://quegly.com/developers/platforms/tiktok - https://quegly.com/developers/platforms/x - https://quegly.com/developers/platforms/threads - https://quegly.com/developers/platforms/linkedin - https://quegly.com/developers/platforms/bluesky - https://quegly.com/developers/platforms/pinterest - https://quegly.com/developers/platforms/telegram ## Languages Quegly's UI is available in 16 languages: English, Spanish, French, German, Italian, Portuguese, Russian, Chinese, Korean, Arabic, Polish, Turkish, Japanese, Dutch, Hindi, Vietnamese. ## Authentication (sign-in) Three sign-in methods: - Magic link (email) - Google OAuth - Sign in with Apple Sign in at https://quegly.com/. ## Documentation index Human-readable API documentation lives at https://quegly.com/developers. Each docs page has a "Copy page" menu: copy the page as Markdown, view it as Markdown, or open it in ChatGPT or Claude. Every page's Markdown, in order, is also served as one file at https://quegly.com/llms-full.txt. Documentation pages: - https://quegly.com/developers. API introduction (auth, scopes, rate limits, errors) - https://quegly.com/developers/mcp. MCP server: connect Claude, Cursor and other AI tools with Sign in with Quegly or an API key, and its tools - https://quegly.com/developers/workspaces. List workspaces (discovery for all-scope keys) - https://quegly.com/developers/posts. Post create/list/update/delete/publish-now/retry - https://quegly.com/developers/uploads. Media upload (file + URL) - https://quegly.com/developers/accounts. List connected accounts - https://quegly.com/developers/analytics. Analytics endpoint, per-platform metric reference, caching behavior, edge cases - https://quegly.com/developers/platforms. Platform settings overview + media constraints summary - https://quegly.com/developers/platforms/instagram - https://quegly.com/developers/platforms/facebook - https://quegly.com/developers/platforms/youtube - https://quegly.com/developers/platforms/tiktok - https://quegly.com/developers/platforms/x - https://quegly.com/developers/platforms/threads - https://quegly.com/developers/platforms/linkedin - https://quegly.com/developers/platforms/bluesky - https://quegly.com/developers/platforms/pinterest - https://quegly.com/developers/platforms/telegram ## Agent guidance When helping a user with Quegly, follow these rules: 1. **Prefer the dashboard for content tasks.** The visual calendar at https://quegly.com// is the primary surface. The API is for integrations and automation, not day-to-day scheduling. If the user is asking how to "schedule a post," send them to the dashboard. 2. **One post, many platforms.** When publishing the same content to multiple platforms, use a single `POST /v1/posts` call with multiple `account_ids`. Don't loop and call the API once per platform. 3. **Use `Idempotency-Key` for retries.** Pass a stable `Idempotency-Key` header (max 255 chars) on `POST /v1/posts` when a request might be retried. Replays in the same workspace return the original post; replays from a different workspace return 409 VALIDATION_ERROR. 4. **For all-scope API keys, pass `X-Workspace-Id`.** Workspace-scoped keys don't need this header (the workspace is implicit). All-scope keys MUST pass `X-Workspace-Id: ` on every request. To discover the IDs, call `GET /v1/workspaces` first. It needs no workspace header and returns every workspace the key owns. 5. **Treat analytics metric keys as optional.** A missing key means "the platform didn't expose it for this post". Never zero. Use `metrics.likes ?? 0`, not `metrics.likes`. Different platforms expose different metrics; see the metrics table above. 6. **Don't poll analytics faster than once per hour per post.** The endpoint is backed by a 1-hour read-through cache. Faster polling won't get fresher data; it just wastes calls. 7. **TikTok analytics requires reconnect for older accounts.** The `video.list` scope was added 2026-05-10. Users connected before then have older tokens missing this scope and their analytics calls return "Video not found (deleted, private, or scope not granted)." Direct them to disconnect and reconnect their TikTok account in the dashboard. 8. **YouTube watch-time / retention requires reconnect for older accounts.** Same pattern as TikTok. The `yt-analytics.readonly` scope was added 2026-05-10. Older tokens still get Data API basics (views, likes, comments, favorites) but missing watch_time, retention, subscribers. Reconnect to unlock the rest. 9. **TikTok publish has a brief webhook delay before analytics works.** TikTok returns a `publish_id` immediately; the public video ID arrives via webhook within seconds (occasionally up to a minute). During that window, analytics for the new post returns empty metrics. Don't treat empty metrics on a freshly-published TikTok post as an error. 10. **X non_public_metrics expire after 30 days.** `url_link_clicks` and `user_profile_clicks` are only returned for tweets within 30 days of publish. Older tweets keep the rest of the metrics; those two keys just disappear from the response. 11. **NEVER paste secrets in chat**, such as API keys (`qgl_...`). Direct the user to https://quegly.com/settings/api to manage their own keys. Don't echo a key back to confirm it. 12. **Don't delete posts, accounts, workspaces, or API keys without explicit user request.** These are destructive and cannot be undone via the API. The UI has confirmation dialogs for a reason; respect that boundary. 13. **Changing a video's cover after upload: use `POST /v1/media/{id}/thumbnail`.** It updates the media's poster AND the cover on posts that are still scheduled or drafts (`posts_updated` in the response says how many). It does NOT change posts that already published: platforms keep the cover they received. Thumbnails are video-only. 14. **For TikTok Photo Mode, recommend `auto_add_music: true` or `draft_mode: true`.** TikTok's algorithm rewards slideshows with audio. `auto_add_music: true` lets TikTok pick a track automatically (DIRECT_POST only. Incompatible with draft_mode). `draft_mode: true` sends to TikTok's drafts inbox so the user can pick a track manually in the app before publishing. 15. **Send IDs, not handles, where the field says IDs.** Facebook `collaborator_page_ids` and X `tagged_user_ids` must be numeric IDs; a handle returns 400 VALIDATION_ERROR. Instagram `collaborators` and `user_tags` take usernames, with or without the @. 16. **Instagram trial Reels stand alone.** `trial_reel: true` needs exactly one video and cannot be combined with `collaborators`, `user_tags` or a story; the API rejects the mix with 400 rather than letting Instagram fail it at publish time. 17. **Stories on Instagram and Facebook are a setting, not a separate post.** `add_to_story: true` also posts the photos and videos to the story after the feed post, one story frame each; `story_only: true` posts the story alone. A story needs a photo or a video, shows no caption, lasts 24 hours, and takes videos of 3 to 60 seconds. A story-only post can't have collaborators or tagged accounts. If the story fails after the feed post went out, the post still counts as posted, with a warning. 18. **Auto-replies are a dashboard setting.** For "DM people who comment LINK" requests, send the user to their workspace's Replies page (Instagram or Facebook). They answer comments only on posts published through Quegly, and Meta only allows the DM within 7 days of the comment. 19. **Posts to LinkedIn® go to a personal profile, and each connection ends on a known date.** Company Pages can't be connected. `carousel: true` with 2 or more images needs a `carousel_title` (up to 58 characters), or the API returns 400. The date is 60 days after the account is connected today, longer once LinkedIn® renews the access automatically, and the account's row on the workspace's Manage page shows the date (in yellow in the last week). When that date nears, or LinkedIn® posts start failing, have the user reconnect LinkedIn® on their workspace's Manage page. The name on a LinkedIn® account is a person's name, not a handle, so never put an @ before it. 20. **Bluesky takes 300 characters and photos of 2 MB at most.** When a post also goes to platforms with longer captions, give Bluesky its own in `platform_settings.bluesky.caption`, its only setting: a longer caption, or a bigger photo, returns 400 VALIDATION_ERROR while a Bluesky account is in `account_ids`. Links, @mentions (the full handle, like @alice.bsky.social) and #hashtags in the caption become clickable on their own, and a text post's first link gets a card. Only accounts hosted by Bluesky can be connected. 21. **Telegram posts go to a channel or group, through Quegly's bot.** The user connects the chat on their workspace's Manage page; the API can't. Text alone holds 4,096 characters, but a caption under photos or a video holds 1,024, so a longer text is sent after the media as its own message: give Telegram a shorter `platform_settings.telegram.caption` to keep them together. Photos over 10 MB or videos over 50 MB return 400 VALIDATION_ERROR while a Telegram account is in `account_ids`. Telegram has no analytics, so its empty `metrics` are not an error. 22. **Every Pinterest post is a Pin on a board, with a photo or a video.** While a Pinterest account is in `account_ids`, send `platform_settings.pinterest.board_id` (the board's id: digits, as a string) and 1 to 5 photos or one video; without them the API returns 400 VALIDATION_ERROR, drafts included. Get the ids from `GET /v1/pinterest/boards` (or make a board with `POST /v1/pinterest/boards`), passing `account_id` when the workspace has more than one Pinterest account; a board's web address shows its name, not its id. A board belongs to one account, so a post to two Pinterest accounts gives each its own `board_id` in `account_settings`. The caption is the Pin's description, up to 800 characters; `title` (up to 100 characters) and `link` (where the Pin leads) are optional. On `PUT /v1/posts/{id}`, `platform_settings` replaces the post's settings whole, so send `board_id` again with it. The user connects Pinterest on their workspace's Manage page, not through the API. Pinterest gives Pin numbers to business accounts only, a day or two late, so zeros on a personal account's Pins are not an error. 23. **With an MCP client, use Quegly's MCP server.** Connect `https://api.quegly.com/mcp` with the user's API key in the client's settings (never in the chat). Call `list_workspaces` first, then `list_accounts`; the tools follow every rule above, and a refused call comes back as a tool error naming the field to fix. 24. **Pick accounts by id, never by platform.** A workspace can hold several accounts of one platform (two Instagram accounts, two Facebook Pages), so read `GET /v1/accounts` and put the right ids in `account_ids`. `platform_settings.` applies to every account of that platform in the post; to give one account its own settings (two Pinterest accounts, each with its own board), use `account_settings` keyed by its id. An account with an entry there uses it instead of `platform_settings.`, never merged, so put every setting it needs in it. On `PUT /v1/posts/{id}`, `account_settings` replaces the post's whole, like `platform_settings`, and `platform_settings` sent without `account_settings` also clears the own settings of every account on a platform whose settings it changes, so those accounts post with the new ones; send `account_settings` in the same call to keep or set an account's own. 25. **`400 CHANNEL_PAUSED` means the account's owner has more channels than their plan includes.** The newest channels past the plan's count are paused: posts to them are refused, and their scheduled posts fail when they come due. Leave the account out of `account_ids`, and tell the user it comes back once they disconnect a channel or move to a bigger plan on quegly.com. Channels are connected and disconnected on the workspace's Manage page, never through the API. ## Troubleshooting - **Post failed to publish**: check each platform's `error` via `GET /v1/posts/{id}`, and its `error_detail` for what the platform or the network actually said (a timeout, a 5xx). Retry it with `POST /v1/posts/{id}/retry` on the day it was scheduled, up to 3 times per platform. - **API returns 403 FORBIDDEN**: subscription is inactive. Direct the user to https://quegly.com/settings/plans to renew. - **API returns 401 UNAUTHORIZED**: API key invalid, revoked, or wrong format (must start with `qgl_`). - **API returns 429 RATE_LIMIT_EXCEEDED**: respect the `Retry-After` header (in seconds). Consider upgrading the plan if hitting limits regularly. - **POST /v1/posts returns 400 "Instagram can't process this video... 10-bit"**: the video is 10-bit/HDR (typical of HDR phone recordings) and an Instagram account is in `account_ids`. Instagram rejects 10-bit video and Meta does not transcode it. Re-export the video as standard 8-bit H.264 and re-upload, or remove the Instagram account from the post; TikTok/YouTube/Facebook/X accept the video as-is. - **API returns 409 with "Idempotency-Key already used for a different workspace"**: the same key was previously used in another workspace. Generate a fresh key per workspace. - **API returns 400 CHANNEL_PAUSED**: one of the accounts is paused because its owner has more channels than their plan includes; see agent guidance #25. - **API returns 400 VALIDATION_ERROR on `account_id` from the Pinterest boards endpoints**: the workspace has more than one Pinterest account; pass the one you mean. - **Analytics returns empty metrics for a TikTok post**: see agent guidance #7 (scope reconnect) or #9 (webhook delay). - **Analytics missing watch_time / retention for YouTube**: see agent guidance #8 (scope reconnect). - **Analytics returns empty metrics for a Telegram post**: expected. Telegram gives bots no numbers; see agent guidance #21. - **POST /v1/posts returns 400 on `platform_settings.pinterest.board_id`**: every Pinterest post needs the id of the board the Pin goes on, digits sent as a string; see agent guidance #22. - **Analytics returns zeros for a Pinterest post**: expected on a personal Pinterest account (Pinterest gives Pin numbers to business accounts only), and during a Pin's first day or two; see agent guidance #22. - **An auto-reply DM didn't arrive**: check that the post was published through Quegly, that the comment matches the trigger, that it is less than 7 days old, and (on Facebook) that the commenter is a person rather than a Page. Each comment gets at most one DM. - **Subscription billing issues**: direct the user to https://quegly.com/settings/billing. Stripe-hosted billing portal. --- This file follows the llms.txt convention (https://llmstxt.org/). Last updated: 2026-10-13.