POST
/
v2
/
transcriptions
curl --request POST \
  --url https://api.rask.ai/v2/transcriptions \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "segments": [
    {
      "src": {
        "text": "<string>",
        "lang": "<string>"
      },
      "dst": {
        "text": "<string>",
        "lang": "<string>"
      },
      "speaker": "<string>",
      "start": "<string>",
      "end": "<string>"
    }
  ]
}'
{
  "segments": [
    {
      "src": {
        "text": "<string>",
        "lang": "<string>"
      },
      "dst": {
        "text": "<string>",
        "lang": "<string>"
      },
      "speaker": "<string>",
      "start": "<string>",
      "end": "<string>",
      "id": "<string>",
      "status": "processing"
    }
  ],
  "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
segments
object[]
required

List of segments. The segment source language must be defined without the dialect, for example en instead of en-us. See the list of source languages available.

Response

200
application/json
Created transcription
segments
object[]
required

List of segments

id
string
required

Transcription ID