WebService call: Async request-response: Orch API

Hello Everyone,

We have a requirement as below. Request your suggestions on the overall approach.

The Robot process need to call a web service exposed by a middleware system. The response is asynchronous. We are hence planning to get the response by putting the response to orchestrator queue using API by the middleware. Now the middleware has to make 2 calls for each response,

  1. Authorization API
  2. Put to Queue API using the bearer token

Is it a good idea to make the bearer token be non-expiring and make this token permanently to be used? Can this be made specific to an orchestrator user? Any other suggestions on the over all approach to this?

Shiju Mathew