This is not an issue with the API, you need to activate derivatives (FnO) in your trading account to check the process for segment Activation
You have to login to Kotak Neo Website or Kotak Neo App and submit the required documents for segment activation