Skip to main content
POST
/
api
/
v1
/
org
/
audit_data
Get Audit Data
curl --request POST \
  --url https://app.superleap.com/api/v1/org/audit_data \
  --header 'Authorization: <authorization>' \
  --header 'Content-Type: <content-type>' \
  --data '
{
  "objects": [
    {
      "slug": "<string>"
    }
  ]
}
'
Get audit data for specified objects. Upto 10 objects can be requested for at one go. A limit of 500 records overall is set.
If you query for x objects, upto floor(500/x) records per object will be fetched.

Headers

Authorization
string
required
Bearer token for authentication, click here to generate one
Content-Type
string
default:"application/json"
required
application/json

Body

Please ensure the object slug exists in order to avoid errors
objects
array
required
Array of objects to retrieve audit data for

Example Request

curl --location 'https://app.superleap.com/api/v1/org/audit_data' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer SUPERSECRETREDACTEDKEY' \
--data '{
    "objects": [
        {
            "slug": "lead"
        },
        {
            "slug":"user"
        }
    ]
}'