Apostile is mandatory in some US states like California. If the answer is 'Yes' for your case in any of the above-mentioned situations, then you need to get the Apostile for document attestation before going for Indian Embassy.