Skip to content
ViceVox
MenuClose
DocumentationAccounts

Accounts

Add a social media account once. Your agent can then use it. Each account belongs to an identity, and the accounts of an identity share one browser profile, one device fingerprint, and one proxy or location. The platforms see a Mac, and the device never changes.

Connect methods

password
Username and password. Send the username, the password and, if the account uses an authenticator app, its secret. ViceVox answers 2FA codes itself. Fields: username, password, totp_secret (optional).
cookies
Cookies. Import cookies from a browser where the account is already signed in: a JSON array or a Netscape cookie file. Field: cookies.
browser
Sign in yourself. Open a live browser and sign in as you always do. Or send the one-time sign-in link to the person who owns the account. No fields. Use the sign_in_url in the answer.
oauth
Another account. Sign in with an account ViceVox holds already, as "Continue with GitHub" does. The new account joins that account's identity.

Add an account

POST/v1/workspaces/{workspace_id}/accounts

Body
{
  "platform": "x",
  "label": "Brand main",
  "instance": null,
  "connect": {
    "method": "password",
    "username": "acme_demo",
    "password": "your-password",
    "totp_secret": "JBSWY3DPEHPK3PXP"
  },
  "proxy": "http://user:pass@203.0.113.7:8000"
}
FieldRules
platformRequired. A platform id.
labelOptional, at most 80 characters. Default: the handle.
instanceMastodon only: the server origin, such as https://mastodon.social. Else null.
connect.methodpassword, cookies or browser. See Connect methods.
identity_idOptional. The account joins this identity. 409 identity_conflict when the identity already has an account on this platform (on this server for Mastodon). Without it, the account gets a new identity.
proxyOptional URL or null, only for a new identity: with identity_id it is a 422, because the identity's proxy or location applies. Schemes: http, https, socks5, ss, vless, vmess, trojan, hysteria2. The host must be public: localhost and a host that is or resolves to a loopback, private, link-local or other reserved address get 422 invalid_input. Without a proxy, the identity uses a location.
locationOptional, only for a new identity: a 422 with identity_id or proxy. A code from GET /v1/locations. Without it and without a proxy, ViceVox picks one. See Locations.
201 Created (trimmed)
{
  "account": { "id": "0199a1b2-...", "status": "connecting" },
  "action": { "id": "0199c3d4-...", "type": "connect", "status": "queued" },
  "sign_in_url": "https://vicevox.com/connect/bts_..."
}

sign_in_url is present for method: browser and when a challenge appears.

Send an Idempotency-Key header to make a retry safe. A repeat with the same key and body makes no second account and uses no usage. It answers 201 with the first account and its connect action, Idempotent-Replayed: true, and a new sign_in_url while the sign-in is not finished. The same key with another body is a 409 idempotency_conflict. ViceVox keeps the key for 24 hours.

Cookies

A Netscape cookie file goes in cookies as one string.

Body
{
  "platform": "instagram",
  "connect": {
    "method": "cookies",
    "cookies": [
      { "name": "sessionid", "value": "...", "domain": ".instagram.com", "path": "/" }
    ]
  }
}

Credentials

ViceVox stores passwords and 2FA secrets encrypted and never returns them. The account shows only has_credentials. With stored credentials, ViceVox signs in again when cookies expire.

A sign-in link opens a live browser for one account, for 30 minutes, without a ViceVox login. An agent can send it to the person who owns the account. To make, list and revoke links, see Sign-in links.

Account object

Account
{
  "id": "0199a1b2-...",
  "workspace_id": "0199...",
  "identity_id": "0199e5f6-...",
  "platform": "x",
  "label": "Brand main",
  "handle": "acme_demo",
  "display_name": "Acme Demo",
  "avatar_url": null,
  "status": "active",
  "status_reason": null,
  "device": "macos",
  "proxy": { "configured": true, "scheme": "http", "host": "203.0.113.7" },
  "location": null,
  "connect_methods": ["password", "cookies", "browser"],
  "has_credentials": true,
  "actions": ["post", "reply", "quote", "..."],
  "profile_fields": ["display_name", "bio", "website", "location", "avatar", "banner"],
  "last_checked_at": "2026-10-13T20:00:00Z",
  "created_at": "2026-10-13T19:00:00Z"
}

