API reference
Everything you can do in the dashboard, from a script or an AI agent like Claude.
Base URL https://profitphones.io/api/v1. Send Authorization: Bearer pfk_… on every request.
The API is part of the Full plan. On other plans requests return 402.
A key only sees the workspace it was made in and only does what its scopes allow. Team, billing and keys themselves are never reachable with a key.
Giving it to an AI? Point it at the plain text version.
Scopes
accounts:readSee accounts, clients and which phone each one is onaccounts:writeAdd, change, move and remove accounts; check a phone for accountsphones:readSee phones, their status, screenshots, notes and proxiesphones:controlTap, swipe, type and open apps on phones; rename phones; manage notes and proxiesposts:readSee posts and their resultsposts:writeCreate, schedule, change and cancel postslibrary:readSee and download Library fileslibrary:writeUpload, move and delete Library filesanalytics:readRead views, followers and best videosautomations:readSee auto-posting and warm-up plansautomations:writeSet up, pause, change and delete auto-posting and warm-up plans
Workspace
Who the key belongs to and what it may do.
/meThe workspace, plan and the scopes this key has.
/scopesEvery scope and what it allows.
/platformsPlatforms, the formats each takes, and whether Android phones and iPhones can post to it yet (android, iphone).
/summaryaccounts:readCounts at a glance: phones online, posts queued, posted today.
Accounts
A social account (platform + handle) that lives on one phone.
/accountsaccounts:readEvery account with its phone, status, followers and queue.
/accounts/detectedaccounts:readAccounts the phones report as logged in.
/accountsaccounts:writeAdd an account.
{ "platform": "instagram_reels", "handle": "brandname", "device_id": "s1:R8YL…", "client_id": 3 }/accounts/locateaccounts:writeFind which phone an account is logged in on (checks idle phones).
{ "platform": "instagram_reels", "handle": "brandname" }/accounts/:idaccounts:writeMove to another phone, pause, rename or set the client.
{ "device_id": "s1:…", "paused": true, "display_name": "…", "client_id": 3 }/accounts/:idaccounts:writeRemove an account. Its queued posts are removed too.
/devices/:id/checkaccounts:writeMake a phone read which accounts are logged in (and their followers and views).
/clientsaccounts:readClients (groups of accounts).
/clientsaccounts:writeAdd a client.
{ "name": "Acme" }/clients/:idaccounts:writeRemove a client.
Phones
Phones plugged into your computers. Control actions are skipped while a phone is posting.
/phonesphones:readPhones with online status and their accounts (simple list).
/devicesphones:readPhones with full detail.
/devices/:id/screenphones:readA screenshot of the phone (image).
/devices/:id/foundphones:readWhat the last account check found on this phone.
/devices/:id/notesphones:readPost-it notes on a phone.
/watchdogphones:readEvery phone's health in plain words, with a fix for each problem.
/appsphones:readApps you can open with /devices/:id/open.
/devices/:idphones:controlRename a phone or set its client.
{ "label": "Rack 1 · 04", "client_id": 3 }/devices/:id/tapphones:controlTap at a point, as fractions of the screen (0 to 1).
{ "fx": 0.5, "fy": 0.82 }/devices/:id/swipephones:controlSwipe between two points (fractions of the screen).
{ "fx1": 0.5, "fy1": 0.8, "fx2": 0.5, "fy2": 0.3, "ms": 300 }/devices/:id/textphones:controlType into the selected field.
{ "text": "hello" }/devices/:id/keyphones:controlPress back, home, recents or wake.
{ "key": "home" }/devices/:id/pressphones:controlPress a hardware key (volume, power and others).
{ "key": "volup" }/devices/:id/openphones:controlOpen an app.
{ "app": "instagram" }/devices-bulkphones:controlOpen an app or press a key on many phones at once.
{ "ids": ["s1:…"], "app": "instagram" }/devices/:id/notesphones:controlAdd a note to a phone.
{ "text": "Needs a new SIM" }/notes/:idphones:controlRemove a note.
/devices/:idphones:controlForget an unplugged phone.
/proxiesphones:readProxies and which account uses each.
/proxiesphones:controlAdd proxies, one per line.
{ "lines": "host:port:user:pass" }/proxies/:idphones:controlNote which account a proxy belongs to. The phones do not switch to it on their own yet; set the proxy on the phone itself.
{ "account_id": 12 }/proxies/checkphones:controlTest that the proxies answer.
/proxies/:idphones:controlRemove a proxy.
Posts
One video going to one account. Status: importing, queued, running, then posted, or failed / needs_review. format says what it posts as: "reel" (an Instagram Reel, a TikTok video or a YouTube Short) or "story" (Instagram only). A Story can carry a link, shown as a link sticker. A post waiting on something it can't fix itself (for example a phone type that can't post that platform yet) stays queued with the reason in error.
/postsposts:readPosts, newest first. Filters: status, account_id, external_id, updated_since, limit (max 500).
/posts/:idposts:readOne post.
/postsposts:writeSchedule a video. Send a file as multipart "video", or JSON with video_url (direct https file) or source_url (Instagram/TikTok/YouTube link). Pick the account by account_id or platform + handle. external_id makes retries safe (same id returns the existing post). format: reel (default), story or both (Instagram only; both makes a reel and a story from the same video, the story is returned under "also"). link: optional https link for the story sticker.
{ "account_id": 12, "video_url": "https://…/clip.mp4", "caption": "…", "scheduled_at": "2026-11-10T15:00:00Z", "mode": "publish", "format": "reel|story|both", "link": "https://yoursite.com", "external_id": "my-123" }/posts/:idposts:writeChange caption, time, format (reel or story) or story link, retry, or mark as posted.
{ "caption": "…", "scheduled_at": "…", "format": "story", "link": "https://…", "action": "retry" }/posts/:idposts:writeCancel a post that hasn't gone out.
/importposts:writeQueue many social links at once, spaced out.
{ "account_id": 12, "urls": "https://… https://…", "spacing_minutes": 60, "use_original_caption": true, "format": "reel|story|both", "link": "https://…" }/inboxposts:readLinks shared to the dashboard from the phones.
/inbox/clearposts:writeClear shared links.
{ "ids": [1, 2] }Library
Your stored videos and images, filed per account or Shared.
/librarylibrary:readFiles and the folder tree. Query: folder=all|shared|favorites|<account id>, kind=video|image, q.
/library/file/:idlibrary:readDownload a file.
/library/thumb/:idlibrary:readA file's thumbnail.
/librarylibrary:writeUpload files as multipart "files" (up to 200). Add account_id to file them under that account, or leave it out for Shared.
/librarylibrary:writeMove files to an account (or Shared with null), or favorite them.
{ "ids": [5, 6], "account_id": 12, "favorite": true }/librarylibrary:writeDelete files.
{ "ids": [5, 6] }/library/postposts:writeTurn Library videos into scheduled posts.
{ "ids": [5, 6], "account_id": 12, "start_at": "…", "spacing_minutes": 60, "caption": "…", "format": "reel|story|both", "link": "https://…" }Analytics
Read from the phones every hour.
/analyticsanalytics:readTotal views, followers, growth, daily series, per account numbers and best videos. Query: days=7|30|90.
Automations
Things that run by themselves. "live" on each one is the real state right now (for example phone_off when the phone is disconnected).
/autopostautomations:readAuto-posting rules with live status. Query: device_id to limit to one phone.
/autopost/:idautomations:readOne rule with its recent posts.
/autopostautomations:writeStart auto-posting the videos in each account's Library folder. One rule per account. format: reel (default), story or both (Instagram only; both posts every video as a reel and as a story). link: optional story link sticker.
{ "account_ids": [12], "per_day": 3, "hour_from": 9, "hour_to": 21, "timezone": "America/New_York", "caption_mode": "same|filename|none", "caption": "…", "use_shared": false, "mode": "publish", "format": "reel|story|both", "link": "https://yoursite.com" }/autopost/:idautomations:writePause, resume or change a rule (any field from POST, plus status).
{ "status": "paused", "per_day": 2, "format": "both" }/autopost/:idautomations:writeStop auto-posting. Videos stay in the Library.
/warmupautomations:readWarm-up plans with live status. Plans are saved and can be switched on, but the phones do not run warm-up sessions yet. They start once warm-up goes live.
/warmupautomations:writeCreate a warm-up plan.
{ "name": "…", "status": "active", "settings": { … }, "account_ids": [12] }/warmup/:idautomations:writeChange, pause or switch on a plan.
/warmup/:idautomations:writeDelete a plan.