---
title: "POST /v1/audiences/{id}/generate-twins"
method: POST
path: "/v1/audiences/{id}/generate-twins"
tags: ["Audience"]
---

# POST /v1/audiences/{id}/generate-twins

`POST /v1/audiences/{id}/generate-twins`

## Request

- Base URL: `https://api.originalvoices.ai`
- URL: `https://api.originalvoices.ai/v1/audiences/{id}/generate-twins`
- Auth: HTTP bearer

Run twin generation on an existing pending audience row owned by your organization. Optional `size` (≤100) caps the audience and bills 1 answer per twin found, on success only; the balance must cover `size` answers upfront (402 otherwise). Retrying is safe: a completed audience returns its twins with `charged: 0`.

## Path parameters

- `id` string, uuid, required

## Request body

- object
  - `size` integer: Optional. Caps the audience at this many twins and bills 1 answer per twin found, on success only. The organization's balance must cover `size` answers upfront. Omit for an unsized, free build (up to 200 twins).

## Response `200`

Default Response

- object
  - `requestId` string, required
  - `data` object, required
    - `audienceId` string, uuid, required
    - `twinCount` number, required
    - `charged` integer, required: Answers billed by this call: the twin count of a sized build that this call completed, else 0 (unsized, already complete, or completed by a concurrent call).
  - `error` unknown, required

## Other responses

- `400`: Invalid request body
- `401`: Unauthorized - Missing or invalid API token
- `402`: Payment Required - Insufficient credits balance
- `403`: Forbidden - Organization lacks required permission
- `500`: Internal server error
- `503`: Service Unavailable - Service configuration issue (e.g. empty public-network registry)

## Changes

- **2026-11-02** `a7969ecd1b7e`: 2 info
  - added optional request body
  - added the required property `data/charged` to the response with the `200` status
- **2026-08-24** `6086e49ec8e8`: 1 info
  - api operation id `generateAudienceTwins` was added

[Operation history](https://skmtc.dev/originalvoices/apis/originalvoices-api/changes/v1/audiences/:id/generate-twins/post.md)

---

[API](https://skmtc.dev/originalvoices/apis/originalvoices-api.md) - [All operations](https://skmtc.dev/originalvoices/apis/originalvoices-api/llms.txt) - [OpenAPI document](https://skmtc.dev/originalvoices/apis/originalvoices-api/revisions/6b5f58588536?raw)
