How do i get all users via api

I want to display the list of users on courier in our internal app. But I am not able to find any such API.

Hi there @himanshu.patil

You can use the /lists API to fetch a list’s roster by using the list_id.

okay but for this, I have to add users to the list first then get. Also, the user’s metadata is missing. I also tried audiences API but in this case also metadata is missing

What metadata are you looking to get back from your fetch request?

user properties like name, email

I see, currently the lists API will not return specific recipient data when you make a request. For that, we have the Profiles API which will return the data payload you’re looking for but only for individual recipients. I’ve logged your use case as a potential feature request for our Lists API.

1 Like