How to pass get parameter in botpress api converse

Hello,
I’m using botpress through converse API
the client is sending the request in this way

POST <your-bot-url.com>/api/v1/bots/{botId}/converse/{userId}

I want to accept query parameter from this URL
for example
?foo=var
the question is how to accept the foo parameter in botpress action?

thanks in advance

Hie @maboulfotouh welcome to the forum.

The objects which can be requested from the converse API are as per this documentation. You can call your API in an action instead of including your query parameter in the request.