API Gateway for Third-Party Managed Auth for Openclaw

A secure passthrough proxy that simplifies calling third-party APIs by managing OAuth connections and authentication automatically.

makforce
v1.0.0
Feb 23, 2026
0
1.4k
0

Install & Download

1. ClawHub CLI

The fastest way to install a skill directly from the registry.

npx clawhub@latest install api-gateway-1-0-7

2. Manual Installation

Copy the skill folder to one of these locations

Global
~/.openclaw/skills/
Workspace
<project>/skills/

Priority: Workspace > Local > Bundled

3. Prompt Installation

Copy this prompt to OpenClaw to install it automatically.

Help me install api-gateway-1-0-7 using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).

Prefer to download?

Get the raw skill files in a ZIP archive.

What is API Gateway for Third-Party Managed Auth?

The API Gateway is a robust technical solution designed to bridge the gap between AI agents and external software ecosystems. It acts as a managed proxy, allowing users to interact directly with native endpoints of services like Slack, Salesforce, and Google Workspace without the burden of manually handling complex OAuth flows or token refreshes.

By leveraging Openclaw Skills like this gateway, developers can execute native API calls with minimal configuration. The service handles the injection of appropriate authorization headers, ensuring that your agent stays focused on the logic of the task rather than the boilerplate of authentication security.

API Gateway for Third-Party Managed Auth Use Cases

  • Sending automated notifications or messages to Slack channels and Microsoft Teams.
  • Syncing and updating customer records across CRM platforms like HubSpot and Salesforce.
  • Managing files and data within cloud productivity suites including Google Drive, Sheets, and Notion.
  • Processing financial data and managing subscriptions via Stripe or QuickBooks integrations.
  • Triggering marketing automation workflows through Mailchimp, Klaviyo, or Google Ads.

How API Gateway for Third-Party Managed Auth Works

  1. The developer authenticates with the gateway using a central Maton API key.
  2. A connection is initialized for the desired third-party service (e.g., Airtable or HubSpot) through the control endpoint.
  3. The user completes a one-time OAuth flow via a generated URL to authorize access.
  4. Requests are sent to a unified gateway URL structure: https://gateway.maton.ai/{app}/{native-api-path}.
  5. The gateway automatically injects the stored OAuth token and forwards the request to the target service's native API.
  6. The raw response from the third-party service is passed back to the requester with original status codes.

API Gateway for Third-Party Managed Auth Setup

Follow these steps to integrate this skill into your workflow:

  1. Sign in to maton.ai and retrieve your API Key from the settings page.
  2. Configure your local environment:
export MATON_API_KEY="YOUR_API_KEY"
  1. Create a connection for the specific app you want to use:
curl -s -X POST "https://ctrl.maton.ai/connections" -H "Content-Type: application/json" -H "Authorization: Bearer $MATON_API_KEY" -d '{"app": "slack"}'
  1. Open the URL returned in the response to complete the OAuth authorization.

API Gateway for Third-Party Managed Auth Data Schema & Taxonomy

The skill manages metadata for various service connections to ensure seamless routing.

Attribute Description
connection_id Unique UUID for the specific service instance.
status Current state of the auth (ACTIVE, PENDING, or FAILED).
app The slug for the target service (e.g., google-sheets, stripe).
creation_time ISO 8601 timestamp of when the connection was first made.
Maton-Connection Optional header to specify a non-default connection ID.

API Gateway for Third-Party Managed Auth Advanced Features

  • Support for 40+ native service integrations including major CRMs, ERPs, and social platforms.
  • Multi-account management allowing the use of multiple connection IDs for the same service via custom headers.
  • Automatic OAuth refresh token handling to maintain long-term connectivity without manual intervention.
  • Transparent error passthrough, allowing developers to debug using the original third-party API error messages.
  • Comprehensive connection management API to programmatically list, update, or delete active sessions.

SKILL.md


Loading

Related Openclaw Skills

METADATA

Github Stars: 0
forks: 0

Featured*