Get response back from bot

I would like to trigger bot from an API along with a parameter and get a response back with some id. Is this possible? I see that there is option to send parameter, but couldnt find how to get response back.

I am also looking for similar solution, have you find the solution ?