Make your First API Request

Get started with ListenRobo and make your first request.


Make a request to the API

cURL

Run the following CURL command in your terminal. Be sure to replace the API_KEY with your own key.

curl \
  --request POST \
  --url 'https://api.listenrobo.com/v1/transcribe' \
  --header 'X-LISTENROBO-KEY: Token YOUR_LISTENROBO_API_KEY' \
  --header 'Content-Type: multipart/form-data' \
  --form file=@/path/to/file/audio.mp3 \

Request body

file

fileRequired

Audio or Video File, Supported file formats: mp3 , mp4 , mpeg , mpga , m4a , ogg , wav, or webm.


language

string

Defines the language for transcription output. Translates the transcript to your preferred language

Available Options
af,sq,am,ar,hy,as,az,eu,be,bn,bs,br,bg,ca,zh,hr,cs,da,nl,en,et,fi,fo,fr,gl,de,el,gu,ha,he,hi,hu,is,id,it,ja,jw,kn,kk,km,ko,lo,la,lv,ln,lt,lb,mk,mg,ms,ml,mt,mr,mi,ne,nn,fa,pl,pt,pa,ro,ru,sa,sr,sn,si,sk,sl,so,es,sw,sv,tl,tg,ta,tt,te,th,bo,tr,tk,uk,ur,uz,vi,cy,yi,yo

translate_to_english

booleanDefaults to False
Enables translation for this file.

summarization

booleanDefaults to False
Enable summarization for this file

summarization_type

stringDefaults to auto
Defines the type of summary
Available Options
autoparagraphsbullet_points

summarization_length

stringDefaults to auto
Defines the length of output.
Available Options
autoshortmediumlong

transcription_format

stringDefaults to json
Defines the output format.
Available Options
jsontextsrtvtt