I have a Lambda function that has an exposed API Gateway endpoint, and I can get the URL for that via the AWS console. However, I would like to get that URL via API call. Neithe
To get the API endpoint ,
first step is to deploy the API on a stage(dev/test/prod) then you will get the invoke url