Register a separate source track

post/api/task-creations/{id}/takes/{takeId}/tracks

Request

  • Base URL
    https://www.toma.com
  • URL
    https://www.toma.com/api/task-creations/{id}/takes/{takeId}/tracks
  • Auth
    • HTTP bearer
    • or API key in cookie better-auth.session_token
    • or API key in header x-task-creation-token

Path parameters

idstring required
takeIdstring required

Request body

kind'screen' | 'camera' | 'microphone' | 'shared_audio' required
facing'user' | 'environment'
mimeType'video/webm' | 'video/mp4' | 'audio/webm' | 'audio/mp4' | 'audio/wav' | 'audio/pcm' | 'audio/x-pcm-f32le' required
offsetMsnumber
sampleRateinteger
channelsinteger

Response

Track id and nextSequence (zero).

idstring
nextSequenceinteger

Changes

No recorded changes to this operation across all 1 revision of this API.