ngrok
Tunnels, endpoints, reserved domains and credentials
Managed auth
Authentication
Methods your end users can connect with. Credentials are stored encrypted, and secret values are never shown again or returned by the API.
API key
Your users enter
- API keySecretRequired
Where to find them
- In the ngrok dashboard open “API Keys” and click “New API Key”.
- Add a description and copy the key: it is shown only once.
- It is not the agent's “authtoken”: it is the management API key.
Tools (1)
ngrok API request
NGROK_SEND_REQUESTAuthenticated call to the ngrok API (https://api.ngrok.com). Any endpoint of the API is allowed. Examples: GET /tunnels, GET /endpoints, GET /reserved_domains, GET /tunnel_sessions, POST /reserved_domains {"domain": "…"}, GET /credentials.
Required scopes
No scopes required
Input
ngrok API request input Name Type Description methodstringHTTP methodOne of: GET,POST,PUT,PATCH,DELETEDefault:"GET"pathrequiredstringPath relative to the API base URL, or a full URL on the same API (e.g. a next-page link) queryobjectQuery string parameters bodyunknownJSON body formobjectBody as application/x-www-form-urlencoded instead of JSON body_base64stringBinary body, base64 (at most 960000 characters) content_typestringContent-Type of body_base64 headersobjectExtra headers such as Accept. Authentication is added automatically.

