so you got to be able to pull down the json from your api into bp, which my sample code does. once you can get the api json into botpress, you can manipulate it as you see fit. its just a basic js object at that point so you can access it like data['id_appareil']. Ask chatgpt for more help with the basic js stuff if you need.