Back to all

Is there a way to access the AuditLog with the API?

Since we are not working in an app that can send a request with the current user's PAT, I am trying to find a way to determine who made the most recent change to a specific field, either in an Opportunity or the Address Book. This way I can use the UID of that user to access their user information like email or phone number. I know I can have them enter their name in a UDF so that when the API gets the data , that filed is included, but I was hoping to remove that human element so that one user can't use someone else's name or make a typo, etc.

I know this information would be available in the Audit Log but I am not sure if the log is exposed to the API.

The only thing I found was this but it does not return more than what I assume is a confirmation of whether the AuditLog is turned on or not.

"Configuration": {
"Data": {
"AuditLog": {
"AbEntry": true
}