location is null when the identity uses its own proxy. proxy.configured is false when it uses a location. profile_fields lists what update_profile can change on this platform.

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.

Routes

RouteDoes
GET /v1/workspaces/{ws}/accountsList, newest first: { accounts, next_cursor }. Query: platform, status, limit, cursor.
GET /v1/accounts/{id}One account.
PATCH /v1/accounts/{id}Change label or credentials ({ username, password, totp_secret }, or null to forget). proxy and location change the account's identity; the answer lists its accounts in proxy_account_ids. identity_id moves the account: it signs in again, and with a stored login the answer has the queued action. Not with proxy or location.
DELETE /v1/accounts/{id}Delete the account and its cookies and site data. An identity left with no account is deleted too.
POST /v1/accounts/{id}/connectSign in again with the same connect body. Returns an action, and sign_in_url for method: browser. Takes Idempotency-Key. Each attempt uses usage.
POST /v1/accounts/{id}/checkReport whether the account is still signed in. Returns an action.
POST /v1/accounts/{id}/sign-in-linksA new sign-in link for 30 minutes: { id, sign_in_url, expires_at }.
GET /v1/accounts/{id}/sign-in-linksThe account's sign-in links that still work.
DELETE /v1/sign-in-links/{id}Revoke a sign-in link.
POST /v1/accounts/{id}/liveStart a live browser: { session_id, websocket_url }. Each minute uses usage.

Identities

An identity stands for one person or brand. Its accounts share one browser profile: one device fingerprint, one proxy or location, so one IP, and the cookies of all its accounts. It holds at most one account per platform (per server for Mastodon). An account added without identity_id gets an identity of its own. A moved account signs in again, because the platform sees a new device.

RouteDoes
GET /v1/workspaces/{ws}/identitiesList, newest first: { identities: [...] }.
POST /v1/workspaces/{ws}/identitiesname (1 to 80 characters), and an optional proxy or location.
GET /v1/identities/{id}One identity.
PATCH /v1/identities/{id}Change name, proxy (null puts it on the ViceVox network) or location. A location replaces a proxy. Every account of the identity uses the change from its next browser start.
DELETE /v1/identities/{id}Only an identity with no account. Else 409 identity_not_empty.
GET /v1/locationsThe locations of the ViceVox network.

Locations

Every identity uses its own proxy or a location of the ViceVox network. No browser uses the address of a ViceVox server. Send a code as location, or leave it out and ViceVox picks one. The proxy guide has the steps.

GET /v1/locations (trimmed)
{
  "locations": [
    { "code": "us-nyc", "country": "US", "city": "New York" },
    { "code": "de-fra", "country": "DE", "city": "Frankfurt" }
  ]
}
  • A location is a data-center address, and many identities can share it.
  • A residential proxy of your 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, such as their sign-in and captcha providers, plus the identity's own Mastodon servers. A live browser on the network cannot open other sites.

Platforms

PlatformIdNote
Xx
Instagraminstagram
Facebookfacebook
LinkedInlinkedin
TikToktiktok
Threadsthreads
Blueskybluesky
Redditreddit
YouTubeyoutubeYouTube signs in with the Google account that owns the channel.
Pinterestpinterest
MastodonmastodonSend the server origin in instance, such as https://mastodon.social.
TelegramtelegramTelegram signs in with a phone number and a login code. The code arrives as a challenge you answer.
Hacker NewshackernewsAfter failed sign-ins Hacker News can show a captcha. ViceVox solves it or asks you.
Twitchtwitch
GitHubgithubWithout a 2FA secret, the two-factor code arrives as a challenge you answer. An email code always does.
DEV CommunitydevtoSign in with the account's GitHub account, or with its email and password. A new account from GitHub follows no tags and no people.
HashnodehashnodeHashnode has no password. Sign in with the account's GitHub account, cookies or the live browser. A new account asks you for a username.