---
name: vicevox
description: Use when a user wants you to post, reply, like, follow, message, read or search on their own social media accounts, or to add such an account, through ViceVox.
---

# ViceVox

ViceVox makes your user's social media accounts available to you. It keeps each account signed in, in a remote browser, and runs what a person can do there. The accounts of one person or brand form an identity and share one browser: one device fingerprint, one proxy or location, and their cookies.

Platforms: `x` (X), `instagram` (Instagram), `facebook` (Facebook), `linkedin` (LinkedIn), `tiktok` (TikTok), `threads` (Threads), `bluesky` (Bluesky), `reddit` (Reddit), `youtube` (YouTube), `pinterest` (Pinterest), `mastodon` (Mastodon), `telegram` (Telegram), `hackernews` (Hacker News), `twitch` (Twitch), `github` (GitHub), `devto` (DEV Community), `hashnode` (Hashnode).

## Hosts and auth

- API: https://api.vicevox.com. Send `Authorization: Bearer btk1_...`.
- MCP: https://mcp.vicevox.com/mcp, streamable HTTP. The client signs in with OAuth, or sends the same header.
- Web app: https://vicevox.com. The user creates API keys and subscribes there.

## Add an account

Find the workspace id first: `GET https://api.vicevox.com/v1/agency/workspaces` returns an array of workspaces, each with `id` and `name`.

`POST https://api.vicevox.com/v1/workspaces/{workspace_id}/accounts`

```json
{
  "platform": "x",
  "label": "Brand main",
  "connect": { "method": "browser" }
}
```

`connect.method`:
- `browser` (best): the answer has `sign_in_url`. Give it to the person who owns the account. They sign in in a live browser, and their password and codes stay out of your context.
- `password`: `username`, `password`, optional `totp_secret`. ViceVox answers 2FA codes itself. Use it only when the user gives you the login.
- `cookies`: `cookies`, a JSON array of cookie objects or a Netscape cookie file string.

Send an `Idempotency-Key` header. A retry with the same key and body makes no second account and uses no usage; it answers the first account, and a new `sign_in_url` while the sign-in is not finished.

Other fields:
- `instance`: Mastodon only, the server origin, such as `https://mastodon.social`.
- `identity_id`: optional. The account joins this identity. `409 identity_conflict` when it already has an account on this platform (on this server for Mastodon). Without it, the account gets a new identity.
- `proxy`: optional URL (`http`, `https`, `socks5`, `ss`, `vless`, `vmess`, `trojan`, `hysteria2`) or `null`. Only for a new identity: with `identity_id` it is a 422, because the identity's proxy or location applies. A host that is local or private is a 422.
- `location`: optional code from `GET /v1/locations`. Only for a new identity, not with `proxy`. Without a proxy the identity uses a location of the ViceVox network, and ViceVox picks one if you send none. See Locations.
- `label`: optional, at most 80 characters.

Answer `201`: `{ "account": {...}, "action": { "type": "connect", ... }, "sign_in_url": "..." }`. `sign_in_url` is present for `browser` and when a challenge appears. It opens a live browser for that one account for 30 minutes, without a ViceVox login. It stops earlier when it is revoked or when the account signs in through it. Give it to the person who owns the account.

Account statuses:
- `connecting`: ViceVox is signing in.
- `active`: Signed in and ready.
- `needs_input`: A sign-in challenge waits for an answer.
- `signed_out`: Cookies expired and no stored credentials could sign in again.
- `blocked`: The platform shows a checkpoint on the account.
- `error`: Something failed that ViceVox could not classify.

