Skip to content

Magento 2: Login as customer through rest api

I would like to know if its possible to get a customer token or login as a customer through the REST API in Magento 2?

I know there is a feature in admin to login as a customer, but the question is if this feature is also available from the REST API?

So basically, I have an admin user token. And with this token I would like to create a customer token.