💻

API Gateway

Connect to 100+ third-party APIs with managed OAuth through a single gateway, powered by Maton.ai.

by

byungkyu

Coding Agents & IDEsProductivityAutomationAPI
Install
npx clawhub@latest install api-gateway
Stars

163

Downloads

33.2k

Current Installs

219

All-time Installs

120

Version

v1.0.59

Updated

Mar 5, 2026

Requirements

Maton API Key

View Source

ClawHub

API Gateway Overview

API Gateway provides a passthrough proxy for direct access to third-party APIs using managed OAuth connections.

Authenticate once with a Maton API key, then call native provider APIs through the gateway while Maton injects the correct OAuth tokens.

How It Works

1Step 1 - Authenticate

Send requests with `Authorization: Bearer $MATON_API_KEY` to the Maton gateway.

2Step 2 - Route via Gateway

Use `https://gateway.maton.ai/{app}/{native-api-path}` where the `{app}` prefix selects the service connection.

3Step 3 - Manage Connections

Create, list, or delete OAuth connections via `https://ctrl.maton.ai`.

4Step 4 - Target Accounts

If multiple accounts exist, pass `Maton-Connection` to choose a specific connection.

Key Features

100+ Supported Services

Google Workspace, Microsoft 365, Slack, HubSpot, Salesforce, Notion, GitHub, Airtable, Stripe, Jira, Linear, and more.

Managed OAuth

No need to handle OAuth flows yourself; the gateway manages token refresh and injection.

Native API Passthrough

Call each service's native API endpoints directly with full request/response fidelity.

Connection Management

Create, list, and delete OAuth connections via the Maton control API.

Multi-Connection Support

Use the `Maton-Connection` header to target a specific account.

Cross-Language Support

Works with any HTTP client in Python, JavaScript, cURL, or other languages.

Requirements

  • No VM required.
  • Maton API Key: get your key in the Maton settings page.

Use Cases

CRM Automation

Create contacts in HubSpot, query leads in Salesforce, or manage deals in Pipedrive.

Workspace Integration

Read and write Google Sheets, manage Calendar events, and send emails via Gmail or Outlook.

Team Communication

Post messages to Slack, send Microsoft Teams notifications, or manage Telegram bots.

Project Management

Create Jira issues, update Trello boards, manage Linear tickets, or track tasks in Asana.

E-Commerce Operations

Process Stripe payments, manage WooCommerce products, or handle Square inventory.

How to Install

npx clawhub@latest install api-gateway

Run in your terminal, or click the Install button at the top of this page for one-click setup.

FAQ

Do I need separate API keys for each service?

No. You use one Maton API key; access is scoped to OAuth connections you explicitly authorize.

Is the Maton API key free?

You can generate a key at maton.ai/settings; pricing depends on your Maton plan.

What happens if I have multiple accounts for the same service?

Use the `Maton-Connection` header to select the specific connection ID.

Where do I manage OAuth connections?

Connection management is handled via the Maton control API at `https://ctrl.maton.ai`.

What are the rate limits?

Rate limits are enforced by Maton and upstream providers; check your Maton dashboard or docs for current limits.

Do I need to implement OAuth flows?

No. The gateway manages OAuth token injection for authorized connections.