---
title: "Set up a managed account"
method: POST
path: "/api/managed-accounts/{id}/setup"
tags: ["Managed Accounts"]
---

# Set up a managed account

`POST /api/managed-accounts/{id}/setup`

## Request

- Base URL: `https://www.vidguy.ai`
- URL: `https://www.vidguy.ai/api/managed-accounts/{id}/setup`
- Auth: HTTP bearer

Only for accounts in `awaiting_setup`. The account then moves to `provisioning`.

## Path parameters

- `id` string, required

## Request body

- SetupManagedAccountRequest
  - `platform` 'tiktok' | 'instagram', required
  - `username` string, required
  - `name` string, required
  - `bio` string
  - `searchTerms` string[], required: Niche keywords.
  - `pfpUrl` string, uri, required: Public profile photo URL.
  - `gender` 'male' | 'female' | 'faceless'
  - `age` integer

## Response `200`

Saved.

- object
  - `ok` boolean, required
  - `account` ManagedAccount, required
    - `id` string, uuid, required
    - `status` 'awaiting_setup' | 'awaiting_provisioning' | 'provisioning' | 'warming_up' | 'active' | 'action_needed' | 'paused' | 'cancelled' | 'reserved', required: `reserved`: ended, but can be reactivated until `reservedUntil`.
    - `statusLabel` string, required
    - `sandbox` boolean, required: Simulated: no charges, goes live and publishes within minutes.
    - `needsSetup` boolean, required
    - `queueable` boolean, required: Can take a queued post now.
    - `postable` boolean, required
    - `platform` 'tiktok' | 'instagram' | 'null', nullable, required
    - `username` string, nullable, required
    - `name` string, nullable, required
    - `bio` string, nullable, required
    - `pfpUrl` string, nullable, required
    - `warming` object, nullable, required
    - `analytics` object, nullable, required
    - `posting` object, required
      - `earliestQueueDate` string, nullable, required
      - `dailyCap` integer, required
      - `creditsPerPost` integer, required
    - `cancelAt` string, nullable, required: Set once cancelled; the account stays live until then.
    - `reservedUntil` string, nullable, required: Cancelled with reserve: after `cancelAt` the account is kept (no posting, no billing) and can be reactivated until then. After it, the account is gone.
    - `createdAt` string, nullable, required

## Other responses

- `400`: Invalid request.
- `401`: Missing or invalid API key.
- `404`: Not found.
- `409`: Setup already complete.

---

[API](https://skmtc.dev/vidguy/apis/vidguy-snacks-api.md) · [All operations](https://skmtc.dev/vidguy/apis/vidguy-snacks-api/llms.txt) · [OpenAPI document](https://skmtc.dev/vidguy/apis/vidguy-snacks-api/revisions/ad6855539a1a?raw)
