# ImportSpeakerDatabase

Imports a speaker database that was exported using the action ExportSpeakerDatabase.

Type: asynchronous

Parameter | Description | Required
--- | --- | ---
`database` | The name to give to the imported database. | Yes
`dbdata` | The data to import. Files must be uploaded as multipart/form-data. For more information about sending data to Media Server, refer to the Media Server Administration Guide. | Set this or `dbpath`
`dbpath` | The path to the data file to import. Specify an absolute path, or a path relative to the Media Server executable file. | Set this or `dbdata`
`includemetadata` | A Boolean value (default true) that specifies whether to import custom metadata. | No

## Example

The following example imports a speaker database from the file `news.dat` in the current directory:

    curl http://host:14000/action=ImportSpeakerDatabase -F database=news -F dbdata=@news.dat

## Response

This action is asynchronous, so Media Server always returns success accompanied by a token. You can use this token with the QueueInfo action to retrieve the status of your request.

_FT_HTML5_bannerTitle.htm