---
title: "Voice Token"
method: POST
path: "/voice/{thread_id}/token"
tags: ["Voice"]
deprecated: true
---

# Voice Token

`POST /voice/{thread_id}/token`

## Request

- Base URL: `https://api.puppeteerai.com`
- URL: `https://api.puppeteerai.com/voice/{thread_id}/token`
- Auth: none declared. Required headers: `Authorization`

> **Deprecated.**

Synchronous web-call token endpoint. Kept for legacy integrations.

Mirrors the preparation + duplicate-guard semantics of ``/voice/{thread_id}/web-call``,
but returns the Retell access token inline so existing consumers (dashboard,
Salesforce integration) keep working without a websocket.

## Path parameters

- `thread_id` string, nullable, required

## Headers

- `Authorization` string, required

## Request body

- VoiceTokenInput
  - `project_id` string, required: The UUID of the Puppeteer project.
  - `retell_account_id` string, nullable: The UUID of the Retell account to use. Required when the project has multiple phone numbers.

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/getpuppeteer/apis/puppeteer-core-api.md) - [All operations](https://skmtc.dev/getpuppeteer/apis/puppeteer-core-api/llms.txt) - [OpenAPI document](https://skmtc.dev/getpuppeteer/apis/puppeteer-core-api/revisions/94b4e928b42f?raw)
