i have a external api using that i want to login wordpress

i have a external api using that i want to login wordpress