# NewSpeaker

Adds a new speaker to a database of speakers.

Type: synchronous

Parameter | Description | Required
--- | --- | ---
`database` | The name of the database to add the speaker to. The database must already exist. | Yes
`identifier` | A unique identifier for the speaker (maximum 254 bytes). If you do not set this parameter, Media Server generates an identifier automatically. | No

## Example

The following example adds a speaker to the `news` database:

    /action=NewSpeaker&database=news

You can use the person's name as the identifier, but all identifiers must be unique within the database:

    /action=NewSpeaker&database=news&identifier=JohnSmith

## Response

The action returns the identifier assigned to the speaker:

    <autnresponse>
      <action>NEWSPEAKER</action>
      <response>SUCCESS</response>
      <responsedata>
        <identifier>a4a28eb52367f51057c9904807a9d564</identifier>
      </responsedata>
    </autnresponse>

## See Also

- After adding a speaker, add audio samples for the speaker with the action AddSpeakerAudio.
- If you haven't created a database for storing speakers, first run the action CreateSpeakerDatabase.

_FT_HTML5_bannerTitle.htm