How to upload a list of entities?

I have a long list of entities which basically are company’s clients. There is nearly a 1000 of them. I would like to create a new intent to store them, but there is no option to bulk upload / import a list, it can only be done one by one which would obviously take ages. Is there any other way to do it rather than manually?

Code Editor

You can do a copy & paste from a code editor into the intents list

It will do a bulk add


Curl could be used to create a list of intents and add utterances to it

for i in {1..100}; 
  do curl 'http://localhost:3001/api/v1/bots/talk/nlu/intents' \
  -H 'Accept: application/json, text/plain, */*' \
  -H 'Authorization: Bearer <BEARER_TOKEN>' \
  --data-raw '{"name":"intents'"$i"'","utterances":{"en":["a","b","c","d","e","f","g","h","i","j","k"]},"slots":[],"contexts":["global"]}'; 

Thanks for your message. I was actually talking about entity occurences, not intents. When I copy and paste it stores them as synonyms rather than separate entities.

For this type of action. The inspect console is the place to check.

Inspect Console

Right Click anywhere on the page

From the network tab, search for the entity name. The request can be copied as Curl (right click).


From the inspect console. I copy the request as curl

curl 'http://localhost:3001/api/v1/bots/weather/nlu/entities/company-name' \
-H 'Accept: application/json, text/plain, */*'  \
-H 'Authorization: Bearer <your_bearer_token>' \
--data @entity-list.json

I created a file name entity-list.json. It’s easier to create big requests.

  "id": "company-name",
  "name": "company name",
  "type": "list",
  "occurrences": [
      "name": "amazon",
      "synonyms": []
      "name": "facebook",
      "synonyms": []
      "name": "microsoft",
      "synonyms": []
      "name": "google",
      "synonyms": []
      "name": "KPGN",
      "synonyms": []
  "sensitive": false,
  "fuzzy": 0.8,
  "examples": [],
  "pattern": "",
  "label": " name"

Thanks @Daehli, thats very heplful.