To get the list of Instrument Token or Token please hit the ScripMaster API to get the scrip files. You will find the different tokens for different scrips there.
The following link will take you there: https://preferred.kotaksecurities.com/security/production/TradeApiInstruments_Cash_19_05_2023.txt
Please take note that the link above includes dates as their final characters (It is 25 May in the above links). To receive updated instrument tokens, please replace it with the date of today each day.