# Api for OKTA change history

**URL:** <https://devforum.okta.com/t/api-for-okta-change-history/24170>\
**Category:** API\
**Created:** [May 5, 2023, 11:59am UTC](https://devforum.okta.com/t/api-for-okta-change-history/24170 "2023-05-05T11:59:03Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Vishwa](https://avatars.discourse-cdn.com/v4/letter/v/ec9cab/32.png) [@Vishwa](https://devforum.okta.com/u/Vishwa)\
**Post date:** [May 5, 2023, 11:59am UTC](https://devforum.okta.com/t/api-for-okta-change-history/24170/1 "2023-05-05T11:59:03Z")

</div>

Hi Team,  
We have some custom attributes at the okta user level which are accessible from different applications & every application has an option for all CRUD operations on these attributes.

Question is - we need to get the okta user change history using the api, so we can display the change history in one of the applications.

Please share which api, endpoint can use for our requirement.

Thanks in advance.

---

<div class="post-metadata">

**Author:** ![daniel.sanders](https://avatars.discourse-cdn.com/v4/letter/d/8dc957/32.png) [@daniel.sanders](https://devforum.okta.com/u/daniel.sanders)\
**Post date:** [May 5, 2023, 9:10pm UTC](https://devforum.okta.com/t/api-for-okta-change-history/24170/2 "2023-05-05T21:10:41Z")

</div>

Hello Vishwa,

The best place to go for history of these operations using API is likely going to be the System Logs API: [System Log | Okta Developer](https://developer.okta.com/docs/reference/api/system-log/)

You can use this to list history and narrow by filters and event types, and narrow it further by additional event types for what you need to find, such as app.user\_management for provisioning to applications: [Event Types | Okta Developer](https://developer.okta.com/docs/reference/api/event-types/#catalog)

---

<div class="post-metadata">

**Author:** ![Vishwa](https://avatars.discourse-cdn.com/v4/letter/v/ec9cab/32.png) [@Vishwa](https://devforum.okta.com/u/Vishwa)\
**Post date:** [May 16, 2023, 9:11pm UTC](https://devforum.okta.com/t/api-for-okta-change-history/24170/3 "2023-05-16T21:11:08Z")

</div>

Thanks for your response.  
Our requirement is at a time display given one user history.

I ran a query in postman {{url}}/api/v1/logs?q=00u1b4fc0h\*\*\*\*\*\*\*\*\*\* (okta id passed to q=). I am getting some data. For example I changed the first name of okta user then I could see one of the events logged core.user.config.profile\_update.success.

Question 1: we need to know what data was changed such information I could not determine in the api response. (like old firstname data & new firstname data)  
Question 2: okta user is created months back but I could see the change history of the last 2 days only.

Vishwa.

---

<div class="post-metadata">

**Author:** ![Vishwa](https://avatars.discourse-cdn.com/v4/letter/v/ec9cab/32.png) [@Vishwa](https://devforum.okta.com/u/Vishwa)\
**Post date:** [June 13, 2023, 11:32am UTC](https://devforum.okta.com/t/api-for-okta-change-history/24170/4 "2023-06-13T11:32:52Z")

</div>

HI Daniel,  
Any update on the question…?

---

<div class="post-metadata">

**Author:** ![andrea](https://sea1.discourse-cdn.com/oktadev/user_avatar/devforum.okta.com/andrea/32/2172_2.png) [@andrea](https://devforum.okta.com/u/andrea)\
**Post date:** [February 14, 2024, 5:53pm UTC](https://devforum.okta.com/t/api-for-okta-change-history/24170/5 "2024-02-14T17:53:00Z")

</div>


