adding active poll api method