The HttpRequestMessage class contains a Properties dictionary that you can use to store this information. However, I am not sure if it remains between the handler call and the controller action. Otherwise, you can try using an action filter in which an action context has already been created. An action context gives you access to action arguments, where you can add an additional argument to pass to the action.
source share