Account routes:
- `GET /v1/workspaces/{ws}/accounts?platform=&status=&limit=&cursor=`: list, newest first, `{ "accounts", "next_cursor" }`.
- `GET /v1/accounts/{id}`, `DELETE /v1/accounts/{id}`.
- `PATCH /v1/accounts/{id}`: `label`, `credentials` (`{username,password,totp_secret}` or `null`), `proxy` or `location` (change the account's identity, so all its accounts; the answer lists them in `proxy_account_ids`) or `identity_id` (moves the account; it signs in again, and with a stored login the answer has the queued `action`). Not `identity_id` with `proxy` or `location`.
- `POST /v1/accounts/{id}/connect`: sign in again, same `connect` body. Returns an action. Takes `Idempotency-Key`.
- `POST /v1/accounts/{id}/check`: is it still signed in? Returns an action.
- `POST /v1/accounts/{id}/sign-in-links`: a new link, `{ "id", "sign_in_url", "expires_at" }`.
- `GET /v1/accounts/{id}/sign-in-links`: the links that still work, with their last use. `DELETE /v1/sign-in-links/{id}` revokes one (`integrations_manage`).

Identity routes:
- `GET /v1/workspaces/{ws}/identities`: list, newest first. An identity: `id`, `name`, `account_ids`, `device`, `proxy`, `location`.
- `POST /v1/workspaces/{ws}/identities`: `{ "name": "Brand", "location": "us-nyc" }`, or `"proxy"` in place of `"location"`.
- `GET /v1/identities/{id}`, `PATCH /v1/identities/{id}` (`name`, `proxy` or `null`, `location`).
- `DELETE /v1/identities/{id}`: only with no account, else `409 identity_not_empty`.

Credentials are stored encrypted and never returned. The account shows `has_credentials`.

### Locations

Every identity uses its own proxy or a location of the ViceVox network. `GET /v1/locations` lists them: `{ "locations": [{ "code": "us-nyc", "country": "US", "city": "New York" }] }`. On an account or identity, `location` is `null` when it uses its own proxy, and `proxy.configured` is false when it uses a location. `proxy: null` puts it back on the network. A location is a data-center address that many identities share. Tell your user that a residential proxy of their own in the account's usual country keeps the account safer. Traffic on the network reaches only the social platforms ViceVox drives and what their pages need, plus the identity's own Mastodon servers.

## Run an action

`POST https://api.vicevox.com/v1/accounts/{id}/actions`

```json
{ "type": "post", "text": "Hello", "media": ["0199..."], "wait": 60 }
```

- Parameters sit at the top level, beside `type`.
- `wait`: seconds, max 120. Finished in time: `200`. Else `202`; poll `GET /v1/actions/{id}?wait=30`.
- Header `Idempotency-Key`: a retry with the same key does not run the action twice.
- The answer is an Action: `id`, `account_id`, `type`, `status`, `params`, `result`, `error`, `challenge`, `requested_by`, `created_at`, `started_at`, `finished_at`.
- `status`: `queued`, `running`, `needs_input`, `succeeded`, `failed`, `canceled`.
- Same action on 1 to 100 accounts: `POST /v1/workspaces/{ws}/actions` with `account_ids`. Answer: `{ "actions": [...] }`.
- History: `GET /v1/accounts/{id}/actions`, `GET /v1/workspaces/{ws}/actions` (`limit`, `cursor`, `status`, `type`, `since`, `until`; RFC 3339 times on `created_at`, `since` included, `until` not).
- Cancel a `queued` or `needs_input` action: `POST /v1/actions/{id}/cancel`.
- Media ids come from `POST /v1/workspaces/{ws}/media` (upload intent, PUT the file to `upload_url`, POST `finalize_url`).

## Actions

| type | parameters | does |
|---|---|---|
| `post` | `text`, `media[]`, `title`, `link`, `destination`, `visibility`, `thread[]`, `tags[]`, `made_for_kids`, `flair` | Publish a new post, with media, a title, a link, a destination or a thread. |
| `reply` | `target`, `text`, `media[]` | Reply to a post, by its URL. |
| `quote` | `target`, `text`, `media[]` | Share a post with your own text above it. |
| `delete_post` | `target` | Delete one of the account's own posts. |
| `repost` | `target` | Repost a post as it is. |
| `unrepost` | `target` | Remove a repost. |
| `like` | `target` | Like a post. |
| `unlike` | `target` | Remove a like. |
| `bookmark` | `target` | Save a post to the account's bookmarks. |
| `unbookmark` | `target` | Remove a saved post. |
| `follow` | `user` | Follow a person, by handle, profile URL or `id:{user_id}` where the platform takes one. |
| `unfollow` | `user` | Stop following a person. |
| `block` | `user` | Block a person. |
| `unblock` | `user` | Remove a block. |
| `mute` | `user` | Mute a person. |
| `unmute` | `user` | Remove a mute. |
| `report` | `user`, `target`, `reason` | Report a person or a post to the platform, with a reason. Done only when the platform confirms. |
| `send_message` | `to`, `text`, `media[]` | Send a direct message to a handle, a profile or an open conversation. |
| `list_conversations` | `limit` | Read the inbox: the latest conversations, newest first. |
| `read_conversation` | `conversation`, `limit` | Read the messages in one conversation. |
| `read_feed` | `feed`, `limit` | Read the home feed the platform picks, or only the accounts the account follows. |
| `read_notifications` | `limit` | Read the latest notifications. |
| `read_post` | `target`, `replies` | Read one post and its replies. |
| `read_profile` | `user`, `limit` | Read a profile and its latest posts. Without `user`, the account itself. |
| `read_reels` | `user`, `limit` | Read the reels stream the platform picks, or one person's reels with their plays. |
| `list_followers` | `user`, `limit` | List the people who follow a profile. |
| `list_following` | `user`, `limit` | List the people a profile follows. |
| `search` | `query`, `kind`, `limit` | Search posts or people. |
| `update_profile` | `display_name`, `bio`, `website`, `location`, `pronouns`, `avatar`, `banner` | Change the display name, bio, website, location, pronouns, avatar or banner, where the platform has them. |
| `browser` | `steps[]` | Run your own steps in the signed-in browser, for anything without a named action. |

Parameters:
- `target`: a post URL. `user`: a handle, a profile URL, or `id:{user_id}` on X, Bluesky, YouTube, LinkedIn and Hacker News (reads default to the account itself).
- `to`: a handle, profile URL, or conversation URL or id. `conversation`: a URL, id or handle.
- `limit`: default 20, max 100. `replies`: default 20. `kind`: `posts` or `people`.
- `feed` (`read_feed`): `for_you` (default) or `following` (X, Instagram, Bluesky, Mastodon, Twitch, GitHub, DEV Community).
- `reason` (`report`, with `user` or `target`): `spam`, `abuse`, `hate`, `violent_speech`, `impersonation`, `privacy`, `child_safety`, `self_harm`, `sensitive_media`, `other`.
- `media[]`, `avatar`, `banner`: media ids. `thread[]`: texts that continue the post, in order.
- `tags[]` (at most 30) and `made_for_kids` (default `false`): a YouTube video upload. `flair`: a Reddit community's post flair, by its template id or its text.
- `update_profile`: send only what the account lists in `profile_fields`. Another field is `422 unsupported`.
- `read_reels`: on Instagram and Twitch. On Twitch it reads clips, of `user` or of the account itself. On Instagram, without `user`, the stream Instagram picks. With `user`, that person's reels with their plays in `views`. On Instagram a post of one video is a reel, and a reel URL works as `target`.
- `title`, `link`, `destination` (subreddit, board, Page, group, channel or repository), `visibility`: where the platform has them. On GitHub a post opens an issue: `destination` is the repository (`owner/name` or its URL) and `title` (at most 256 characters) are required. On DEV Community and Hashnode a post is an article in Markdown with a required `title`: on DEV `destination` is up to 4 tags, on Hashnode the publication; `visibility` takes `draft` (and `unlisted` on Hashnode).

`result.type`: `created` (`url`, `id`), `done` (`changed`), `posts`, `post` (`item`, `replies`), `users`, `profile`, `conversations`, `messages`, `notifications`, `browser` (`steps`). Lists are in `items`. Fields the page does not show are `null`. People carry the platform's account id (`user_id`, `author_id`, `actor_id`), which stays after a rename.

### Browser steps

For anything without a named action:

```json
{ "type": "browser", "wait": 90, "steps": [
  { "op": "goto", "url": "https://x.com/settings" },
  { "op": "perceive" },
  { "op": "click", "node": "f1:42" },
  { "op": "click", "locator": { "role": "button", "name": "Save" } },
  { "op": "type", "text": "hello", "locator": { "role": "textbox" } },
  { "op": "press", "key": "enter" },
  { "op": "scroll", "dy": 800 },
  { "op": "wait", "ms": 1500 },
  { "op": "extract", "container": { "role": "article" }, "fields": [ { "key": "text", "locator": {}, "source": { "kind": "text" } } ] },
  { "op": "screenshot" }
] }
```

Result: `{ "type": "browser", "steps": [ { "op": "perceive", "ok": true, "perception": {...} }, { "op": "screenshot", "ok": true, "image_url": "..." } ] }`. The session stays warm for 2 minutes after a run.

## Challenges

When a sign-in needs a person, the action stops at `needs_input` with `challenge`: `kind`, `message`, `expires_at`, `sign_in_url`.

- `two_factor_code`: A code from an authenticator app.
- `email_code`: A code the platform sent by email.
- `sms_code`: A code the platform sent by text message.
- `device_approval`: Approve the sign-in on another device.
- `captcha`: A puzzle the platform shows to a new sign-in.
- `passcode`: A passcode only the owner knows, such as the X Chat passcode. The account stays signed in.
- `other`: Anything else the page asks for. The message says what.

Give your user `sign_in_url`, so the code stays with them, then read the action again. Only when they cannot open it, ask for the code and answer with `POST /v1/actions/{id}/answer` and `{ "answer": "123456" }`. `device_approval` and `captcha` usually need the live browser. Unanswered by `expires_at`: `challenge_timeout`.

## Errors

`error`: `{ "code": "...", "message": "..." }`.

- `signed_out`: The account is signed out and no stored credentials could sign it in again.
- `login_failed`: The platform refused the username, password or code.
- `account_blocked`: The platform shows a checkpoint or a suspension on the account.
- `rate_limited`: The platform asked the account to slow down. Try again later.
- `not_found`: The post, person or conversation does not exist or is not visible to the account.
- `unsupported`: This platform has no such action.
- `invalid_input`: A parameter is missing or has the wrong shape.
- `rejected`: The platform refused the action, for example a duplicate post.
- `ui_changed`: The page did not look the way the driver expects. We are told and fix it.
- `challenge_timeout`: A sign-in challenge was not answered before it expired.
- `browser_unavailable`: No browser could be started. It used no usage; try again.
- `browser_error`: The browser failed while running the action.
- `subscription_required`: The organization had no active subscription when the action started. Subscribe in Billing.
- `usage_limit`: The usage of this period was used up when the action started. Upgrade in Billing, or wait for the reset.
- `outcome_unknown`: The write may have taken effect. Check the account before you try again. The usage stays.

A refused request is `application/problem+json` with a `code` and creates no action:
- `402`: see Plans and usage. Do not retry it.
- `403 action_not_allowed`: the key's `allowedActions` does not name this type (`allowed_actions`).
- `409 idempotency_conflict`: the `Idempotency-Key` was used for another request.
- `410 link_expired`: the sign-in link no longer works (`state`).
- `422 channel_ceiling`: the organization has 400 accounts, the most it can hold.
- `429`: too many requests. Wait `Retry-After` seconds, then send the same request with the same `Idempotency-Key`.

## API keys and limits

- Send the key as `Authorization: Bearer btk1_...` or `X-API-Key`. `GET /v1/me` shows its scopes and workspaces.
- A key can be limited to some workspaces (`workspaceIds`), some action types (`allowedActions`: types plus `connect`, `check` and `live`; a sign-in link needs `live`) and a part of the plan's monthly usage each UTC day (`dailyUsagePercent`, 1 to 100; over it: `402 key_usage_limit`). Only a person in the web app sets them.
- One key may send 600 requests a minute, one network 300. Each answer to a key has `RateLimit-Limit`, `RateLimit-Remaining` and `RateLimit-Reset` (seconds). One organization may start 200 connects and queue 10 000 actions an hour.

## Plans and usage

ViceVox is a monthly subscription with a 7-day trial. Standard, Team, Pro and Ultimate all have every platform and action, the API, MCP, alerts and webhooks. Usage is a multiple of Standard.

- Standard (`standard`): USD 29 a month. Accounts 5, Identities 2, Members 1, Workspaces 1. Usage 1x.
- Team (`team`): USD 49 a month. Accounts 15, Identities 5, Members 5, Workspaces 3. Usage 2x. Approvals.
- Pro (`pro`): USD 99 a month. Accounts 50, Identities 20, Members 20, Workspaces 20. Usage 4x. Approvals, Client access and white-label reports.
- Ultimate (`ultimate`): USD 499 a month. Accounts 300, Identities 150, Members No limit, Workspaces No limit. Usage 20x. Approvals, Client access and white-label reports.

- `GET /v1/billing/plans`: the plans. Public.
- Actions, alert checks, live-browser minutes and scheduled posts use the usage of the plan. Reads and writes both count. A write or `browser` uses it when it starts running, and gives it back when it ends `failed` or `canceled`, except with `outcome_unknown`. Reads and `check` use it on success only. Each `connect` attempt uses it.
- `GET /v1/usage`, any key: `{ "plan": "team", "used_percent": 37, "state": "ok", "resets_at": "2026-12-23T10:00:00Z" }`. `state`: `ok` below 80, `high` from 80, `exhausted` at 100. `resets_at` is the end of the period. MCP: `get_usage`.
- An agent cannot pay. On a `402`, tell the person. They subscribe or change the plan in the web app at https://vicevox.com/app/billing, the `upgrade` URL of the error. The billing routes need a signed-in person: an API key gets `403`.

`402` codes (`application/problem+json`). Before ViceVox queues an action, it checks the first four in this order, and queues nothing when one applies:
- `subscription_required` (`upgrade`): subscription status is `none` or `canceled`.
- `over_plan_limit` (`limit`, `max`, `upgrade`): the organization holds more than its plan allows.
- `usage_limit` (`resets_at`, `upgrade`): the usage of the period is used up. A queued action that has not started fails with this `error.code`.
- `key_usage_limit` (`limit_percent`, `used_percent`, `resets_at`): the key's `dailyUsagePercent` is used up for today.
- `plan_limit` (`limit`, `max`, `upgrade`): a create past a limit of the plan (`accounts`, `identities`, `members`, `workspaces`).
- `plan_feature` (`feature`, `upgrade`): the plan does not have `approvals` or `client_access`.

## Alerts

An alert checks accounts on a schedule and records what is new as events. You read them with a long poll, or subscribe to them over MCP.

`POST https://api.vicevox.com/v1/workspaces/{ws}/alerts`

```json
{ "account_ids": ["0199..."], "events": ["like", "reply", "message"], "webhook": false, "interval_minutes": 30 }
```

- `events`: `like`, `repost`, `reply`, `mention`, `quote`, `follow`, `message`, `timeline_post`, `following_post`. `timeline_post` is a new post in the home feed (`read_feed` `for_you`) and `following_post` a new post of an account the user follows (`read_feed` `following`: X, Instagram, Bluesky, Mastodon, Twitch, GitHub and DEV Community). Each account must offer each event, else `422 unsupported` with `supported`. `GET /v1/platforms` lists `alert_events` per platform.
- `webhook`: `true` also sends each event as `alert.triggered` to the workspace's webhooks. Default `false`. `interval_minutes`: `10`, `30`, `60`, `180`.
- A check of one account uses usage when it succeeds. An account in more than one alert is checked once.
- The first check records what is there and gives no events.
- `pause_reason`: `user`, `usage_limit` (the usage is used up) or `subscription_required` (subscription status `none` or `canceled`). The last two resume by themselves, with a first check that records what is there, when usage is back or the organization subscribes. `PATCH /v1/alerts/{id}` with `{ "status": "active" }` cannot resume them before that.
- Long poll: `GET https://api.vicevox.com/v1/workspaces/{ws}/alert-events?after=<last_event_id>&wait=60`, or `GET /v1/alerts/{id}/events` for one alert. Oldest first. The answer comes when there are new events, else after up to `wait` seconds. Send its `last_event_id` as `after` in the next request, and you get each event once.
- Without `after` and `wait` the same routes list newest first, paged by `cursor` and `next_cursor`. Filters: `alert_id` (workspace route), `account_id`, `kind`, `limit`. Events are kept 90 days.
- `GET /v1/workspaces/{ws}/alerts`, `GET`/`PATCH`/`DELETE /v1/alerts/{id}`.

## MCP

https://mcp.vicevox.com/mcp. `tools/list` gives the live set and input schemas.

- Tools: each action `type`; accounts (`list_accounts`, `get_account`, `connect_account`, `update_account`, `get_sign_in_link`, `check_account`, `remove_account`, `list_platforms`, `list_workspaces`, `whoami`); identities (`list_identities`, `list_locations`, `create_identity`, `update_identity`, `delete_identity`); actions (`get_action`, `list_actions`, `answer_challenge`, `cancel_action`, `run_action`, `run_on_accounts` for 1 to 100 accounts); media (`upload_media`, `list_media`); alerts (`list_alerts`, `create_alert`, `update_alert`, `delete_alert`, `list_alert_events`, `wait_for_alert_events`); usage (`get_usage`); calendar and approvals; `send_feedback`.
- A session lists only the tools its token can call. `https://mcp.vicevox.com/mcp?tools=read` gives a read-only session.
- `connect_account` without a password or cookies gives a `sign_in_url`: use that first. `connect_account` and `update_account` take `identity_id`; they, `create_identity` and `update_identity` take `location`.
- Action tools wait 45 seconds by default (`wait`, 0 to 90). A running action comes back with its id for `get_action`. A tool result carries any challenge and its `sign_in_url`.
- `wait_for_alert_events` is the long poll: `workspace_id`, optional `alert_id`, `after`, `wait` up to 60.
- List tools take `limit` and `cursor` and return `next_cursor`. A result is at most 100 KB. `browser` screenshots come back as images.
- A tool call uses the same usage as the REST action.

To let a person approve before a post goes out, use `submit_for_review` (`content_id`, `policy_id`, optional `publish_at`). With `publish_at`, the post goes out at that time when the last reviewer approves it, with no second call. A key can be limited to some workspaces: `list_workspaces` shows only those.

Each alert is the resource `vicevox://alerts/{alert_id}/events`. After `resources/subscribe`, the session's `GET /mcp` stream gets `notifications/resources/updated` with that URI for each batch of new events; then read the resource.

## Feedback

When a user asks for something no action covers, or a result looks wrong, tell us: `POST /v1/feedback` or MCP `send_feedback`.

```json
{ "kind": "missing_capability", "message": "User asked to schedule a TikTok live; no action exists.",
  "context": { "tool": "post", "platform": "tiktok", "action_id": null } }
```

`kind`: `bug`, `missing_capability`, `improvement`, `other`.

## Docs

- Overview: https://vicevox.com/docs
- Quickstart: https://vicevox.com/docs/quickstart
- MCP server: https://vicevox.com/docs/mcp
- Accounts: https://vicevox.com/docs/accounts
- Sign-in links: https://vicevox.com/docs/sign-in-links
- Actions: https://vicevox.com/docs/actions
- Alerts: https://vicevox.com/docs/alerts
- API keys: https://vicevox.com/docs/api-keys
- Rate limits: https://vicevox.com/docs/rate-limits
- Errors and challenges: https://vicevox.com/docs/errors
- Plans and usage: https://vicevox.com/docs/usage
- Feedback: https://vicevox.com/docs/feedback
- All guides: https://vicevox.com/docs/guides
- Accounts with 2FA: https://vicevox.com/docs/guides/connect-an-account-with-2fa
- Accounts with cookies: https://vicevox.com/docs/guides/connect-an-account-with-cookies
- Client sign-in links: https://vicevox.com/docs/guides/let-a-client-connect-an-account
- A proxy per account: https://vicevox.com/docs/guides/use-a-proxy-for-each-account
- Fix a signed-out account: https://vicevox.com/docs/guides/fix-a-signed-out-account
- Post to many accounts: https://vicevox.com/docs/guides/post-to-many-accounts
- Post a thread: https://vicevox.com/docs/guides/post-a-thread
- Post to a community: https://vicevox.com/docs/guides/post-to-a-subreddit-group-or-channel
- Reply to comments: https://vicevox.com/docs/guides/reply-to-comments
- Monitor mentions: https://vicevox.com/docs/guides/monitor-mentions
- Direct messages: https://vicevox.com/docs/guides/read-and-send-direct-messages
- Browser steps: https://vicevox.com/docs/guides/run-browser-steps
- Retry safely: https://vicevox.com/docs/guides/retry-without-duplicates
- Index: https://vicevox.com/docs/llms.txt
