AddSpeakerMetadata
Adds custom metadata (a key-value pair) to a speaker.
Type: synchronous
Parameter | Description | Required |
---|---|---|
database
|
The name of the database that contains the speaker. | Yes |
identifier
|
The identifier of the speaker that you want to add metadata to. | Yes |
key
|
The key to add (maximum 254 bytes). | Yes |
value
|
The value to add (maximum 254 bytes). | Yes |
Example
The following example adds metadata to a speaker:
/action=AddSpeakerMetadata&database=news &identifier=JohnSmith &key=category &value=politicians
Response
<autnresponse> <action>ADDSPEAKERMETADATA</action> <response>SUCCESS</response> <responsedata></responsedata> </autnresponse>