Setting common fields across all API calls

Is there a common handler / interceptor to set values for common fields on the API/server side.

Here is what we are trying to achieve -
All the tables have common columns like createdAt, createdBy, modifiedAt and modifiedBy. We need a common place where we can set the values for all these fields instead of mapping it in each and every service.

Can anyone please share some information on how to achieve this.