curl --request GET \
--url https://api.ngrok.com/endpoints \
--header 'Authorization: Bearer <token>' \
--header 'ngrok-version: <ngrok-version>'{
"endpoints": [
{
"id": "<string>",
"region": "<string>",
"created_at": "<string>",
"updated_at": "<string>",
"public_url": "<string>",
"proto": "<string>",
"scheme": "<string>",
"hostport": "<string>",
"host": "<string>",
"port": 123,
"type": "<string>",
"metadata": "<string>",
"description": "<string>",
"domain": {
"id": "<string>",
"uri": "<string>"
},
"tcp_addr": {
"id": "<string>",
"uri": "<string>"
},
"tunnel": {
"id": "<string>",
"uri": "<string>"
},
"edge": {
"id": "<string>",
"uri": "<string>"
},
"upstream_url": "<string>",
"upstream_protocol": "<string>",
"url": "<string>",
"principal": {
"id": "<string>",
"uri": "<string>"
},
"traffic_policy": "<string>",
"bindings": [
"<string>"
],
"tunnel_session": {
"id": "<string>",
"uri": "<string>"
},
"uri": "<string>",
"name": "<string>",
"pooling_enabled": true
}
],
"uri": "<string>",
"next_page_uri": "<string>"
}List all active endpoints on the account
curl --request GET \
--url https://api.ngrok.com/endpoints \
--header 'Authorization: Bearer <token>' \
--header 'ngrok-version: <ngrok-version>'{
"endpoints": [
{
"id": "<string>",
"region": "<string>",
"created_at": "<string>",
"updated_at": "<string>",
"public_url": "<string>",
"proto": "<string>",
"scheme": "<string>",
"hostport": "<string>",
"host": "<string>",
"port": 123,
"type": "<string>",
"metadata": "<string>",
"description": "<string>",
"domain": {
"id": "<string>",
"uri": "<string>"
},
"tcp_addr": {
"id": "<string>",
"uri": "<string>"
},
"tunnel": {
"id": "<string>",
"uri": "<string>"
},
"edge": {
"id": "<string>",
"uri": "<string>"
},
"upstream_url": "<string>",
"upstream_protocol": "<string>",
"url": "<string>",
"principal": {
"id": "<string>",
"uri": "<string>"
},
"traffic_policy": "<string>",
"bindings": [
"<string>"
],
"tunnel_session": {
"id": "<string>",
"uri": "<string>"
},
"uri": "<string>",
"name": "<string>",
"pooling_enabled": true
}
],
"uri": "<string>",
"next_page_uri": "<string>"
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
List all active endpoints on the account
the list of all active endpoints on this account
Show child attributes
unique endpoint resource identifier
identifier of the region this endpoint belongs to
timestamp when the endpoint was created in RFC 3339 format
timestamp when the endpoint was updated in RFC 3339 format
URL of the hostport served by this endpoint
protocol served by this endpoint. one of http, https, tcp, or tls
n/a
hostport served by this endpoint (hostname:port) -> soon to be deprecated
n/a
n/a
whether the endpoint is ephemeral (served directly by an agent-initiated tunnel) or edge (served by an edge) or cloud (represents a cloud endpoint)
user-supplied metadata of the associated tunnel or edge object
user-supplied description of the associated tunnel
the local address the tunnel forwards to
the protocol the agent uses to forward with
the url of the endpoint
The traffic policy attached to this endpoint
the bindings associated with this endpoint
URI of the Cloud Endpoint API resource
user supplied name for the endpoint
whether the endpoint allows pooling
URI of the endpoints list API resource
URI of the next page, or null if there is no next page
Was this page helpful?