Legacy Dev Forum Posts

 View Only

Sign Up

When was a user is added to an org

  • 1.  When was a user is added to an org

    Posted 06-05-2025 18:32

    MEP | 2024-10-31 16:15:24 UTC | #1

    Is there an API which can tell me when an individual user was added to our.


    Eos_Rios | 2024-11-01 13:27:07 UTC | #2

    You can't get that information from the User objects directly as far as I know, but you can capture it from a daily dump of the Audit API where service is Directory, Entity Type is User and Action is Create.

    POST /api/v2/audits/query

    {"interval":"2024-10-31T00:00:00.000-04:00/2024-11-01T00:00:00.000-04:00","serviceName":"Directory","filters":[{"property":"EntityType","value":"User"},{"property":"Action","value":"Create"}],"pageNumber":1,"pageSize":50,"sort":[{"name":"Timestamp","sortOrder":"desc"}]}


    system | 2024-12-01 13:27:13 UTC | #3

    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: 30145