In the naming section, enter: SlackChatbotAPI
(or any name you prefer)
Lambda function
InputHandler
(the function you created to handle Slack input)
POST
/slack
→ Click Next
You can leave the remaining settings as default. Review the information and then create the gateway.
After creation, if you click on this API Gateway, you will see the Invoke URL in the stage section, for example:
https://abc123xyz.execute-api.us-east-1.amazonaws.com
The final endpoint will be:
https://abc123xyz.execute-api.us-east-1.amazonaws.com/slack
📌 Copy this URL.