MasterBettor
MasterBettor

Reputation: 109

How to get list of users in Box using API

Is it possible to get the list of users in Box using API calls? I'm currently using "https://api.box.com/2.0/users" to get all users but what I want to achieve is that I want to get list of users filtered by date created? is there any way how to do that?

Here's a sample screenshot for API call using postman:

box api

Upvotes: 0

Views: 795

Answers (1)

Murtza Manzur
Murtza Manzur

Reputation: 1214

You can get a list of users filtered by date created using the Enterprise Events endpoint.

When you query the Enterprise Events endpoint, you can filter for specific event types using the event_type parameter. The API event name for new user creation is "NEW_USER". The created_after and created_before parameters let you specify a time range for the events needed.

Upvotes: 1

Related Questions