Skip to main content

Quick Start

Get up and running with TunnelAPI in under 5 minutes.

Step 1: Install the CLI

npm install -g api-response-manager

Step 2: Login

arm login

Choose your preferred authentication method:

  • Email/Password - Traditional login
  • Google - OAuth with Google account
  • GitHub - OAuth with GitHub account
  • Microsoft - OAuth with Microsoft account

The CLI will open your browser for OAuth authentication and automatically capture the credentials.

Step 3: Create a Tunnel

Expose your local development server:

# Start your local server (example: React app on port 3000)
npm start

# In another terminal, create a tunnel
arm tunnel 3000

Output:

✓ Tunnel created successfully!
Public URL: https://abc123.free-tunnelapi.app
Local Port: 3000
ℹ Forwarding traffic...

Your local server is now accessible at the public URL!

Step 4: Use a Custom Subdomain

arm tunnel 3000 --subdomain myapp

Your server is now at https://myapp.free-tunnelapi.app

Step 5: Create a Webhook Endpoint

arm webhook create

Output:

✓ Webhook created!
Endpoint: https://tunnelapi.in/webhook/abc123

Waiting for requests... (Ctrl+C to exit)

Send requests to this URL and see them in real-time!

Common Use Cases

Webhook Development

Test Stripe, GitHub, or Slack webhooks locally:

# Create webhook and forward to local server
arm webhook create --forward http://localhost:4000/webhook

Mobile App Testing

Connect your mobile app to your local backend:

arm tunnel 5000 --subdomain my-api
# Use https://my-api.free-tunnelapi.app in your mobile app

Client Demos

Share your work-in-progress with clients:

arm tunnel 3000 --subdomain demo-client-name
# Share the URL with your client

Team Collaboration

Share API responses with your team:

# Create a project
arm project create "My API Project"

# Capture responses via proxy
arm proxy start --project my-api-project

CLI Commands Overview

CommandDescription
arm loginAuthenticate with TunnelAPI
arm tunnel <port>Create a tunnel to local port
arm webhook createCreate a webhook endpoint
arm project listList your projects
arm statusCheck connection status
arm logoutSign out

Next Steps