I’ve been thinking about something:
When creating a user, inside of the platform or using the api…. how do we know which user created the new “user record”?
I can see that there is a “created date” field… but what about “created by” or something similar?
Docebo does not save this type of detail?
No “created by, modified by, owner” and other similar fields like in other platforms like dynamics or salesforce?
Can I retrieve this information using the endpoint “/manage/v1/user/list”?
If there is no such fields… how can I handle this? create custom fields for this purpose?
Hi
Typically when I am looking for this info I go to the audit trail and filter where the target = the user’s email address (our main tracking element).
I’m going to take another look around. At the least it would seem that we could find where the last access date/time is stored.
There is an audit trail endpoint in the API, I have not tested it.
The system automation app is pretty limited. Docebo Connect has some lookup type automations.
That could be an option, add a user addition field, “Created by” and populate it. Especially if it is being created by a small user set.
With the user additional field you could also populate this field when a user creates the new user with an API or CSV.
Post https://domain.docebosaas.com/audittrail/v1/audittrail
In the body, provide the filters that you want.
In my case, I wanted every change to Users:
sample:
{
"timeframe": {
"from": "2024-04-11 14:51:34",
"to": "2024-04-18 14:51:34"
},
"eventTypes": v
"newUserCreated",
"newUserCreatedByExtIntegration",
"userDeleted",
"userModified",
"userModifiedByExtIntegration",
"newUserCreatedSelfReg",
"userSuspended",
"userUnSuspended"
]
}
Use the queryId returned from the 1st request and use it on the request below:
Get https://domain.docebosaas.com/audittrail/v1/audittrail/queryId
It returns the filtered logs:
The post is about using the Api, but i did use that to double check my postman results!
That filter is handy, that is how I typically look things up.
Hello again! Again about this topic if you wanna help out ahaha
I’m looking at the advanced filters:
behind the scenes the “is equal to” is “like” in the http request
{
"timeframe": {
"from": "2024-05-28 19:18:37",
"to": "2024-05-29 23:29:37"
},
"eventTypes":
"userModified"
],
"adminFilters": b
{
"operatedById": {
"option": "like",
"value": "13119"
}
}
]
}
but can´t find the documentation on the possible operators...
What could be the operator for “is not equal to”?
Any ideas?
TY!
"operator": "!equal"
I’m not finding anything useful there. Also, no luck googling. Easy enough to open a chat request ticket on it.
Reply
Log in to Docebo Community
Enter your email address or username and password below to log in to Docebo Community. No account yet? Create an account
Docebo Employee Login
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.