How do i bring up contact lists?

Hey everyone, been looking through different API’s and trying to find something that will allow a user to invite friends to sign up. Much like the Square Cash app does. There are a number of apps that use this feature but cash was the first to spring to mind, I also like how it lets you see who in your contacts already uses the app

Is this done through an API or is it done through another method?