# CreateObjectClass

Adds a new object class to an object class recognizer.

Type: synchronous

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

## Example

The following example adds a new object class named "car" to a recognizer named "vehicles":

    curl http://localhost:14000 -F action=CreateObjectClass
                                -F recognizer=vehicles
                                -F identifier=car

## Response

    <autnresponse xmlns:autn='http://schemas.autonomy.com/aci/'>
      <action>CREATEOBJECTCLASS</action>
      <response>SUCCESS</response>
      <responsedata>
        <identifier>car</identifier>
      </responsedata>
    </autnresponse>

_FT_HTML5_bannerTitle.htm