Hi @pawel-prochal ,
It sounds like you want to make a request against a FusionAuth search API using a JWT issued by FusionAuth to authenticate that API request?
Unfortunately not all FusionAuth APIs use JWT authentication. User search is not one of them.
If I were going to do this, I'd build a small proxy that took a JWT and held an API key. It would examine the JWT and then make the user search API call using the API key.
Let me know if I misunderstood something.