I’ve created an endpoint that requires USER token validation. One of the functions of this endpoint creates a case. At this point, I need to know which API user triggered the case creation. I did a rule on case created to add a relation to the logged in user, expecting the API user account to be in a logged in state when the call is received, however, this is not working as I expected. I’ve looked a data preprocessor for this too, but the headers of the API call are not available in the params.
Does anyone know another way to achieve this?