Best Answer

API - Get All users created by a specific date

  • 1 June 2023
  • 1 reply
  • 104 views

Userlevel 2

Wanted to see if anyone found a good solution to this issue. We want to create a way to get all users created on the system given a date via the api.

Looks like the endpoint - /manage/v1/user does not really help since it does not have any filters for date_created. It does have option for updated_from but that shows everyone who logged in today and not necessarily created today. 

We need to send these people to an external client accurately and using the webhooks always runs to some random error overtime. We’re planning to use cronjobs to check the LMS for newly created users for that day and send them to the external client. 

 

Anyone has any ideas? 

icon

Best answer by Bfarkas 4 June 2023, 21:53

View original

1 reply

Userlevel 7
Badge +3

Well, this sounds like if you want to stay in API directly, you would need to process the returned results. Could start with the superset of modified and then just filter out the created only on the day so you don’t deal with all users. Alternatively, you could do this with a report (using the Users report), and then use the api to pull the report results. 

 

Reply