Search code examples
amazon-web-servicesaws-api-gateway

How to get the ID of a API from AWS API gateway


I have created an API in Amazon API Gateway using the web browser. Now How can I get the ID of the API that I have just created???


Solution

  • If you'd rather not kick out to a terminal window you can grab the RestApi ID from the URL in the browser:

    https://console.aws.amazon.com/apigateway/home?region={region}#/apis/{api-id}/...