---
title: "get TTS from provider"
method: POST
path: "/Accounts/{AccountSid}/TtsCache/Synthesize"
tags: ["Speech"]
---

# get TTS from provider

`POST /Accounts/{AccountSid}/TtsCache/Synthesize`

## Request body

- object
  - `speech_credential_sid` string, required — Speech credential Sid
  - `text` string, required — the text to convert to audio
  - `language` string, required — language is used in text
  - `voice` string, required — voice ID
  - `encodingMp3` boolean — convert audio to mp3.

## Response `200`

Audio is created

## Other responses

- `400` — bad request
- `422` — unprocessable entity
- `500` — system error

---

[API](https://skmtc.net/jambonz/apis/jambonz-api.md) · [All operations](https://skmtc.net/jambonz/apis/jambonz-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/jambonz/jambonz-api/revisions/56f317145d23/schema)
