In this blog, we will call rest api for get customer list in magento2.
First we need to generate admin token to get customer.
You can refer blog for generate admin token
https://www.magedad.com/magento-2-how-to-generate-admin-token-using-rest-api/
Rest API endpoint = https://domain.test/rest/V1/customers/search
Method = GET
Content type = Content-Type:application/json
Header = Authorization: Bearer xxxx_token_xxxx
Params =searchCriteria[sortOrders][0][field]=entity_id
searchCriteria[sortOrders][0][direction]=asc
Example:
The following image shows a get customer list using a REST client.

I hope this blog is useful to get customer list using Rest API. In case, I missed anything or need to add some more information, Don’t heisted to leave a comment in this blog, I’ll get back with some positive approach.
Keep liking 👍 Keep sharing 📣 Keep loving ❤️ Keep inspiring 🤩
9 Comments
if you are looking whatsapp bulk message sender , web scraper, social leads extractor for free with original license for 1 year. join our telegram channel by clicking my name.
If you want to get whatsapp Bulk sender For Free , Join our telegram Channel to get 1 year free license. in our channel there has many more premium tools for completely free.
https://www.nothingbuthemp.net/blogs/news/new-louisiana-law-prohibits-thc-a-flower-and-the-sale-of-intoxicating-hemp-derivatives-at-gas-stations
Your article helped me a lot, is there any more related content? Thanks!
Can you be more specific about the content of your article? After reading it, I still have some doubts. Hope you can help me.
Your point of view caught my eye and was very interesting. Thanks. I have a question for you. https://accounts.binance.com/ru-UA/register?ref=OMM3XK51
If you are looking for Bulk email sending software with allow unlimited smtp,subject,body messsage,attachments then Qualify Bulk Mailer is the Best Bulk email sender software.
if you work as freelancer if any buyer message you on fiverr, upwork, freelancer or anywhere Quick Alert for Freelancers and Entrepreneurs Software will instantly notified you by Phone call.
Thank you for your sharing. I am worried that I lack creative ideas. It is your article that makes me full of hope. Thank you. But, I have a question, can you help me?