title: How to Call A Deployed API Endpoint in Amazon API Gateway
subtitle: Snippit used for calling API endpoints
description: Snippit used for calling API endpoints
slug: how-to-call-a-deployed-api-endpoint-in-amazon-api-gateway
tags: [note, aws]
category: dev-blog
image:
date: 2023-02-01
canonical: https://georgeoffley.com/how-to-call-a-deployed-api-endpoint-in-amazon-api-gateway
TL:DR
https://{restapi_id}.execute-api.{region}.amazonaws.com/{stage_name}/
The restapi_id is the API ID found in API Gateway on the AWS Management Console, pictured below. Remember that each deployment you have will have an API ID set up for it. So your test API ID won't be the same as your prod API.

I put in the closest region for me (us-east-1), but that can be any region.
Then you put in the stage the API is deployed to. So prod, dev, test, or whatever environments you have set up.
And that's it. There's a more extensive conversation about permissions, deployments, etc. I might have that conversation on this blog. Stay tuned.
-George
title: How to Call A Deployed API Endpoint in Amazon API Gateway
subtitle: Snippit used for calling API endpoints
description: Snippit used for calling API endpoints
slug: how-to-call-a-deployed-api-endpoint-in-amazon-api-gateway
tags: [note, aws]
category: dev-blog
image:
date: 2023-02-01
canonical: https://georgeoffley.com/how-to-call-a-deployed-api-endpoint-in-amazon-api-gateway
TL:DR
https://{restapi_id}.execute-api.{region}.amazonaws.com/{stage_name}/The
restapi_idis the API ID found in API Gateway on the AWS Management Console, pictured below. Remember that each deployment you have will have an API ID set up for it. So yourtestAPI ID won't be the same as yourprodAPI.I put in the closest
regionfor me (us-east-1), but that can be any region.Then you put in the stage the API is deployed to. So
prod,dev,test, or whatever environments you have set up.And that's it. There's a more extensive conversation about permissions, deployments, etc. I might have that conversation on this blog. Stay tuned.
-George