Add source segment

Enterprise only. Add a new source segment to the transcript.

Path parameters

project_idstringRequired
Identifier of the dubbing project.

Headers

xi-api-keystringOptional

Request

This endpoint expects an object.
textstringRequired
The text of the new segment.
speaker_idstringRequired
Identifier of the segment's speaker.
start_sdoubleRequired
Start time of the segment, in seconds.
end_sdoubleRequired
End time of the segment, in seconds.

Response

Successful Response
segmentobject
The segment in its updated state.
revisioninteger

The project’s source-transcript revision after this edit.

Errors

422
Unprocessable Entity Error