AmazonApiGatewayManagementApi
amazonaws · Cloud
The Amazon API Gateway Management API allows you to directly manage runtime aspects of your deployed APIs. To use it, you must explicitly set the SDK's endpoint to point to the endpoint of your deployed API. The endpoint will be of the form https://{api-id}.execute-api.{region}.amazonaws.com/{stage}, or will be the endpoint corresponding to your API's custom domain and base path, if applicable.
Authentication
Sample Requests
Get information about the connection with the provided id.
Hover any highlighted part to learn what it does
curl -X GET "https://api.apis.guru/v2/specs/amazonaws.com/apigatewaymanagementapi/2018-11-29/@connections/{connectionId}"import requests
response = requests.get(
"https://api.apis.guru/v2/specs/amazonaws.com/apigatewaymanagementapi/2018-11-29/@connections/{connectionId}",
)
print(response.json())const url = 'https://api.apis.guru/v2/specs/amazonaws.com/apigatewaymanagementapi/2018-11-29/@connections/{connectionId}';
const response = await fetch(url);
const data = await response.json();
console.log(data);package main
import (
"fmt"
"io"
"net/http"
)
func main() {
targetURL := "https://api.apis.guru/v2/specs/amazonaws.com/apigatewaymanagementapi/2018-11-29/@connections/{connectionId}"
req, _ := http.NewRequest("GET", targetURL, nil)
client := &http.Client{}
resp, _ := client.Do(req)
defer resp.Body.Close()
body, _ := io.ReadAll(resp.Body)
fmt.Println(string(body))
}require "net/http"
require "json"
uri = URI("https://api.apis.guru/v2/specs/amazonaws.com/apigatewaymanagementapi/2018-11-29/@connections/{connectionId}")
http = Net::HTTP.new(uri.host, uri.port)
http.use_ssl = uri.scheme == "https"
req = Net::HTTP::Get.new(uri)
res = http.request(req)
puts JSON.parse(res.body)<?php
$url = "https://api.apis.guru/v2/specs/amazonaws.com/apigatewaymanagementapi/2018-11-29/@connections/{connectionId}";
$opts = ["http" => [
"method" => "GET",
]];
$ctx = stream_context_create($opts);
$res = file_get_contents($url, false, $ctx);
print_r(json_decode($res, true));Sends the provided data to the specified connection.
Hover any highlighted part to learn what it does
curl -X POST "https://api.apis.guru/v2/specs/amazonaws.com/apigatewaymanagementapi/2018-11-29/@connections/{connectionId}"import requests
response = requests.post(
"https://api.apis.guru/v2/specs/amazonaws.com/apigatewaymanagementapi/2018-11-29/@connections/{connectionId}",
)
print(response.json())const url = 'https://api.apis.guru/v2/specs/amazonaws.com/apigatewaymanagementapi/2018-11-29/@connections/{connectionId}';
const response = await fetch(url, {
method: 'POST',
});
const data = await response.json();
console.log(data);package main
import (
"fmt"
"io"
"net/http"
)
func main() {
targetURL := "https://api.apis.guru/v2/specs/amazonaws.com/apigatewaymanagementapi/2018-11-29/@connections/{connectionId}"
req, _ := http.NewRequest("POST", targetURL, nil)
client := &http.Client{}
resp, _ := client.Do(req)
defer resp.Body.Close()
body, _ := io.ReadAll(resp.Body)
fmt.Println(string(body))
}require "net/http"
require "json"
uri = URI("https://api.apis.guru/v2/specs/amazonaws.com/apigatewaymanagementapi/2018-11-29/@connections/{connectionId}")
http = Net::HTTP.new(uri.host, uri.port)
http.use_ssl = uri.scheme == "https"
req = Net::HTTP::Post.new(uri)
res = http.request(req)
puts JSON.parse(res.body)<?php
$url = "https://api.apis.guru/v2/specs/amazonaws.com/apigatewaymanagementapi/2018-11-29/@connections/{connectionId}";
$opts = ["http" => [
"method" => "POST",
]];
$ctx = stream_context_create($opts);
$res = file_get_contents($url, false, $ctx);
print_r(json_decode($res, true));Delete the connection with the provided id.
Hover any highlighted part to learn what it does
curl -X DELETE "https://api.apis.guru/v2/specs/amazonaws.com/apigatewaymanagementapi/2018-11-29/@connections/{connectionId}"import requests
response = requests.delete(
"https://api.apis.guru/v2/specs/amazonaws.com/apigatewaymanagementapi/2018-11-29/@connections/{connectionId}",
)
print(response.json())const url = 'https://api.apis.guru/v2/specs/amazonaws.com/apigatewaymanagementapi/2018-11-29/@connections/{connectionId}';
const response = await fetch(url, {
method: 'DELETE',
});
const data = await response.json();
console.log(data);package main
import (
"fmt"
"io"
"net/http"
)
func main() {
targetURL := "https://api.apis.guru/v2/specs/amazonaws.com/apigatewaymanagementapi/2018-11-29/@connections/{connectionId}"
req, _ := http.NewRequest("DELETE", targetURL, nil)
client := &http.Client{}
resp, _ := client.Do(req)
defer resp.Body.Close()
body, _ := io.ReadAll(resp.Body)
fmt.Println(string(body))
}require "net/http"
require "json"
uri = URI("https://api.apis.guru/v2/specs/amazonaws.com/apigatewaymanagementapi/2018-11-29/@connections/{connectionId}")
http = Net::HTTP.new(uri.host, uri.port)
http.use_ssl = uri.scheme == "https"
req = Net::HTTP::Delete.new(uri)
res = http.request(req)
puts JSON.parse(res.body)<?php
$url = "https://api.apis.guru/v2/specs/amazonaws.com/apigatewaymanagementapi/2018-11-29/@connections/{connectionId}";
$opts = ["http" => [
"method" => "DELETE",
]];
$ctx = stream_context_create($opts);
$res = file_get_contents($url, false, $ctx);
print_r(json_decode($res, true));Postman Setup Guide
- See official documentation for authentication and setup.
What can you build with AmazonApiGatewayManagementApi?
AmazonApiGatewayManagementApi is a Cloud API. Developers commonly use cloud APIs for:
- provisioning and managing cloud infrastructure
- automating deployments and container orchestration
- monitoring uptime and performance metrics
- managing storage buckets and databases
- setting up auto-scaling and load balancing
No authentication required. This API is open — no signup or key needed. Ideal for quick prototypes and public-facing features. AmazonApiGatewayManagementApi is free to use, making it a low-risk choice to experiment with.
New to APIs? Read our beginner's guide · Learn about API keys · What is REST?