GET Audit log by user_id

GET https://api.suitsbooks.nl/audit_log/user

Headers

{"X-User-Id": "a29faa58-3d54-412e-b071-679912d9ac35"}

Example body

[
    {
        "action": "create-company",
        "author_user_id": "a29faa58-3d54-412e-b071-679912d9ac35",
        "company_id": "a9478456-a9ef-41ef-85c6-9b0633f4f757",
        "created_at": "2025-03-01T12:13:47.456289+00:00",
        "domain": "suitsbooks.nl",
        "email": "floris@xylex.ai",
        "id": 5533662403140189852,
        "message": "Successfully created new company",
        "new_status": "",
        "new_value": "",
        "old_value": "",
        "organization_id": "604639d0-d93c-4c15-b075-add82bb44640",
        "request": "https://api.suitsbooks.nl/companies/create",
        "route": "/account",
        "status": "success",
        "time": 1740831225929,
        "user_id": "a29faa58-3d54-412e-b071-679912d9ac35",
        "username": "floris"
    }
]
Updated on