Returns details of the specified tunnel. Requires wan:view scope.
wan:view
cURL
curl --request GET \ --url https://api.altostrat.io/{site_id}/tunnel/{id} \ --header 'Authorization: Bearer <token>'
{ "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "tunnel_ip": "127.0.0.1", "name": "<string>", "priority": 123, "isp": "<string>", "isp_country": "<string>", "isp_asn": 123, "type": "fibre", "gateway": "127.0.0.1", "interface": "<string>", "wan_ip": "127.0.0.1", "anycast_ip": "127.0.0.1", "profile_ip": "127.0.0.1", "wan_provider_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "wan_provider_name": "<string>", "connected": true, "latency": 123, "packet_loss": 123 }
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Site UUID
Tunnel UUID
Tunnel found
The response is of type object.
object
Was this page helpful?