Habmin and devices binding

Is it possible do a script that send thorugh http request the list of devices binding ?
Now when I would like to add a device I’ve to go to Habmin read the ids and after add them to configurations/…item