POST
/
interactions
/
{id}
/
transcripts
curl --request POST \
  --url https://api.{environment}.corti.app/v2/interactions/{id}/transcripts/ \
  --header 'Content-Type: application/json' \
  --data '{
  "recordingId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "primaryLanguage": "<string>",
  "isDictation": true,
  "isMultichannel": true,
  "diarize": true,
  "participants": [
    {
      "channel": 123,
      "role": "doctor"
    }
  ],
  "modelName": "<string>"
}'
{
  "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "metadata": {
    "participantsRoles": [
      {
        "channel": 123,
        "role": "doctor"
      }
    ]
  },
  "transcripts": [
    {
      "channel": 123,
      "participant": 123,
      "speakerId": 123,
      "text": "<string>",
      "start": 123,
      "end": 123
    }
  ]
}

Headers

Tenant-Name
string

Identifies a distinct entity within Corti's multi-tenant system. Ensures correct routing and authentication of the request.

Example:

"copiloteu"

Path Parameters

id
string
required

The unique identifier of the interaction for which the transcript is created. Must be a valid UUID.

Body

application/json

Response

201
application/json
Returns the generated transcript, including participant roles and timestamps for each utterance.

The response is of type object.