Let $ABC$ be a triangle with $AB\ne AC$. Its incircle has center $I$ and touches the side $BC$ at point $D$. Line $AI$ intersects the circumcircle $\omega$ of triangle $ABC$ at $M$ and $DM$ intersects again $\omega$ at $P$. Prove that $\angle API= 90^o$.