Crimes committed in relation to drugs and substances are all cognisable in nature. This means that the police do not need a warrant from a Magistrate to make an arrest.
If the crime committed is for a small quantity or less than commercial quantity of drugs or substances, you can apply for bail directly from the police and the same will be granted to you. It may be contingent on furnishing a personal or other bond.
Crimes committed for a commercial quantity of drugs or substances are considered non-bailable under law. This does not mean that you will not get bail. You can apply in court and the same will depend on the judge’s discretion. You cannot ask for it as a matter of right.
For more information on bail and the laws on it, please read this.1