Skip to main content
The API needs nothing more than HTTPS. Three things to know:
  1. Authentication: Authorization: Bearer namu_sk_...
  2. Text in: a JSON body with Content-Type: application/json
  3. Audio in: a multipart/form-data body with the recording in a field named file, or the raw bytes as the body with options in the query string

curl

The raw request

What goes over the wire for a transcription, if your language has only a basic HTTP client:
The Content-Type of raw audio does not matter: the API reads the format from the bytes.

PHP

Many sites in the region run PHP. With cURL:

Generate a client from OpenAPI

The whole API is described in OpenAPI 3.1. Generate a typed client for Go, Java, Kotlin, Dart, C# or another language with OpenAPI Generator:
Or import the same file into Postman, Insomnia or Bruno to try every endpoint with your key.

openapi.yaml

Download the OpenAPI description.