Skip to navigation

Get Transcript Async

Preview
View as Markdown

Asynchronous transcript generation for audio and video files.

Supported audio formats: .aac, .aif, .aiff, .flac, .m4a, .m4r, .mp3, .oga, .ogg, .wav, .wma. Supported video formats: .3gp, .3gpp, .3gpp2, .asf, .avi, .dv, .flv, .m2t, .m2ts, .m4v, .mkv, .mov, .mp4, .mpeg, .mpg, .mts, .mxf, .oggtheora, .ogv, .rm, .ts, .vob, .webm, .wmv. Files in other formats fail with ContentApiV2Error.user_error.

Size limits: the source file must be at most 10 GB and its audio track at most 1 hour in duration. Files exceeding either limit fail with ContentApiV2Error.user_error.

The transcript is not returned by this route. Poll get_transcript_async/check with the returned async job ID until it reports GetTranscriptAsyncCheckResult.complete or GetTranscriptAsyncCheckResult.failed.

Required scope: files.content.read

Endpoint format: RPC

Authentication: App, User

This endpoint does not support apps with the app folder permission.

Authentication

AuthorizationBearer

App-level OAuth 2.0 token (no user context). Use Authorization: Bearer <token>.

Obtain by calling the token endpoint with grant_type=client_credentials.

Only available on endpoints that declare app auth support.

OR
AuthorizationBearer

OAuth 2.0 token issued to a specific user. Use Authorization: Bearer <token>.

Public clients should use the authorization code flow with PKCE (S256).

For background or offline access, send token_access_type=offline during authorization and use the returned refresh token to obtain new access tokens.

You can generate a short-lived access token in the Developer Console; see Testing with a generated token.

Headers

Dropbox-API-Select-UserstringOptional

Acts on behalf of a team member for supported user-auth operations. Pass a team member ID such as dbmid:.... When used with a team token, that token must also include the team_data.member scope.

Dropbox-API-Path-RootstringOptional

Scopes path-based operations to a namespace (root). The value is a JSON serialization of the common.PathRoot union: {".tag": "home"}, {".tag": "root", "root": "<namespace_id>"}, or {".tag": "namespace_id", "namespace_id": "<namespace_id>"}. On failure the request returns 422 with a common.PathRootError.

Request

This endpoint expects a nullable object.
audio_languagestringOptionalDefaults to

Hint for the spoken language of the source audio, as an ISO 639-1 code (e.g. “en”, “ja”). When empty, the service auto-detects the language; supplying a hint improves accuracy and latency for short or ambiguous clips. Languages the service does not support fall back to auto-detection.

file_id_or_urlobject or nullOptional

Identifier of the media asset to transcribe. Callers must set exactly one of the FileIdOrUrl variants. The referenced asset must be an audio or video file in a supported format (see the route description for the list); requests against files with no audio track fail with ContentApiV2Error.no_audio_error.

Variant:
riviera_api_v2.FileIdOrUrl.file_idobjectRequired

A Dropbox-issued file ID for a file the authenticated user has access to, e.g. “id:a4ayc_80_OEAAAAAAAAAYa”.

included_special_wordsstringOptionalDefaults to

Comma-delimited list of non-lexical filler words to preserve in the transcript output, e.g. "uh, ah, uhm". By default these fillers are stripped. Unrecognized tokens are ignored. Leave empty to use the default filtering behavior.

timestamp_levelobjectOptional

Granularity of the time offsets returned for each transcript segment. Defaults to TimestampLevel.sentence when the field is omitted.

Response headers

X-Dropbox-Request-IdstringOptional
A unique identifier for the request, useful for debugging and support.

Response

Successful response
Variant:
async_common.LaunchResultBase.async_job_idobject
This response indicates that the processing is asynchronous. The string is an id that can be used to obtain the status of the asynchronous job.

Errors

401
Unauthorized Error
403
Forbidden Error
429
Too Many Requests Error
500
Internal Server Error