Add new entity

POST https://api.chatbot.com/entities

Properties

PropertyTypeDescription
nameStringUser entity name.

String(1, 128)
entriesArray.<Object>An array of entries objects.

Array(1, 2000)

Request Body

{"name"=>"movies", "entries"=>[{"synonyms"=>[{"value"=>"Star Wars"}, {"value"=>"SW"}], "value"=>"Star Wars"}, {"synonyms"=>[{"value"=>"The Lord of the Rings"}, {"value"=>"LOTR"}, {"value"=>"The Fellowship of the Ring"}], "value"=>"The Lord of the Rings"}]}