Assign Speaker to Media

Assigns a reusable speaker profile to a media. With detected_speaker_id,
every turn by that detected speaker is attributed to the profile, and
assigning a second detected speaker to the same profile merges them.
Without it, the speaker is credited on the media without naming turns.

Naming a detected speaker requires the current speaker_data_version as
expected_version, and isn't available while the account has speaker
identification turned off.

Requires api token with one of the following permissions

Read, update & delete anything

Tokens with the "Act with a team member's permissions" permission
(all:delegate_to_contact_permissions scope) can also be used. Requests
made with such a token are authorized using the permissions of the
contact assigned to the token, who must be able to edit the media's
transcript and view the account's speaker profiles.

An expiring access token
created with the all:delegate_to_contact_permissions scope and an
authorization granting the edit-transcripts permission on this media can
also be used.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
string
required

The hashed ID of the media to assign the speaker to.

Body Params

The speaker profile to assign to the media and, optionally, the detected
speaker whose turns it should name.

string
required

The reusable speaker profile to assign, as returned by List Speakers. Look the person up there first; create a profile only when they aren't listed.

string

Only when the user identifies which voice is this person (e.g. "Speaker 1 is Annie"): that speaker's detected_speaker_id, such as default_speaker_0, from the media's diarized transcript segments. Every turn by that voice is attributed to the profile, and assigning a second detected speaker to the same profile merges them. Omit it to credit the person on the media without naming any turns; don't guess which voice is theirs.

integer

The media's current speaker_data_version from its diarized transcript segments. Required with detected_speaker_id; a stale value returns 409.

Headers
string
required
Defaults to 2026-11
Responses

Language
Credentials
Bearer
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json