Internal Chat Trigger with Authentication

I hope there is a simple solution to my issue. I have a chat trigger that I don’t want to make publicly available but rather trigger it from a front-end app.

  1. Can I use the same url generated when making the chat public but modify it to something like: http://localhost:port/webhook/xyz/chat
    Will this work

  2. How can I pass authentication metadata from my app to the chat url? Authentication option is not available unless the chat trigger is made public
    I would like to get the user-role of the user who logged into my app to determine what actions this user can perform in the chat