Audit logs›Get Logs by event ID
Audit logs
Get Logs by event ID
Get Audit logs
curl --request GET \
--url "https://audit-logs.lambdatest.com/api/logs/{event_id}" \
--header "Authorization: Basic <encoded-value>"
{
"activity_description": "User updated their email preferenece",
"activity_name": "User - Email Preference Updated",
"changes": {
"marketing": false
},
"event": "user.email-preference.updated",
"event_id": "3108990a-9c21-4b7c-b4f2-ca32321b8015",
"event_time": "2023-10-26T08:38:18Z",
"ip": "143.110.182.88",
"metadata": null,
"name": "pawan1235",
"organization_name": "",
"original": {
"marketing": true
},
"target_identifier": {
},
"user_agent": "Mozilla/5.0(Macintosh;IntelMacOSX10_15_7)AppleWebKit/537.36(KHTML,likeGecko)Chrome/106.0.0.0Safari/537.36"
}
Authorizations
Authorizationstringheaderrequired
Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.
Path Parameters
event_idstringrequired
Event id of logs
Response
application/jsonsuccess
activity_descriptionstring
changesobject
changes.marketingboolean
Example: false
originalobject
original.marketingboolean
Example: true
target_identifierobject
target_identifier.emailstring
curl --request GET \
--url "https://audit-logs.lambdatest.com/api/logs/{event_id}" \
--header "Authorization: Basic <encoded-value>"
{
"activity_description": "User updated their email preferenece",
"activity_name": "User - Email Preference Updated",
"changes": {
"marketing": false
},
"event": "user.email-preference.updated",
"event_id": "3108990a-9c21-4b7c-b4f2-ca32321b8015",
"event_time": "2023-10-26T08:38:18Z",
"ip": "143.110.182.88",
"metadata": null,
"name": "pawan1235",
"organization_name": "",
"original": {
"marketing": true
},
"target_identifier": {
},
"user_agent": "Mozilla/5.0(Macintosh;IntelMacOSX10_15_7)AppleWebKit/537.36(KHTML,likeGecko)Chrome/106.0.0.0Safari/537.36"
}