Identify Developers in Request

Hi, I’m trying to use Tyk but i cant find a way to identify the developer who are making a request in my API. Some of my API have costs attached to it and I need to register every request for every user in a charging api. In Kong per example i can get the API Key and request a endpoint to get the actual user.

This is pretty straightforward - you can use the request header injection plugin to inject metadata associated with the current users token:

Each token created via the portal will have all the developer info in the token’s meta_data field so you can just add a global header injector and add the relevant user data from the token to the header using the $tyk_meta object.

You can also add a bunch of other stuff using context variables.