Imported from upload-post/upload-post-skill (
SKILL.md) via skills.sh. Install upstream withnpx skills add upload-post/upload-post-skill. Copyright stays with the author.
Upload-Post API
Post content to multiple social media platforms with a single API call.
Documentation
- Full API docs: https://docs.upload-post.com
- LLM-friendly: https://docs.upload-post.com/llms.txt (index) and https://docs.upload-post.com/llms-full.txt (everything)
- OpenAPI spec: https://docs.upload-post.com/openapi.json
- Error codes: https://docs.upload-post.com/api/error-codes
Setup
- Create account at upload-post.com
- Connect your social media accounts
- Create a Profile (e.g., "mybrand") - this links your connected accounts
- Generate an API Key from dashboard
- Use the profile name as
userparameter in API calls
Authentication
Authorization: Apikey YOUR_API_KEY
Base URL: https://api.upload-post.com/api
The user parameter in all endpoints refers to your profile name (not username), which determines which connected social accounts receive the content.
Endpoints Reference
| Endpoint | Method | Description |
|---|---|---|
/upload |
POST | Upload videos |
/upload_photos |
POST | Upload photos/carousels |
/upload_text |
POST | Text-only posts |
/upload_document |
POST | Upload documents (LinkedIn) or any file (Telegram) |
/uploadposts/status?request_id=X |
GET | Check async upload status |
/uploadposts/history |
GET | Upload history |
/uploadposts/schedule |
GET | List scheduled posts |
/uploadposts/schedule/<job_id> |
DELETE | Cancel scheduled post |
/uploadposts/schedule/<job_id> |
PATCH | Edit scheduled post |
/uploadposts/me |
GET | Validate API key; plan and analyze_shorts (limit, used, remaining, resets_at) |
/uploadposts/users |
GET / POST / DELETE | List, create ({"username": ...}; 409 "Username already in use") or delete profiles |
/uploadposts/analyze-shorts |
POST | AI title and captions for a short video (counts against analyze_shorts) |
/analytics/<profile> |
GET | Get analytics |
/uploadposts/facebook/pages |
GET | List Facebook pages |
/uploadposts/linkedin/pages |
GET | List LinkedIn pages |
/uploadposts/linkedin/resolve-organization |
GET | Resolve any LinkedIn company Page to {urn, name} for mentions |
/uploadposts/pinterest/boards |
GET | List Pinterest boards |
/uploadposts/post-analytics/<request_id> |
GET | Per-post metrics of an upload |
/uploadposts/comments |
GET | List comments of a post, or the replies under one comment |
/uploadposts/dms/send |
POST | Send an Instagram, Bluesky or WhatsApp DM (or a sender action) |
/uploadposts/dms/conversations |
GET | List Instagram, Bluesky or WhatsApp DM conversations |
/uploadposts/dms/templates |
GET / POST / DELETE | WhatsApp message templates (list, create, delete) |
/uploadposts/dms/media |
GET / POST | WhatsApp media: download a received file (media_id) / upload one to send |
/uploadposts/phone-numbers |
GET | Your Upload-Post phone numbers (/config, /countries, /available, /purchase, /kyc, /usage; per number /<id>, /sms, /messages, /calls, /codes, /voice, /whatsapp/prepare, /port-out, /remediate; KYC links /kyc/share) |
/uploadposts/autodms/rules |
GET / POST | List / create account-wide Instagram AutoDM rules |
/uploadposts/autodms/rules/pause · resume · delete |
POST | Manage a rule ({"rule_id": ...}) |
/uploadposts/users/notifications |
GET / POST | Webhook URL and events |
/uploadposts/webhooks/deliveries |
GET | Webhook delivery log (7 days) |
/uploadposts/webhooks/deliveries/<delivery_id> |
GET | One delivery, with its payload |
/uploadposts/webhooks/deliveries/<delivery_id>/redeliver |
POST | Send a delivery again |
/uploadposts/webhooks/subscriptions |
GET / POST | Extra webhook destinations with their own events (not generally available yet) |
/uploadposts/teams/roles · /teams/members · /teams/audit |
GET | Team roles, members and activity log |
/uploadposts/approvals |
GET | Posts waiting for approval (not generally available yet) |
/uploadposts/reddit/detailed-posts |
GET | Get Reddit posts with media |
/uploadposts/ffmpeg/jobs/upload |
POST | Start an FFmpeg job |
/uploadposts/ffmpeg/jobs/<job_id> |
GET | FFmpeg job status |
/uploadposts/ffmpeg/jobs/<job_id>/download |
GET | Download FFmpeg output |
/uploadposts/best-times?profile_username=&platform= |
GET | Best hours to post for a connected account |
/uploadposts/queue/settings |
GET / POST | Queue settings (slots: "auto" = best times) |
/uploadposts/queue/preview · /queue/next-slot |
GET | Upcoming slots / next free slot |
/uploadposts/posts/edit |
POST | Edit a live post (Facebook, LinkedIn, X, YouTube, Google Business, Telegram) |
/uploadposts/posts/repost |
POST | Repost (LinkedIn, X, Threads) or forward/copy (Telegram) |
/uploadposts/posts/unpublish |
POST | Delete a live post |
/uploadposts/telegram/* |
GET / POST / PATCH / DELETE | Telegram chat, members, invite links, topics, bot profile and commands |
/uploadposts/bluesky/* |
GET / POST | Bluesky profiles, search, notifications, profile/settings, drafts |
/uploadposts/google-business/* |
GET / PATCH | Google Business posts, reviews, gallery, performance, location info |
/uploadposts/youtube/* |
GET / POST / PATCH / PUT / DELETE | YouTube videos, quota, playlists, captions, comments, channel, search, live |
Upload Videos
curl -X POST "https://api.upload-post.com/api/upload" \
-H "Authorization: Apikey YOUR_KEY" \
-F "user=profile_name" \
-F "platform[]=instagram" \
-F "platform[]=tiktok" \
-F "video=@video.mp4" \
-F "title=My caption"
Key parameters:
user: Profile username (required)platform[]: Target platforms (required)video: Video file or URL (required)title: Caption/title (required)description: Extended descriptionscheduled_date: ISO-8601 date for schedulingtimezone: IANA timezone (e.g., "Europe/Madrid")async_upload: Settruefor background processingfirst_comment: Auto-post first comment
Upload Photos
curl -X POST "https://api.upload-post.com/api/upload_photos" \
-H "Authorization: Apikey YOUR_KEY" \
-F "user=profile_name" \
-F "platform[]=instagram" \
-F "photos[]=@photo1.jpg" \
-F "photos[]=@photo2.jpg" \
-F "title=My caption"
Instagram & Threads support mixed carousels (photos + videos in same post).
Bluesky takes 4 images per post (extra ones are dropped with a warnings entry). Send bluesky_gallery=true to publish up to 10 images as a gallery; with more than 10 the first 10 are published and warnings says so.
Upload Text
curl -X POST "https://api.upload-post.com/api/upload_text" \
-H "Authorization: Apikey YOUR_KEY" \
-H "Content-Type: application/json" \
-d '{
"user": "profile_name",
"platform": ["x", "threads", "bluesky"],
"title": "My text post"
}'
Supported: X, LinkedIn, Facebook, Threads, Reddit, Bluesky, Telegram, Google Business.
Paid partnership
paid_partnership=true (on /upload, /upload_photos, /upload_text) marks a sponsored post with each network's native label: TikTok brand_content_toggle, YouTube hasPaidProductPlacement, X paid_partnership. Facebook also needs facebook_sponsor_id (sponsor's Page id; not on Reels/Stories) and Pinterest pinterest_sponsor_id (closed beta). Other networks publish without it and warnings says so; a network-specific field always wins. TikTok: with privacy_level=SELF_ONLY the request is refused (400 commercial_disclosure_privacy_conflict), and drafts do not carry it. Guide: https://docs.upload-post.com/guides/paid-partnership
LinkedIn mentions
Write mentions in the LinkedIn post text (linkedin_title/title for text posts, linkedin_description/description for photos and videos):
@[Exact Page Name](urn:li:organization:ID): a company, showcase or school Page. The name must match the Page's name on LinkedIn exactly, capitals included, or LinkedIn publishes it as plain text.@[Name](urn:li:person:ID): a person. Only person ids Upload-Post itself sees work (a member who connected their LinkedIn, or theauthorof a comment from/uploadposts/comments); LinkedIn does not let apps look people up.@company-vanity: Upload-Post looks the Page up and fills in its exact name.
Write plain text (no backslashes): reserved characters are escaped for you. To get the URN and exact name of any Page from its URL:
curl -G "https://api.upload-post.com/api/uploadposts/linkedin/resolve-organization" \
-H "Authorization: Apikey YOUR_KEY" \
--data-urlencode "user=profile_name" \
--data-urlencode "url=https://www.linkedin.com/company/linkedin/"
# {"success": true, "urn": "urn:li:organization:1337", "id": "1337", "name": "LinkedIn",
# "vanity_name": "linkedin", "mention": "@[LinkedIn](urn:li:organization:1337)", "cached": false}
url also takes the vanity (linkedin or @linkedin), the numeric id or urn:li:organization:ID. Paste mention into the post as is. Cached Pages are free; live lookups count against 60 per hour per account. Errors: 400 linkedin_person_not_resolvable (a /in/ profile), 403 linkedin_permission_missing (reconnect LinkedIn approving the Page permissions), 404 organization_not_found, 429 rate_limited.
Upload Document (LinkedIn, Telegram)
Upload PDFs, PPTs, DOCs as native LinkedIn document posts (carousel viewer). Telegram accepts any file up to 50 MB here; telegram_send_as = document (default), audio, voice, animation, sticker, video_note, video or photo.
curl -X POST "https://api.upload-post.com/api/upload_document" \
-H "Authorization: Apikey YOUR_KEY" \
-F "user=profile_name" \
-F 'platform[]=linkedin' \
-F "document=@presentation.pdf" \
-F "title=Document Title" \
-F "description=Post text above document"
Parameters:
document: PDF, PPT, PPTX, DOC, DOCX (max 100MB, 300 pages)title: Document title (required)description: Post commentaryvisibility: PUBLIC, CONNECTIONS, LOGGED_IN, CONTAINERtarget_linkedin_page_id: Post to company page
Supported Platforms
| Platform | Videos | Photos | Text | Documents |
|---|---|---|---|---|
| TikTok | ✓ | ✓ | - | - |
| ✓ | ✓ | - | - | |
| YouTube | ✓ | - | - | - |
| ✓ | ✓ | ✓ | ✓ | |
| ✓ | ✓ | ✓ | - | |
| X (Twitter) | ✓ | ✓ | ✓ | - |
| Threads | ✓ | ✓ | ✓ | - |
| ✓ | ✓ | - | - | |
| - | ✓ | ✓ | - | |
| Bluesky | ✓ | ✓ | ✓ | - |
| Telegram | ✓ | ✓ | ✓ | ✓ |
| Google Business | ✓ | ✓ | ✓ | - |
Messaging only (not an /upload destination): WhatsApp, through the DM endpoints (platform=whatsapp); see Direct Messages.
Upload History
curl "https://api.upload-post.com/api/uploadposts/history?page=1&limit=20" \
-H "Authorization: Apikey YOUR_KEY"
Parameters:
page: Page number (default: 1)limit: 10, 20, 50, or 100 (default: 10)
Returns: upload timestamp, platform, success status, post URLs, errors.
Scheduling
Add scheduled_date parameter (ISO-8601):
{
"scheduled_date": "2026-02-01T10:00:00Z",
"timezone": "Europe/Madrid"
}
Response includes job_id. Manage with:
GET /uploadposts/schedule- List all scheduledDELETE /uploadposts/schedule/<job_id>- CancelPATCH /uploadposts/schedule/<job_id>- Edit (date, title, caption)
Best Time to Post and the Automatic Queue
curl "https://api.upload-post.com/api/uploadposts/best-times?profile_username=profile_name&platform=instagram&timezone=Europe/Madrid" \
-H "Authorization: Apikey YOUR_KEY"
- Platforms: TikTok, Instagram, Facebook, YouTube, LinkedIn, Threads, Pinterest, Bluesky. Optional
top(1-24, default 5),refresh=true(only if the cached answer is 24 h old; YouTube 7 days),page_urn(LinkedIn Page),facebook_page_id. - Answer:
best_times(best first, intimezone),by_hour,by_day,source(audience_activity,account_posts,upload_post_history,none),confidence,warnings. - Let the queue use them:
POST /api/uploadposts/queue/settingswith{"profile_username": "profile_name", "timezone": "Europe/Madrid", "slots": "auto", "auto_slots_count": 3, "auto_platforms": ["instagram", "tiktok"]}. Then upload withadd_to_queue=true. Posts already scheduled do not move; aslotsarray switches back to fixed slots.GET /queue/settingsshowsslots_mode,auto_slots,effective_slots, andconfigured: falsewhen the profile never saved a queue (the values are then defaults);GET /queue/preview?count=andGET /queue/next-slotshow what is coming.
Edit, Repost and Delete Live Posts
curl -X POST "https://api.upload-post.com/api/uploadposts/posts/edit" \
-H "Authorization: Apikey YOUR_KEY" -H "Content-Type: application/json" \
-d '{"platform": "telegram", "user": "profile_name", "post_id": "812", "text": "Fixed text"}'
- Edit: Facebook
message, LinkedIncommentary, Xtext(Premium, edit window), YouTubetitle/description/tags/privacyStatus/hasPaidProductPlacement, Google Businesssummary/cta_type/cta_url/event_*/offer_*(post_id=accounts/…/locations/…/localPosts/…), Telegramtext/caption,telegram_reply_markup,action=pin/unpin/stop_poll/edit_live_location/stop_live_location,telegram_media(replace the media; sendcaptionortelegram_remove_caption). - Repost: LinkedIn (
commentary), X, Threads; Telegram forwards or copies withmode(forward/copy),target_chat_idortarget_user(another profile),post_ids(1-100) orall_messages, and for a copycaption. - Unpublish (
platform,user,post_id): not Instagram, TikTok or Threads. Telegram:delete_all_messages=truedeletes every message of the post (album, caption rest, first comment); bots can delete for 48 h.
Check Upload Status
For async uploads or scheduled posts:
curl "https://api.upload-post.com/api/uploadposts/status?request_id=XXX" \
-H "Authorization: Apikey YOUR_KEY"
Or use job_id for scheduled posts.
Analytics
curl "https://api.upload-post.com/api/analytics/profile_name?platforms=instagram,tiktok" \
-H "Authorization: Apikey YOUR_KEY"
Supported: Instagram, TikTok, LinkedIn, Facebook, X, YouTube, Threads, Pinterest, Reddit, Bluesky, Telegram, Google Business.
Telegram returns followers (subscribers or members), reactions as engagement/likes and boosts_active (the Bot API has no views). Google Business daily metrics for any range: GET /api/uploadposts/google-business/performance?user=&location_id=&metrics=&start_date=&end_date=, search keywords: /google-business/performance/keywords?start_month=&end_month=.
Returns: followers, impressions, reach, profile views, time-series data.
Per-post metrics of an upload: GET /api/uploadposts/post-analytics/<request_id>?platform=tiktok. A TikTok draft (post_mode=MEDIA_UPLOAD) has metrics only after the creator publishes it as public from the TikTok app; until then post_metrics_error says it is still in the inbox. After 30 days without a post Upload-Post stops asking TikTok; read a published one with GET /api/uploadposts/post-analytics?platform_post_id=<id>&platform=tiktok&user=<profile>. TikTok rows carry original_publish_id, and post_url is empty when the account's @username is unknown.
Get Pages/Boards
# Facebook Pages
curl "https://api.upload-post.com/api/uploadposts/facebook/pages" \
-H "Authorization: Apikey YOUR_KEY"
# LinkedIn Pages
curl "https://api.upload-post.com/api/uploadposts/linkedin/pages" \
-H "Authorization: Apikey YOUR_KEY"
# Pinterest Boards
curl "https://api.upload-post.com/api/uploadposts/pinterest/boards" \
-H "Authorization: Apikey YOUR_KEY"
Reddit Detailed Posts
Get posts with full media info (images, galleries, videos):
curl "https://api.upload-post.com/api/uploadposts/reddit/detailed-posts?profile_username=myprofile" \
-H "Authorization: Apikey YOUR_KEY"
Returns up to 2000 posts with media URLs, dimensions, thumbnails.
FFmpeg Editor
Process media with custom FFmpeg commands:
curl -X POST "https://api.upload-post.com/api/uploadposts/ffmpeg/jobs/upload" \
-H "Authorization: Apikey YOUR_KEY" \
-F "file=@input.mp4" \
-F "full_command=ffmpeg -y -i {input} -c:v libx264 -crf 23 {output}" \
-F "output_extension=mp4"
- Use
{input}and{output}placeholders - Poll
GET /api/uploadposts/ffmpeg/jobs/<job_id>untilFINISHED(orERROR) - Download result from
GET /api/uploadposts/ffmpeg/jobs/<job_id>/download - Supports multiple inputs: upload
file,file1,file2... and reference them as{input0},{input1}, etc. - Rules (400 otherwise): every
-imust be{input}/{inputN}or a-f lavfisource; no URLs or protocols (http://,concat:,file:...) inside the command; endless inputs (-stream_loop -1,-loop 1, lavfi without duration) need-t/-shortest/-frames.
Quotas: Free 30min/mo, Basic 300min, Pro 1000min, Advanced 3000min, Business 10000min.
Comments and Replies
# Top-level comments of a post
curl "https://api.upload-post.com/api/uploadposts/comments?platform=instagram&user=profile_name&post_id=17890455123456789" \
-H "Authorization: Apikey YOUR_KEY"
# Replies under one comment: same call plus comment_id
curl "https://api.upload-post.com/api/uploadposts/comments?platform=instagram&user=profile_name&post_id=17890455123456789&comment_id=17858893269123456&limit=25" \
-H "Authorization: Apikey YOUR_KEY"
comment_id(replies) works on Instagram, Facebook, LinkedIn (company Pages only), TikTok, Threads and YouTube. X and Bluesky answer400 platform_not_supported.post_idis always required.- Instagram: numeric comment id. Facebook: the
{post}_{comment}id;post_idin{page_id}_{post_id}form picks the Page. LinkedIn: pass thecomment_urnfrom the listing (urn:li:comment:(urn:li:activity:…,…)); a bare id is only searched among the post's first 250 comments. - Paginate with
after=pagination.next_cursor(cursoris ignored here).limit1-50; LinkedIn's top-level listing ignores it. - Errors:
400 invalid_comment_id,404 comment_not_found(Instagram/Facebook),404 linkedin_comment_not_found,403 linkedin_personal_not_supported(personal profile),403 linkedin_page_access_denied(no longer Page admin: reconnect). A comment without replies is200withcomments: []. - Reply with
POST /api/uploadposts/comments/create(platform,user,comment_id,message, pluspost_idwhere needed).
Direct Messages (Instagram, Bluesky, WhatsApp)
curl -X POST "https://api.upload-post.com/api/uploadposts/dms/send" \
-H "Authorization: Apikey YOUR_KEY" \
-H "Content-Type: application/json" \
-d '{"platform": "bluesky", "user": "profile_name", "recipient_id": "alice.bsky.social", "message": "Thanks for the follow! https://example.com"}'
curl "https://api.upload-post.com/api/uploadposts/dms/conversations?platform=bluesky&user=profile_name&messages_limit=1" \
-H "Authorization: Apikey YOUR_KEY"
- Instagram:
recipient_idis the Instagram-scoped id (from conversations or thedm_receivedwebhook); the person must have written in the last 24 hours. Optionalbuttons(3),attachments,quick_replies,generic_template,reply_to,sender_action(typing_on,typing_off,mark_seen,react,unreactwithmessage_id). - Bluesky: needs an app password created with "Allow access to your direct messages" (Bluesky > Settings > Privacy and security > App passwords), else
403 bluesky_dm_scope_missing: reconnect Bluesky with a new one.recipient_idis a handle, DID or profile link, or passconversation_id(also for groups). Text up to 1,000 characters; links,#hashtagsand up to 10@mentionsbecome clickable. Share a post withattachments: {"type": "post", "url": "https://bsky.app/profile/<handle>/post/<id>"}(no images or files).reply_to, andsender_action:mark_seen/mark_read,react/unreact(message_id+ a single emoji inreaction),delete(for you),accept,mute,unmute,leave. Sender actions spend no DM quota. - Bluesky conversations:
participant_id(handle/DID),conversation_id+messages_cursor(older messages),status=request|accepted,read_state=unread. At most 25 per page; slow pages mark the restmessages_truncated: true. Messages carrydirection(in/out),reactions,reply_to. - Bluesky errors:
403 bluesky_recipient_unavailable(reason; no quota spent),404 bluesky_recipient_not_found/bluesky_conversation_not_found,400 bluesky_message_too_long,401 bluesky_reauth_required,429 bluesky_rate_limited,503 bluesky_edge_rate_limited(Retry-After).504 bluesky_send_unconfirmed(retryable: false): the DM may have gone out, read the conversation before sending again and never retry it automatically.
WhatsApp (platform: "whatsapp"): your own WhatsApp Business number, connected from the dashboard or the white-label connect page with Meta's Embedded Signup ("Continue with Facebook"; no API credential). Messaging only, never in /upload. Meta bills conversations to the customer's WhatsApp Business account.
curl -X POST "https://api.upload-post.com/api/uploadposts/dms/send" \
-H "Authorization: Apikey YOUR_KEY" \
-H "Content-Type: application/json" \
-d '{"platform": "whatsapp", "user": "profile_name", "recipient_id": "34600111222", "message": "Your order has shipped"}'
# Outside the 24-hour window: an approved template
curl -X POST "https://api.upload-post.com/api/uploadposts/dms/send" \
-H "Authorization: Apikey YOUR_KEY" \
-H "Content-Type: application/json" \
-d '{"platform": "whatsapp", "user": "profile_name", "recipient_id": "34600111222", "template": {"name": "order_update", "language": "en_US", "components": [{"type": "body", "parameters": [{"type": "text", "text": "Jane"}]}]}}'
recipient_idis the phone number in international format (7-15 digits;+and spaces accepted). Free text (up to 4096 characters),attachments(up to 10{type, url}or{type, media_id}:image,video,audio,document,sticker),reply_to(wamid),location,contacts, interactivebuttons(3) /list/cta_urlwithheader/footer,reaction({message_id, emoji},""removes it) andsender_actionmark_read/typing_on(withmessage_id) work only within 24 hours of the person's last message.- Outside the window only an approved
templategoes out (400 whatsapp_template_required, thendm_window_blockedfor free text until they write again). Templates:GET /dms/templates?platform=whatsapp&user=,POST{platform, user, name, category (UTILITY|MARKETING|AUTHENTICATION), language, body + examples | components}(startsPENDING),DELETE ?name=. - Conversations (
GET /dms/conversations?platform=whatsapp&user=): only messages since the number was connected, kept 90 days; each chat haswindow_open_until. Received media come asmedia_id: download withGET /dms/media?platform=whatsapp&user=&media_id=; upload a file to send withPOST /dms/media(multipartfile). - Errors:
400 whatsapp_not_connected,whatsapp_invalid_recipient,whatsapp_undeliverable,whatsapp_invalid_request,whatsapp_api_error;401 whatsapp_reauth_required(reconnect);429daily DM limit (shared with Instagram),dm_rate_limited,dm_send_in_progress;502 whatsapp_unreachable. Docs: https://docs.upload-post.com/api/whatsapp-dms
Phone Numbers (WhatsApp, SMS, calls)
Buy your own phone number inside Upload-Post and use it to connect WhatsApp, receive and send SMS, forward calls and take voicemail. Paid plans only (402 phone_numbers_paid_plan_required + upgrade_url on Free or trial). These numbers cannot call emergency services (112/911) and make no outbound calls. While phone numbers are not available for the account, every route answers 403 phone_numbers_not_available and GET /phone-numbers/config answers enabled: false.
# 1. Can this account buy? (also gives terms_version and terms_url)
curl "https://api.upload-post.com/api/uploadposts/phone-numbers/config" -H "Authorization: Apikey YOUR_KEY"
# 2. Countries with prices, then numbers on sale
curl "https://api.upload-post.com/api/uploadposts/phone-numbers/countries" -H "Authorization: Apikey YOUR_KEY"
curl "https://api.upload-post.com/api/uploadposts/phone-numbers/available?country=GB&number_type=mobile&limit=5" -H "Authorization: Apikey YOUR_KEY"
# 3. Buy (charged on the subscription first; idempotent on purchase_intent_id)
curl -X POST "https://api.upload-post.com/api/uploadposts/phone-numbers/purchase" \
-H "Authorization: Apikey YOUR_KEY" -H "Content-Type: application/json" \
-d '{"profile_username": "profile_name", "country": "GB", "number_type": "mobile", "phone_number": "+447700900123",
"purchase_intent_id": "buy-2026-11-28-001", "accept_terms": true, "terms_version": "2026-11-28",
"end_user": {"type": "business", "first_name": "Jane", "last_name": "Doe", "business_name": "Acme Ltd", "phone": "+447700900000",
"address": {"street_address": "1 High St", "locality": "London", "postal_code": "N1 1AA", "country_code": "GB"}}}'
- Price (varies by country and number type, never a fixed price): 1.5x our carrier's monthly cost for that country and type, rounded up to the next whole dollar, $3 to $30 per month (e.g. a $2.40 carrier cost → $3.60 → $4; $7.30 → $10.95 → $11; anything under $2 → $3; a number that would go over $30 is not offered). Read the real price per country and type in
GET /countries(monthly_cents) orGET /available(accounts billed in EUR or GBP pay the same amount in their currency,currencyin the responses; other currencies get409 phone_numbers_currency_unsupported), no setup fee, added to the account's subscription (prorated now; annual plans 12x). Usage goes on the next invoice: outbound SMS, forwarded minutes, recording and transcription at 2x carrier cost; inbound minutes at cost; inbound SMS free (GET /phone-numbers/usage?from=&to=). Over the daily usage limit, outbound SMS, forwarding and recording stop until midnight UTC (429 phone_usage_daily_cap). - Countries: US, GB, ES, FR, DE, IT, MX, BR; types
local,mobile,national(no toll-free). US/CA numbers receive SMS but cannot send yet (403 sms_registration_required); some numbers have no SMS (sms_not_supported).GET /countriessays per typeneeds_kyc,sms,sms_send. - Consumers: when
end_user.typeisindividual, also sendimmediate_start_consent: true(the person asks to start now, within the 14-day withdrawal period, and accepts that days already provided are paid and that the right is lost once the service is fully provided); without it400 immediate_start_consent_required(the error carriesconsent_text). Show that text to the person first. Withdrawal is handled by support. - Identity: every purchase sends
end_user(typeindividual|business,first_name,last_name,business_namefor a business,phonein E.164, optionalemail,addresswithstreet_address,locality,postal_code,country_code;GET /phone-numbers/kyc?country=&number_type=lists the fields). ES/DE/FR/IT need an address in that country. Where documents are required, the purchase answers202 status: kyc_required(nothing charged): send the same body plusvalues/documentstoPOST /phone-numbers/kyc(JSON, or multipart with the JSON indataand files asdocument_<requirement_id>). The number stayspending_regulatoryuntil approved. A202with statuspending_paymentmeans paid while the order with our carrier is still being confirmed: it becomesactiveorfailedwith the charge refunded within about 15 minutes; checkGET /phone-numbers/<id>and do not buy again (the samepurchase_intent_idreturns the same number). - Statuses:
pending_payment,pending_regulatory,active,regulatory_declined,failed,released,ported_out; plussuspended. Up tomax_numbers(from/config) per account (409 phone_numbers_limit_reached), one purchase per 10 minutes (409 purchase_velocity). Buying and identity documents need the account's API key (never a profile JWT); team members cannot buy, release or move numbers (403 phone_numbers_owner_only). - Connect WhatsApp with the number:
POST /phone-numbers/<id>/whatsapp/prepare({"language": "en"}), then connect WhatsApp from the dashboard (Meta's Embedded Signup), add the number and choose Phone call (not SMS) to get the code. For 30 minutes Upload-Post answers that call, records and transcribes it; the code shows in the dashboard and inGET /phone-numbers/<id>/codes(poll every few seconds; codes from SMS too, last 30 minutes). - SMS:
POST /phone-numbers/<id>/sms{"to": "+34600111222", "text": "..."}(up to 1600 characters, billed per part). Recipients who replied STOP are refused (409 recipient_opted_out); 10 per recipient per 24 h, 1 per second per number; spam, adult, gambling, drugs, crypto and loan content refused (422 sms_content_blocked). Read withGET /<id>/messages?limit=&before=. - Calls:
PATCH /phone-numbers/<id>/voice{forward_to: "tel:+E164" | null, voicemail_enabled, voicemail_greeting, recording_enabled, transcription_enabled, transcription_language}. Forwarding only to geographic/mobile numbers in the number's country or the end user's country; forwarded calls show the Upload-Post number. Voicemail always says the call is recorded and transcribed.GET /<id>/callsgives transcripts and a signed recording URL (1 hour). - Declined identity review: the payment is kept and the monthly charge paused (email +
phone_number_declined).GET /phone-numbers/<id>/remediateshows which requirements were rejected (needs_fix), the fields to send again and the reviewer's comments;POST /phone-numbers/<id>/remediatewith ONLY the correctedvalues,documentsand/orend_user(new address) resubmits it without charging again (back topending_regulatory,phone_number_kyc_resubmitted). If the number is gone:409 phone_number_unavailablewithkeeps_payment: true, sendphone_numberwith another one of the same country and type and no higher price.409 phone_number_remediation_in_progress= another correction is being sent;503 phone_numbers_capacity= try later, the payment is kept. Reply to the reviewer withPOST /<id>/remediate/reply{"text": "...", "attachments": [{"filename", "content_base64"}]}. The number showsdeclined_atandremediation_deadline_at(the last day to fix it). Not fixed within 30 days (or released) = cancelled, refunded and released. - Let your customers verify with a link (white label):
POST /phone-numbers/kyc/share{profile_username, country, number_type, phone_number?, redirect_url (https), language en|es|pt-BR, branding: {company_name, logo_url, brand_color}}returns a hosted pageurl(no login, single use, 7 days, up to 20 active). Your customer fills in their identity and documents and accepts the phone-number terms there; the number is bought on YOUR account (paid plan checked again when they submit) and they are sent toredirect_url?kyc=submitted&country=XX.GET /phone-numbers/kyc/sharelists links (active|used|expired|revoked,number_id),DELETE /phone-numbers/kyc/share/<link_id>revokes one (409 phone_kyc_link_usedonce used). - Release:
DELETE /phone-numbers/<id>?confirm=trueis final: WhatsApp on it stops and the number may be given to someone else later; the monthly charge stops. When the subscription ends, numbers are suspended and released after 7 days. To move it to another carrier:GET /<id>/port-out. - Webhooks (opt-in in
webhook_events):sms_received,call_received,voicemail_received,phone_number_activated,phone_number_declined,phone_number_released,phone_number_port_out,phone_number_kyc_comment(the reviewer wrote),phone_number_kyc_resubmitted(platform: "phone",account_id= number id). - Terms: https://docs.upload-post.com/resources/phone-number-terms. Docs: https://docs.upload-post.com/api/phone-numbers
AutoDM: Account-Wide Instagram Rules
One rule answers with a DM every comment on any post or reel of the Instagram account (present and future), plus story replies, story mentions and DMs with a keyword. Rules never expire, do not count towards the 2 per-post monitors per profile per day, and run from Meta webhooks only.
curl -X POST "https://api.upload-post.com/api/uploadposts/autodms/rules" \
-H "Authorization: Apikey YOUR_KEY" \
-H "Content-Type: application/json" \
-d '{
"profile_username": "profile_name",
"triggers": ["comment", "story_reply", "story_mention"],
"trigger_keywords": ["guide"],
"reply_message": "Here is your free guide!",
"buttons": [{"title": "Get the guide", "url": "https://example.com/guide"}],
"per_user_cooldown_hours": 24
}'
triggers:comment(default),story_reply,story_mention,dm_keyword(needstrigger_keywords). Keywords: up to 20, case- and accent-insensitive, not applied tostory_mention; blank keywords are a400.reply_message: max 1,000 characters (640 withbuttons, up to 3).per_user_cooldown_hours: whole number 0-720 (default 24); message triggers never go below 24 h (message_cooldown_hours).GET /api/uploadposts/autodms/rules[?profile_username=]:status(active,paused,reconnect_required,stopped+stop_reason,disabled),stats,pending,webhook(receiving_events,last_event_at,last_event_age_hours,hint).POST /api/uploadposts/autodms/rules/pause|resume|deletewith{"rule_id": "rule_..."}.- Limits: 10 rules per Instagram account; a post with its own monitor is answered by that monitor; 25 DMs per account every 15 minutes plus the plan's daily DM allowance; overflow is queued up to 24 h. Uncertain sends are never repeated (
stats.unknown_outcome). - Errors:
502 webhook_subscription_failed(reconnect Instagram),409 duplicate_rule/rule_limit_reached/rule_creation_in_progress/rule_stopped,503 account_rules_disabled.
Telegram (your own bot)
Publishing options (all optional, Bot API names with a telegram_ prefix, JSON options as the official object): telegram_title, telegram_parse_mode, telegram_reply_markup (URL buttons), telegram_pin / telegram_pin_notify, telegram_reply_to_message_id, telegram_message_thread_id, telegram_disable_notification, telegram_protect_content, telegram_first_comment_as_reply (default true). Text posts: one of telegram_poll, telegram_location, telegram_venue, telegram_contact, telegram_dice, or telegram_rich_message. Media: telegram_send_as (animation, video_note, live_photo, document), telegram_media_urls (album), telegram_caption_overflow=split, telegram_paid_star_count (paid media, Stars go to your channel/bot). An invalid option fails only the Telegram result (telegram_invalid_parameter). Reference: https://docs.upload-post.com/api/telegram
Management (user = profile; the bot needs the matching admin right): GET|PATCH /uploadposts/telegram/chat-info, GET /telegram/boosts, GET|POST /telegram/members (action: ban, unban, restrict, promote, demote, set_title), POST|PATCH|DELETE /telegram/invite-links, POST /telegram/join-requests, POST|PATCH|DELETE /telegram/topics, GET|PATCH /telegram/bot-profile, GET|POST|DELETE /telegram/bot-commands, GET /telegram/stars. Destructive calls need "confirm": true. DMs: POST /uploadposts/dms/send with platform=telegram and the person's numeric recipient_id (only people who started the bot).
- Incoming messages (opt-in per bot):
POST /uploadposts/telegram/updateswith{"user": "profile_name", "enabled": true}makes the bot send its updates to Upload-Post (GET /telegram/updates?user=shows the state and webhook health). Another service's webhook is only replaced withreplace_existing_webhook: true(409 telegram_webhook_in_useotherwise). Optionalforward_url(raw updates, signed with your webhook secret),business_chats,auto_answer_callbacks,extra_updates. Then private messages arrive asdm_receivedand every update, raw (button presses, inline and join queries, payments...), astelegram_update(both opt-in: list them inwebhook_events); read chats withGET /uploadposts/dms/conversations?platform=telegram&user=, download attachments withGET /uploadposts/dms/media, and answer buttons, inline, join, shipping or pre-checkout queries withPOST /telegram/answer(410 telegram_query_expiredwhen Telegram's time is up).enabled: falseremoves the webhook and the stored messages. - Stars and payments:
GET /telegram/stars,/stars/transactions;POST /telegram/invoicesand/invoice-links,/stars/refund,/stars/subscription; automatic pre-checkout rulesGET|PUT /telegram/payments/settings(need incoming updates on), failures in/payments/unanswered; giftsGET /telegram/gifts,/gifts/owned,/gifts/unique.POST /telegram/giftsand/gifts/premiumspend the bot's Stars: confirm with the user first. - Telegram Business (a Business account connected to the bot):
GET /telegram/business-connections,GET|PATCH /business-profile,POST|PATCH|DELETE /business-stories(+/repost),GET|POST /business-gifts,GET /business-stars,POST /business-stars/transfer. - Paid broadcast:
telegram_allow_paid_broadcast=truelets a post go above 30 messages per second for 0.1 Stars per message from the bot's balance. Telegram only allows it for bots with at least 100,000 Stars and 100,000 monthly active users; otherwise the Telegram result fails withtelegram_paid_broadcast_not_allowed: send it again without the option.
Bluesky Reads and Drafts
- Publishing extras:
bluesky_tags(up to 8 hidden hashtags),bluesky_created_at(import older posts),bluesky_thread_overflow=true(long text continues as replies),bluesky_gif_as_video, videobluesky_captions(WebVTT) andbluesky_video_presentation=gif. - Reads:
GET /uploadposts/bluesky/profile?actor=(up to 25; empty = connected account),/bluesky/search/posts?user=&q=(needsuser),/bluesky/search/actors?q=,/bluesky/followers,/bluesky/follows,/uploadposts/post-engagement?platform=bluesky&post_id=&type=likes|reposts|quotes,/bluesky/notifications?user=&reasons=,/bluesky/notifications/unread-count, read-only gateway/bluesky/xrpc/<nsid>(allow-listed public methods). - Account:
GET|POST /bluesky/profile/self,/bluesky/settings,/bluesky/preferences, post actionsPOST /uploadposts/posts/action(bookmark,pin, reply/quote settings). Drafts:GET|POST /bluesky/drafts,PATCH|DELETE /bluesky/drafts/<id>(text only; delete needsconfirm).
Google Business
- Publishing extras:
gbp_alert_type,gbp_upload_to_gallery,gbp_multi_media=true(up to 10 photos), recurring EVENT/OFFER posts (gbp_recurrence+_days/_day_of_month/_week_occurrence/_end),gbp_scheduled_time(Google's own scheduling). - Posts:
GET /uploadposts/google-business/posts?user=&location_id=,/posts/get?post_id=; edit with/posts/edit, delete with/posts/unpublish. - Reviews:
GET /google-business/reviews(order_by),/reviews/get?review_name=,/reviews/batch?location_ids=; replyPUT /reviews/reply. - Location:
GET /google-business/location-info,PATCH /location-infowithedit_modelegacy(default) orstrict(title, address, categories, open status;dry_run,confirm), plus gallery (/media), attributes, Place Actions, menus/services, lodging.location_idis optional (default: the location selected for the profile).
YouTube Management (after publishing)
Upload extras: youtube_localizations (translated title/description per language, JSON; needs defaultLanguage) and youtube_brand_partner (brand channel ID UC…). Everything below takes user (profile) and lives under /api/uploadposts/youtube.
- Videos:
GET /youtube/videos?ids=(orchart=mostPopular,my_rating=like),parts,include_owner_details. Thumbnail:POST /youtube/thumbnail(video_id+ file orthumbnail_url). Edit metadata withPOST /uploadposts/posts/edit(platform: youtube). - Playlists:
GET|POST /youtube/playlists,PATCH|DELETE /youtube/playlists/<id>, itemsGET|POST /playlists/<id>/items(video_id,position,note),PATCH|DELETE /playlists/<id>/items/<item_id>, image/playlists/<id>/image. - Captions:
GET /youtube/captions?video_id=,POST /youtube/captions(file orfile_url,language,name,is_draft),PUT|DELETE /captions/<id>,GET /captions/<id>/download?tfmt=srt|vtt…&tlang=. - Comments inbox:
GET /youtube/comments?video_id=orscope=channel(moderation_status=heldForReview|likelySpam,order,search),GET /comments/replies?parent_id=,POST /youtube/comments(text+parent_idto reply orvideo_id; optionalidempotency_key),PATCH|DELETE /comments/<id>,POST /comments/moderate(comment_idsup to 50,statuspublished/heldForReview/rejected,ban_author). - Channel:
GET|PATCH /youtube/channel(description,keywords,country,default_language,unsubscribed_trailer,localizations; settings and translations in separate calls; the channel name cannot be changed),GET /channel/lookup?for_handle=@…, banner, sections, watermark. - Search and catalogs:
GET /youtube/search(q,for_mine,channel_id,type,order…),/youtube/categories,/languages,/regions. Subscriptions, ratings, activities:/youtube/subscriptions,/videos/<id>/rate,/youtube/activities. - Live:
GET|POST /youtube/live/broadcasts(title,scheduled_start_time,privacy_status,create_stream),PATCH|DELETE /live/broadcasts/<id>,/bind,/transition(testing,live,complete),/cuepoint; streams/live/streams(the stream key is a secret: never print it). Chat:GET|POST /youtube/live/chat(broadcast_idorlive_chat_id; messages and polls only in your own broadcasts),/live/chat/polls/<id>/close,/live/moderators,/live/bans,/live/super-chats.
Daily allowance. These calls share a daily budget per Upload-Post account in YouTube quota units, reset at midnight Pacific: 2,000 units on paid plans, 200 on free (searches: 5 and 1 calls). Check it with GET /api/uploadposts/youtube/quota before a batch. Reads cost 1 unit (chat 5 per page); playlist and comment writes ~50; captions are the expensive part (list 50, upload 400, replace 450, download 200), so the free plan cannot upload or download captions (403 youtube_plan_daily_limit_too_low); moderators 50-200. Uploads have their own allowance and are never limited by this one.
Rules. Lists return items, next_page_token, page_info. On updates "" means no change; remove with null or *_remove. Destructive or hard-to-undo calls (delete playlist/item/caption/comment/section/broadcast/stream, reject comments, ban, remove a moderator, replace a watermark or image, go live or complete) need confirm: true, otherwise 400 confirmation_required and nothing reaches YouTube: ask the user first. 502 youtube_write_outcome_unknown means the write may have happened: read it back before retrying. Captions, moderators and bans need the full YouTube permission (403 youtube_insufficient_scope: reconnect the channel). Reference: https://docs.upload-post.com/api/youtube-videos
Webhooks
Configure with POST /api/uploadposts/users/notifications:
{"channels": {"webhook": true}, "webhook_url": "https://example.com/hook",
"webhook_events": {"upload_completed": true, "dm_received": true, "comment_received": true}}
Events: upload_completed, social_account_connected, social_account_disconnected, social_account_reauth_required, dm_received (Instagram, WhatsApp, Telegram; Bluesky checked every 5 minutes), comment_received, telegram_update, Google Business review_received, review_updated, customer_media_received, listing_google_update, listing_duplicate, listing_control_changed, post_analytics_updated, youtube_video_published, youtube_video_updated, the approval events post_approval_requested, post_approved, post_rejected, post_approval_expired, and the phone number events sms_received, call_received, voicemail_received, phone_number_activated, phone_number_declined, phone_number_released, phone_number_port_out, phone_number_kyc_comment, phone_number_kyc_resubmitted. Omitted or empty webhook_events = every event except the opt-in ones (dm_received, comment_received, telegram_update, the Google Business events, post_analytics_updated, YouTube, approval and phone number events), which only arrive if listed. Signed with HMAC-SHA256: X-Upload-Post-Signature: sha256=HMAC(webhook_secret, "{timestamp}.{raw_body}") with X-Upload-Post-Timestamp; the secret is notifications.webhook_secret from GET /uploadposts/users/notifications.
- At least once. A timeout (15 s total), connection error,
5xx,408or429is retried: 6 attempts over ~8.5 h (+1 min, +5 min, +30 min, +2 h, +6 h), same body and sameX-Upload-Post-Deliveryid (deduplicate by it);X-Upload-Post-Attemptis 1-6. Other4xxare final;3xxcounts as delivered (redirects are not followed). No ordering guarantee. - After 5 consecutive failures the webhook pauses 30 min; events during the pause are queued, not lost. Pending after 24 h =
failed. GET /api/uploadposts/webhooks/deliveries: filtersevent,status(pending,delivered,failed,cancelled),request_id,job_id,profile_username;limit1-100 (20),page1-50,include_payload=true. Kept 7 days.GET /api/uploadposts/webhooks/deliveries/<delivery_id>: one delivery withattemptsandpayload.POST /api/uploadposts/webhooks/deliveries/<delivery_id>/redeliver: new delivery now, same body, current URL, headerX-Upload-Post-Redelivery-Of.404unknown/expired,409(webhook_removed,event_unsubscribed,blocked_url).
Webhook subscriptions (not generally available yet: every route answers 503 webhook_subscriptions_disabled until it is switched on). Extra destinations besides the account webhook, each with its own events and optional profile_username (what the n8n trigger node uses):
POST /api/uploadposts/webhooks/subscriptions{"url": "https://...", "events": ["upload_completed"], "profile_username": "profile_name", "source": "my-app", "name": "..."}:201 created: true; the sameurl+events+profile_usernameis idempotent (200 created: false,reactivated: trueif it was disabled). PublichttpsURL only (400 invalid_url), unknown events400 invalid_events(+allowed_events), at most 10 active per account (409 subscription_limit_reached), team members cannot create them (403 team_member_forbidden).GET .../subscriptions?status=active|disabled&source=&url=,GET|DELETE .../subscriptions/<subscription_id>(404 not_found),POST .../subscriptions/<subscription_id>/test(optional{"event": ...}, one of its events;409 subscription_disabled). A subscription is disabled on its own after repeated failures (disabled_reason:endpoint_gone,failing_too_long,blocked_url,profile_removed); creating it again reactivates it.- Deliveries: same body and signature as the account webhook plus the header
X-Upload-Post-Subscription: <subscription_id>; history inGET /webhooks/deliveries?subscription_id=.
Team Roles and Post Approvals
Team members act on the owner's account with the header X-Act-As-User: <owner email>. Invitations, role changes and removals are done by the owner in the dashboard (Team page), not through the API. Roles are not generally available yet: while GET /teams/roles says enabled: false, every member works as an admin with every profile.
GET /api/uploadposts/teams/roles:enabled,approvals_enabled, the roles (owner,admin,editor,contributor,viewer) and their permissions, plusyour_roleandyour_profiles.GET /teams/members(each withroleandprofiles,null= all),GET /teams/shared-with-me,GET /teams/audit(owner and unrestricted admins; filtersactor,action,profile_username,target_id,since,until,limit1-200,cursor).- With roles on, an editor's upload answers
202withpending_approval: true,approval_id,approval_status: "pending_approval"andjob_id: null; a contributor's is saved as"draft"; a viewer only reads. Nothing is published or scheduled until a reviewer (owner or admin) approves. While approvals are off, editors and contributors cannot post (403 team_approvals_disabled). - Approval queue (not generally available yet:
503 post_approvals_disabled):GET /api/uploadposts/approvals(status,profile_username,author,limit,before;count_only=truereturns onlycounts),GET|PATCH|DELETE /approvals/<approval_id>(edit bumpsversion; delete withdraws),POST /approvals/<approval_id>/approvewith the reviewed{"version": N}(required:400 version_required,409 approval_version_changedwithcurrent_versionif someone edited it) plus optionalcomment,scheduled_date+timezoneorpublish_now: true;POST /approvals/<approval_id>/rejectwith{"comment": "..."}(required:400 comment_required). Closed items answer409 approval_closed. - End-client approval (with approvals on):
POST /uploadposts/users/generate-jwtwithclient_approval: truelets the client of that profile approve or reject its pending posts from the connect page (GET /approvals/client,POST /approvals/client/<approval_id>/approvewithversion,/rejectwithcomment; Bearer = that profile JWT). - Members limited to some profiles only see and post to those (
403 team_profile_forbidden); on Facebook and LinkedIn they can only use the Page pinned to their profile (403 team_page_not_pinneduntil the owner pins one,403 team_page_forbiddenfor another Page). A role without the permission gets403 team_role_forbidden. - Approval webhook events (opt-in):
post_approval_requested,post_approved,post_rejected,post_approval_expired, body{event, user_email, profile_username, approval: {...}, created_at}.
Platform-Specific Parameters
See references/platforms.md for detailed platform parameters.
Media Requirements
See references/requirements.md for format specs per platform.
Error Codes
| Code | Meaning |
|---|---|
| 400 | Bad request / missing params |
| 401 | Invalid API key |
403 TEAM_SEAT_SUSPENDED |
Team member acting with X-Act-As-User on an account whose plan no longer covers that seat. Access returns when the owner upgrades or frees a seat |
403 team_role_forbidden / team_profile_forbidden / team_page_not_pinned / team_page_forbidden |
Team member whose role, profiles or pinned Page do not allow that request (see Team Roles and Post Approvals) |
| 404 | Resource not found |
| 409 | Conflict, e.g. creating a profile whose username already exists ("Username already in use") |
| 429 | Rate limit / quota exceeded |
503 webhook_subscriptions_disabled / post_approvals_disabled |
Feature not generally available yet |
| 500 | Server error |
Notes
- Videos auto-switch to async if >59s processing time
- X long text creates threads unless
x_long_text_as_post=true - Facebook requires Page ID (personal profiles not supported by Meta)
- Instagram/Threads support mixed carousels (photos + videos)
- Instagram posts cannot be deleted through Upload-Post (Meta only allows it with Facebook Login; Upload-Post connects Instagram with Instagram Login). TikTok has no delete API either
- X edits: Premium only, inside X's edit window (
edit_controls.editable_untilis the real deadline); the post ID changes - Instagram
media_urlis missing for videos with licensed audio: fall back topermalinkorthumbnail_url - Telegram bots can delete messages for 48 h; Telegram has no views or channel statistics in the Bot API
