Get All User Data with Custom Attributes via API

Hello Everybody,

Is there any way to get all users and users’ custom attributes via API?

I need to know the user’s ID and their custom attributes for sending a personalized push notification.

Best