Import file to data

Create a new data entry by importing a file from a publicly accessible URL. The data entry must be associated with a project via project_id. Supported file types include documents (PDF, DOCX), audio files (MP3, WAV, M4A), and video files (MP4, MOV).

If the imported file is audio or video, Dovetail will automatically queue it for transcription. The resulting transcript will be added to the data body once processing completes.

Optionally set created_at to backdate the entry and author_id to attribute it to a specific user.

Returns the newly created data object (without content).

Permissions

Please check you have the relevant permissions required to access this resource. This may include specific permissions on the object itself or its parent, or having the correct user role if you're making updates.

Supported URLs

Only publicly accessible URLs that link directly to a downloadable file are supported. If the URL does not include a file extension, you must provide the mime_type parameter so Dovetail can determine how to process the file.

Fields

Only existing and unique fields can be referenced. This endpoint will not create new fields, or attempt to differentiate between duplicate field labels.

Transcription notifications

When a transcription completes or fails, the account linked to the API token will receive a notification. You can manage notification preferences in notification settings.

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

Body

fields
array of objects

The data's fields.

fields
string

The nature and format of file want to import.

string
required

Unique identifier of the project that the data is associated with.

string
required

The data's title.

uri
required

Public url to the file that you want to import.

string

The creation date and time to associate with the file, in ISO 8601 format.

string

Unique identifier of the Dovetail user that the file is associated with.

Responses

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