If you send an invalid parameter (unsupported engine, format, or format/engine combination), the server responds with a JSON error and closes the connection.Documentation Index
Fetch the complete documentation index at: https://developers.telnyx.com/llms.txt
Use this file to discover all available pages before exploring further.
Error Response Format
Error Codes
| Code | Meaning |
|---|---|
40001 | Invalid input_format value |
40002 | Format not supported by the chosen engine |
40003 | sample_rate required but missing (raw encoding or Google with non-WAV/FLAC) |
40004 | sample_rate is not a valid positive integer |
40005 | Invalid sample rate for the codec (e.g., amr_nb only supports 8000) |
40006 | Format not supported by Flux model |
40007 | Invalid transcription_engine value |