How to create Login API for my Ionic App?

What is API? and How I fix API for Ionic app?