Legacy Dev Forum Posts

 View Only

Sign Up

Last Login API (All users)

  • 1.  Last Login API (All users)

    Posted 06-05-2025 18:30

    Lewis_Staffa | 2024-03-07 14:24:32 UTC | #1

    I am attempting to find an API that can provide me with the Last Login date for all users across my organisation. However, nothing is there. I can find the API for a persons presence but this seems to be limited to one person at a time.

    What i want ideally is somewhere i can put my Organisation ID and pull a list of everyone's last login date.

    Anyone able to help


    tim.smith | 2024-03-07 15:46:51 UTC | #2

    You can use the dateLastLogin expand param with user endpoints.


    Lewis_Staffa | 2024-03-08 15:13:38 UTC | #3

    Hi Tim, what API would you suggest i use? I have had a look and can't locate one that provides dateLastLogin


    tim.smith | 2024-03-08 15:34:32 UTC | #4

    The user endpoints can be found here: Users APIs. There are a few to choose from depending on your use case.


    Lewis_Staffa | 2024-03-08 15:31:55 UTC | #5

    Thanks for that however, to be able to see the lastlogindate for a user i need to input their User ID. Is there a way around this that you know of whereby i could input say a Division ID and pull a report for all users? Rather than having to input each user ID individually and in limits of 50?


    tim.smith | 2024-03-08 15:36:53 UTC | #6

    You could use the first endpoint in the list above to get a list of users without knowing their ID. You can also set the page size to get more than 50 results per page.


    system | 2024-04-07 15:37:04 UTC | #7

    This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.


    This post was migrated from the old Developer Forum.

    ref: 25064