Hello Mohan,
Please refer to the following post on how to programmatically apply replies to annotations using the SDK: