Skip to main content
PATCH
/
insight
/
{rec_id}
/
speaker_respondent
Toggle Speaker Respondent
curl --request PATCH \
  --url https://api.example.com/insight/{rec_id}/speaker_respondent \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "speaker": "<string>",
  "is_respondent": true
}
'
{
  "detail": [
    {
      "loc": [
        "<string>"
      ],
      "msg": "<string>",
      "type": "<string>"
    }
  ]
}

Authorizations

Authorization
string
header
required

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

Path Parameters

rec_id
string<uuid>
required

Query Parameters

version
integer | null

The version of the transcript

Body

application/json
speaker
string
required

Unique speaker identifier (e.g., 'Speaker_A')

is_respondent
boolean
required

New is_respondent value (True for respondent, False for host)

Response

Successful Response