[Jira Cloud] Create Custom Endpoint in Forge

Hi,
I’m working on creating a custom endpoint using Forge for use in the UI. Initially, I used a web trigger as a workaround, but after reading about the endpoint feature, I’d like to learn how to set up and use it. Can anyone provide a simple example of how to create and call a custom endpoint? Here’s the official documentation for reference.