{
  "schemaVersion": "1.0",
  "item": {
    "slug": "api-gateway-1-0-7",
    "name": "Api Gateway 1.0.7",
    "source": "tencent",
    "type": "skill",
    "category": "开发工具",
    "sourceUrl": "https://clawhub.ai/Makforce/api-gateway-1-0-7",
    "canonicalUrl": "https://clawhub.ai/Makforce/api-gateway-1-0-7",
    "targetPlatform": "OpenClaw"
  },
  "install": {
    "downloadMode": "redirect",
    "downloadUrl": "/downloads/api-gateway-1-0-7",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=api-gateway-1-0-7",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "installMethod": "Manual import",
    "extraction": "Extract archive",
    "prerequisites": [
      "OpenClaw"
    ],
    "packageFormat": "ZIP package",
    "includedAssets": [
      "LICENSE.txt",
      "SKILL.md",
      "_meta.json",
      "references/airtable.md",
      "references/apollo.md",
      "references/asana.md"
    ],
    "primaryDoc": "SKILL.md",
    "quickSetup": [
      "Download the package from Yavira.",
      "Extract the archive and review SKILL.md first.",
      "Import or place the package into your OpenClaw setup."
    ],
    "agentAssist": {
      "summary": "Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.",
      "steps": [
        "Download the package from Yavira.",
        "Extract it into a folder your agent can access.",
        "Paste one of the prompts below and point your agent at the extracted folder."
      ],
      "prompts": [
        {
          "label": "New install",
          "body": "I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Tell me what you changed and call out any manual steps you could not complete."
        },
        {
          "label": "Upgrade existing",
          "body": "I downloaded an updated skill package from Yavira. Read SKILL.md from the extracted folder, compare it with my current installation, and upgrade it while preserving any custom configuration unless the package docs explicitly say otherwise. Summarize what changed and any follow-up checks I should run."
        }
      ]
    },
    "sourceHealth": {
      "source": "tencent",
      "status": "healthy",
      "reason": "direct_download_ok",
      "recommendedAction": "download",
      "checkedAt": "2026-04-23T16:43:11.935Z",
      "expiresAt": "2026-04-30T16:43:11.935Z",
      "httpStatus": 200,
      "finalUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=4claw-imageboard",
      "contentType": "application/zip",
      "probeMethod": "head",
      "details": {
        "probeUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=4claw-imageboard",
        "contentDisposition": "attachment; filename=\"4claw-imageboard-1.0.1.zip\"",
        "redirectLocation": null,
        "bodySnippet": null
      },
      "scope": "source",
      "summary": "Source download looks usable.",
      "detail": "Yavira can redirect you to the upstream package for this source.",
      "primaryActionLabel": "Download for OpenClaw",
      "primaryActionHref": "/downloads/api-gateway-1-0-7"
    },
    "validation": {
      "installChecklist": [
        "Use the Yavira download entry.",
        "Review SKILL.md after the package is downloaded.",
        "Confirm the extracted package contains the expected setup assets."
      ],
      "postInstallChecks": [
        "Confirm the extracted package includes the expected docs or setup files.",
        "Validate the skill or prompts are available in your target agent workspace.",
        "Capture any manual follow-up steps the agent could not complete."
      ]
    },
    "downloadPageUrl": "https://openagent3.xyz/downloads/api-gateway-1-0-7",
    "agentPageUrl": "https://openagent3.xyz/skills/api-gateway-1-0-7/agent",
    "manifestUrl": "https://openagent3.xyz/skills/api-gateway-1-0-7/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/api-gateway-1-0-7/agent.md"
  },
  "agentAssist": {
    "summary": "Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.",
    "steps": [
      "Download the package from Yavira.",
      "Extract it into a folder your agent can access.",
      "Paste one of the prompts below and point your agent at the extracted folder."
    ],
    "prompts": [
      {
        "label": "New install",
        "body": "I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Tell me what you changed and call out any manual steps you could not complete."
      },
      {
        "label": "Upgrade existing",
        "body": "I downloaded an updated skill package from Yavira. Read SKILL.md from the extracted folder, compare it with my current installation, and upgrade it while preserving any custom configuration unless the package docs explicitly say otherwise. Summarize what changed and any follow-up checks I should run."
      }
    ]
  },
  "documentation": {
    "source": "clawhub",
    "primaryDoc": "SKILL.md",
    "sections": [
      {
        "title": "API Gateway",
        "body": "Passthrough proxy for direct access to third-party APIs using managed auth connections. The API gateway lets you call native API endpoints directly."
      },
      {
        "title": "Quick Start",
        "body": "# Native Slack API call\ncurl -s -X POST \"https://gateway.maton.ai/slack/api/chat.postMessage\" -H \"Content-Type: application/json\" -H \"Authorization: Bearer $MATON_API_KEY\" -d '{\"channel\": \"C0123456\", \"text\": \"Hello from gateway!\"}'\n\nIMPORTANT: If you receive a 500 Internal Server Error, this does NOT mean the service is unsupported. The most common cause is an expired OAuth refresh token (connections older than 1 month). See the \"Troubleshooting 500 Internal Server Error\" section below to create a new connection and retry with the new connection ID."
      },
      {
        "title": "Base URL",
        "body": "https://gateway.maton.ai/{app}/{native-api-path}\n\nReplace {app} with the service name and {native-api-path} with the actual API endpoint path."
      },
      {
        "title": "Authentication",
        "body": "All requests require the Maton API key in the Authorization header:\n\nAuthorization: Bearer $MATON_API_KEY\n\nThe API gateway automatically injects the appropriate OAuth token for the target service.\n\nEnvironment Variable: You can set your API key as the MATON_API_KEY environment variable:\n\nexport MATON_API_KEY=\"YOUR_API_KEY\""
      },
      {
        "title": "Getting Your API Key",
        "body": "Sign in or create an account at maton.ai\nGo to maton.ai/settings\nClick the copy button on the right side of API Key section to copy it"
      },
      {
        "title": "Connection Management",
        "body": "Connection management uses a separate base URL: https://ctrl.maton.ai"
      },
      {
        "title": "List Connections",
        "body": "curl -s -X GET \"https://ctrl.maton.ai/connections?app=slack&status=ACTIVE\" -H \"Authorization: Bearer $MATON_API_KEY\"\n\nQuery Parameters (optional):\n\napp - Filter by service name (e.g., slack, hubspot, salesforce)\nstatus - Filter by connection status (ACTIVE, PENDING, FAILED)\n\nResponse:\n\n{\n  \"connections\": [\n    {\n      \"connection_id\": \"21fd90f9-5935-43cd-b6c8-bde9d915ca80\",\n      \"status\": \"ACTIVE\",\n      \"creation_time\": \"2025-12-08T07:20:53.488460Z\",\n      \"last_updated_time\": \"2026-01-31T20:03:32.593153Z\",\n      \"url\": \"https://connect.maton.ai/?session_token=5e9...\",\n      \"app\": \"slack\",\n      \"metadata\": {}\n    }\n  ]\n}"
      },
      {
        "title": "Create Connection",
        "body": "curl -s -X POST \"https://ctrl.maton.ai/connections\" -H \"Content-Type: application/json\" -H \"Authorization: Bearer $MATON_API_KEY\" -d '{\"app\": \"slack\"}'"
      },
      {
        "title": "Get Connection",
        "body": "curl -s -X GET \"https://ctrl.maton.ai/connections/{connection_id}\" -H \"Authorization: Bearer $MATON_API_KEY\"\n\nResponse:\n\n{\n  \"connection\": {\n    \"connection_id\": \"21fd90f9-5935-43cd-b6c8-bde9d915ca80\",\n    \"status\": \"ACTIVE\",\n    \"creation_time\": \"2025-12-08T07:20:53.488460Z\",\n    \"last_updated_time\": \"2026-01-31T20:03:32.593153Z\",\n    \"url\": \"https://connect.maton.ai/?session_token=5e9...\",\n    \"app\": \"slack\",\n    \"metadata\": {}\n  }\n}\n\nOpen the returned URL in a browser to complete OAuth."
      },
      {
        "title": "Delete Connection",
        "body": "curl -s -X DELETE \"https://ctrl.maton.ai/connections/{connection_id}\" -H \"Authorization: Bearer $MATON_API_KEY\""
      },
      {
        "title": "Specifying Connection",
        "body": "If you have multiple connections for the same app, you can specify which connection to use by adding the Maton-Connection header with the connection ID:\n\ncurl -s -X POST \"https://gateway.maton.ai/slack/api/chat.postMessage\" -H \"Content-Type: application/json\" -H \"Authorization: Bearer $MATON_API_KEY\" -H \"Maton-Connection: 21fd90f9-5935-43cd-b6c8-bde9d915ca80\" -d '{\"channel\": \"C0123456\", \"text\": \"Hello!\"}'\n\nIf omitted, the gateway uses the default (oldest) active connection for that app."
      },
      {
        "title": "Supported Services",
        "body": "ServiceApp NameBase URL ProxiedAirtableairtableapi.airtable.comApolloapolloapi.apollo.ioAsanaasanaapp.asana.comCalendlycalendlyapi.calendly.comChargebeechargebee{subdomain}.chargebee.comClickUpclickupapi.clickup.comFathomfathomapi.fathom.aiGoogle Adsgoogle-adsgoogleads.googleapis.comGoogle Analytics Admingoogle-analytics-adminanalyticsadmin.googleapis.comGoogle Analytics Datagoogle-analytics-dataanalyticsdata.googleapis.comGoogle Calendargoogle-calendarwww.googleapis.comGoogle Docsgoogle-docsdocs.googleapis.comGoogle Drivegoogle-drivewww.googleapis.comGoogle Formsgoogle-formsforms.googleapis.comGmailgoogle-mailgmail.googleapis.comGoogle Meetgoogle-meetmeet.googleapis.comGoogle Playgoogle-playandroidpublisher.googleapis.comGoogle Search Consolegoogle-search-consolewww.googleapis.comGoogle Sheetsgoogle-sheetssheets.googleapis.comGoogle Slidesgoogle-slidesslides.googleapis.comHubSpothubspotapi.hubapi.comJirajiraapi.atlassian.comJotFormjotformapi.jotform.comKlaviyoklaviyoa.klaviyo.comMailchimpmailchimp{dc}.api.mailchimp.comNotionnotionapi.notion.comOutlookoutlookgraph.microsoft.comPipedrivepipedriveapi.pipedrive.comQuickBooksquickbooksquickbooks.api.intuit.comSalesforcesalesforce{instance}.salesforce.comSlackslackslack.comStripestripeapi.stripe.comTrellotrelloapi.trello.comTypeformtypeformapi.typeform.comWhatsApp Businesswhatsapp-businessgraph.facebook.comWooCommercewoocommerce{store-url}/wp-json/wc/v3Xeroxeroapi.xero.comYouTubeyoutubewww.googleapis.com\n\nSee references/ for detailed routing guides per provider:\n\nAirtable - Records, bases, tables\nApollo - People search, enrichment, contacts\nAsana - Tasks, projects, workspaces, webhooks\nCalendly - Event types, scheduled events, availability, webhooks\nChargebee - Subscriptions, customers, invoices\nClickUp - Tasks, lists, folders, spaces, webhooks\nFathom - Meeting recordings, transcripts, summaries, webhooks\nGoogle Ads - Campaigns, ad groups, GAQL queries\nGoogle Analytics Admin - Reports, dimensions, metrics\nGoogle Analytics Data - Reports, dimensions, metrics\nGoogle Calendar - Events, calendars, free/busy\nGoogle Docs - Document creation, batch updates\nGoogle Drive - Files, folders, permissions\nGoogle Forms - Forms, questions, responses\nGmail - Messages, threads, labels\nGoogle Meet - Spaces, conference records, participants\nGoogle Play - In-app products, subscriptions, reviews\nGoogle Search Console - Search analytics, sitemaps\nGoogle Sheets - Values, ranges, formatting\nGoogle Slides - Presentations, slides, formatting\nHubSpot - Contacts, companies, deals\nJira - Issues, projects, JQL queries\nJotForm - Forms, submissions, webhooks\nKlaviyo - Profiles, lists, campaigns, flows, events\nMailchimp - Audiences, campaigns, templates, automations\nNotion - Pages, databases, blocks\nOutlook - Mail, calendar, contacts\nPipedrive - Deals, persons, organizations, activities\nQuickBooks - Customers, invoices, reports\nSalesforce - SOQL, sObjects, CRUD\nSlack - Messages, channels, users\nStripe - Customers, subscriptions, payments\nTrello - Boards, lists, cards, checklists\nTypeform - Forms, responses, insights\nWhatsApp Business - Messages, templates, media\nWooCommerce - Products, orders, customers, coupons\nXero - Contacts, invoices, reports\nYouTube - Videos, playlists, channels, subscriptions"
      },
      {
        "title": "Slack - Post Message (Native API)",
        "body": "# Native Slack API: POST https://slack.com/api/chat.postMessage\ncurl -s -X POST \"https://gateway.maton.ai/slack/api/chat.postMessage\" -H \"Content-Type: application/json; charset=utf-8\" -H \"Authorization: Bearer $MATON_API_KEY\" -d '{\"channel\": \"C0123456\", \"text\": \"Hello!\"}'"
      },
      {
        "title": "HubSpot - Create Contact (Native API)",
        "body": "# Native HubSpot API: POST https://api.hubapi.com/crm/v3/objects/contacts\ncurl -s -X POST \"https://gateway.maton.ai/hubspot/crm/v3/objects/contacts\" -H \"Content-Type: application/json\" -H \"Authorization: Bearer $MATON_API_KEY\" -d '{\"properties\": {\"email\": \"john@example.com\", \"firstname\": \"John\", \"lastname\": \"Doe\"}}'"
      },
      {
        "title": "Google Sheets - Get Spreadsheet Values (Native API)",
        "body": "# Native Sheets API: GET https://sheets.googleapis.com/v4/spreadsheets/{id}/values/{range}\ncurl -s -X GET \"https://gateway.maton.ai/google-sheets/v4/spreadsheets/122BS1sFN2RKL8AOUQjkLdubzOwgqzPT64KfZ2rvYI4M/values/Sheet1!A1:B2\" -H \"Authorization: Bearer $MATON_API_KEY\""
      },
      {
        "title": "Salesforce - SOQL Query (Native API)",
        "body": "# Native Salesforce API: GET https://{instance}.salesforce.com/services/data/v64.0/query?q=...\ncurl -s -X GET \"https://gateway.maton.ai/salesforce/services/data/v64.0/query?q=SELECT+Id,Name+FROM+Contact+LIMIT+10\" -H \"Authorization: Bearer $MATON_API_KEY\""
      },
      {
        "title": "Airtable - List Tables (Native API)",
        "body": "# Native Airtable API: GET https://api.airtable.com/v0/meta/bases/{id}/tables\ncurl -s -X GET \"https://gateway.maton.ai/airtable/v0/meta/bases/appgqan2NzWGP5sBK/tables\" -H \"Authorization: Bearer $MATON_API_KEY\""
      },
      {
        "title": "Notion - Query Database (Native API)",
        "body": "# Native Notion API: POST https://api.notion.com/v1/data_sources/{id}/query\ncurl -s -X POST \"https://gateway.maton.ai/notion/v1/data_sources/23702dc5-9a3b-8001-9e1c-000b5af0a980/query\" -H \"Content-Type: application/json\" -H \"Authorization: Bearer $MATON_API_KEY\" -H \"Notion-Version: 2025-09-03\" -d '{}'"
      },
      {
        "title": "Stripe - List Customers (Native API)",
        "body": "# Native Stripe API: GET https://api.stripe.com/v1/customers\ncurl -s -X GET \"https://gateway.maton.ai/stripe/v1/customers?limit=10\" -H \"Authorization: Bearer $MATON_API_KEY\""
      },
      {
        "title": "JavaScript (Node.js)",
        "body": "const response = await fetch('https://gateway.maton.ai/slack/api/chat.postMessage', {\n  method: 'POST',\n  headers: {\n    'Content-Type': 'application/json',\n    'Authorization': `Bearer ${process.env.MATON_API_KEY}`\n  },\n  body: JSON.stringify({ channel: 'C0123456', text: 'Hello!' })\n});"
      },
      {
        "title": "Python",
        "body": "import os\nimport requests\n\nresponse = requests.post(\n    'https://gateway.maton.ai/slack/api/chat.postMessage',\n    headers={'Authorization': f'Bearer {os.environ[\"MATON_API_KEY\"]}'},\n    json={'channel': 'C0123456', 'text': 'Hello!'}\n)"
      },
      {
        "title": "Error Handling",
        "body": "StatusMeaning400Missing connection for the requested app401Invalid or missing Maton API key429Rate limited (10 requests/second per account)500Internal Server Error (see troubleshooting below)4xx/5xxPassthrough error from the target API\n\nErrors from the target API are passed through with their original status codes and response bodies."
      },
      {
        "title": "Troubleshooting 500 Internal Server Error",
        "body": "IMPORTANT: A 500 Internal Server Error does NOT mean the service is unsupported. If the app is listed in the Supported Services table above, the error is likely due to an expired OAuth refresh token.\n\nWhen you receive a 500 Internal Server Error, ALWAYS follow these steps before concluding there is an issue:\n\nConnections that have been active for more than 1 month may have expired OAuth refresh tokens. To resolve:\n\nCreate a new connection for the app:\ncurl -s -X POST \"https://ctrl.maton.ai/connections\" -H \"Content-Type: application/json\" -H \"Authorization: Bearer $MATON_API_KEY\" -d '{\"app\": \"APP_NAME\"}'\n\n\n\nGet the OAuth URL by calling the GET connection endpoint with the new connection ID from step 1:\ncurl -s -X GET \"https://ctrl.maton.ai/connections/NEW_CONNECTION_ID\" -H \"Authorization: Bearer $MATON_API_KEY\"\n\n\n\nShare the returned url with the user and ask them to complete the OAuth flow in their browser.\n\n\nAfter the user completes OAuth, retry the original request using the new connection ID via the Maton-Connection header:\ncurl -s -X GET \"https://gateway.maton.ai/APP_NAME/...\" -H \"Authorization: Bearer $MATON_API_KEY\" -H \"Maton-Connection: NEW_CONNECTION_ID\"\n\n\n\nOnce the new connection status is ACTIVE and working, ask the user if they want to delete the old connection:\ncurl -s -X DELETE \"https://ctrl.maton.ai/connections/OLD_CONNECTION_ID\" -H \"Authorization: Bearer $MATON_API_KEY\""
      },
      {
        "title": "Rate Limits",
        "body": "10 requests per second per account\nTarget API rate limits also apply"
      },
      {
        "title": "Notes",
        "body": "IMPORTANT: When using curl commands, use curl -g when URLs contain brackets (fields[], sort[], records[]) to disable glob parsing\nIMPORTANT: When piping curl output to jq or other commands, environment variables like $MATON_API_KEY may not expand correctly in some shell environments. You may get \"Invalid API key\" errors when piping."
      },
      {
        "title": "Tips",
        "body": "Use native API docs: Refer to each service's official API documentation for endpoint paths and parameters.\n\n\nHeaders are forwarded: Custom headers (except Host and Authorization) are forwarded to the target API.\n\n\nQuery params work: URL query parameters are passed through to the target API.\n\n\nAll HTTP methods supported: GET, POST, PUT, PATCH, DELETE are all supported.\n\n\nQuickBooks special case: Use :realmId in the path and it will be replaced with the connected realm ID."
      },
      {
        "title": "Optional",
        "body": "Github\nDocumentation\nCommunity"
      }
    ],
    "body": "API Gateway\n\nPassthrough proxy for direct access to third-party APIs using managed auth connections. The API gateway lets you call native API endpoints directly.\n\nQuick Start\n# Native Slack API call\ncurl -s -X POST \"https://gateway.maton.ai/slack/api/chat.postMessage\" -H \"Content-Type: application/json\" -H \"Authorization: Bearer $MATON_API_KEY\" -d '{\"channel\": \"C0123456\", \"text\": \"Hello from gateway!\"}'\n\n\nIMPORTANT: If you receive a 500 Internal Server Error, this does NOT mean the service is unsupported. The most common cause is an expired OAuth refresh token (connections older than 1 month). See the \"Troubleshooting 500 Internal Server Error\" section below to create a new connection and retry with the new connection ID.\n\nBase URL\nhttps://gateway.maton.ai/{app}/{native-api-path}\n\n\nReplace {app} with the service name and {native-api-path} with the actual API endpoint path.\n\nAuthentication\n\nAll requests require the Maton API key in the Authorization header:\n\nAuthorization: Bearer $MATON_API_KEY\n\n\nThe API gateway automatically injects the appropriate OAuth token for the target service.\n\nEnvironment Variable: You can set your API key as the MATON_API_KEY environment variable:\n\nexport MATON_API_KEY=\"YOUR_API_KEY\"\n\nGetting Your API Key\nSign in or create an account at maton.ai\nGo to maton.ai/settings\nClick the copy button on the right side of API Key section to copy it\nConnection Management\n\nConnection management uses a separate base URL: https://ctrl.maton.ai\n\nList Connections\ncurl -s -X GET \"https://ctrl.maton.ai/connections?app=slack&status=ACTIVE\" -H \"Authorization: Bearer $MATON_API_KEY\"\n\n\nQuery Parameters (optional):\n\napp - Filter by service name (e.g., slack, hubspot, salesforce)\nstatus - Filter by connection status (ACTIVE, PENDING, FAILED)\n\nResponse:\n\n{\n  \"connections\": [\n    {\n      \"connection_id\": \"21fd90f9-5935-43cd-b6c8-bde9d915ca80\",\n      \"status\": \"ACTIVE\",\n      \"creation_time\": \"2025-12-08T07:20:53.488460Z\",\n      \"last_updated_time\": \"2026-01-31T20:03:32.593153Z\",\n      \"url\": \"https://connect.maton.ai/?session_token=5e9...\",\n      \"app\": \"slack\",\n      \"metadata\": {}\n    }\n  ]\n}\n\nCreate Connection\ncurl -s -X POST \"https://ctrl.maton.ai/connections\" -H \"Content-Type: application/json\" -H \"Authorization: Bearer $MATON_API_KEY\" -d '{\"app\": \"slack\"}'\n\nGet Connection\ncurl -s -X GET \"https://ctrl.maton.ai/connections/{connection_id}\" -H \"Authorization: Bearer $MATON_API_KEY\"\n\n\nResponse:\n\n{\n  \"connection\": {\n    \"connection_id\": \"21fd90f9-5935-43cd-b6c8-bde9d915ca80\",\n    \"status\": \"ACTIVE\",\n    \"creation_time\": \"2025-12-08T07:20:53.488460Z\",\n    \"last_updated_time\": \"2026-01-31T20:03:32.593153Z\",\n    \"url\": \"https://connect.maton.ai/?session_token=5e9...\",\n    \"app\": \"slack\",\n    \"metadata\": {}\n  }\n}\n\n\nOpen the returned URL in a browser to complete OAuth.\n\nDelete Connection\ncurl -s -X DELETE \"https://ctrl.maton.ai/connections/{connection_id}\" -H \"Authorization: Bearer $MATON_API_KEY\"\n\nSpecifying Connection\n\nIf you have multiple connections for the same app, you can specify which connection to use by adding the Maton-Connection header with the connection ID:\n\ncurl -s -X POST \"https://gateway.maton.ai/slack/api/chat.postMessage\" -H \"Content-Type: application/json\" -H \"Authorization: Bearer $MATON_API_KEY\" -H \"Maton-Connection: 21fd90f9-5935-43cd-b6c8-bde9d915ca80\" -d '{\"channel\": \"C0123456\", \"text\": \"Hello!\"}'\n\n\nIf omitted, the gateway uses the default (oldest) active connection for that app.\n\nSupported Services\nService\tApp Name\tBase URL Proxied\nAirtable\tairtable\tapi.airtable.com\nApollo\tapollo\tapi.apollo.io\nAsana\tasana\tapp.asana.com\nCalendly\tcalendly\tapi.calendly.com\nChargebee\tchargebee\t{subdomain}.chargebee.com\nClickUp\tclickup\tapi.clickup.com\nFathom\tfathom\tapi.fathom.ai\nGoogle Ads\tgoogle-ads\tgoogleads.googleapis.com\nGoogle Analytics Admin\tgoogle-analytics-admin\tanalyticsadmin.googleapis.com\nGoogle Analytics Data\tgoogle-analytics-data\tanalyticsdata.googleapis.com\nGoogle Calendar\tgoogle-calendar\twww.googleapis.com\nGoogle Docs\tgoogle-docs\tdocs.googleapis.com\nGoogle Drive\tgoogle-drive\twww.googleapis.com\nGoogle Forms\tgoogle-forms\tforms.googleapis.com\nGmail\tgoogle-mail\tgmail.googleapis.com\nGoogle Meet\tgoogle-meet\tmeet.googleapis.com\nGoogle Play\tgoogle-play\tandroidpublisher.googleapis.com\nGoogle Search Console\tgoogle-search-console\twww.googleapis.com\nGoogle Sheets\tgoogle-sheets\tsheets.googleapis.com\nGoogle Slides\tgoogle-slides\tslides.googleapis.com\nHubSpot\thubspot\tapi.hubapi.com\nJira\tjira\tapi.atlassian.com\nJotForm\tjotform\tapi.jotform.com\nKlaviyo\tklaviyo\ta.klaviyo.com\nMailchimp\tmailchimp\t{dc}.api.mailchimp.com\nNotion\tnotion\tapi.notion.com\nOutlook\toutlook\tgraph.microsoft.com\nPipedrive\tpipedrive\tapi.pipedrive.com\nQuickBooks\tquickbooks\tquickbooks.api.intuit.com\nSalesforce\tsalesforce\t{instance}.salesforce.com\nSlack\tslack\tslack.com\nStripe\tstripe\tapi.stripe.com\nTrello\ttrello\tapi.trello.com\nTypeform\ttypeform\tapi.typeform.com\nWhatsApp Business\twhatsapp-business\tgraph.facebook.com\nWooCommerce\twoocommerce\t{store-url}/wp-json/wc/v3\nXero\txero\tapi.xero.com\nYouTube\tyoutube\twww.googleapis.com\n\nSee references/ for detailed routing guides per provider:\n\nAirtable - Records, bases, tables\nApollo - People search, enrichment, contacts\nAsana - Tasks, projects, workspaces, webhooks\nCalendly - Event types, scheduled events, availability, webhooks\nChargebee - Subscriptions, customers, invoices\nClickUp - Tasks, lists, folders, spaces, webhooks\nFathom - Meeting recordings, transcripts, summaries, webhooks\nGoogle Ads - Campaigns, ad groups, GAQL queries\nGoogle Analytics Admin - Reports, dimensions, metrics\nGoogle Analytics Data - Reports, dimensions, metrics\nGoogle Calendar - Events, calendars, free/busy\nGoogle Docs - Document creation, batch updates\nGoogle Drive - Files, folders, permissions\nGoogle Forms - Forms, questions, responses\nGmail - Messages, threads, labels\nGoogle Meet - Spaces, conference records, participants\nGoogle Play - In-app products, subscriptions, reviews\nGoogle Search Console - Search analytics, sitemaps\nGoogle Sheets - Values, ranges, formatting\nGoogle Slides - Presentations, slides, formatting\nHubSpot - Contacts, companies, deals\nJira - Issues, projects, JQL queries\nJotForm - Forms, submissions, webhooks\nKlaviyo - Profiles, lists, campaigns, flows, events\nMailchimp - Audiences, campaigns, templates, automations\nNotion - Pages, databases, blocks\nOutlook - Mail, calendar, contacts\nPipedrive - Deals, persons, organizations, activities\nQuickBooks - Customers, invoices, reports\nSalesforce - SOQL, sObjects, CRUD\nSlack - Messages, channels, users\nStripe - Customers, subscriptions, payments\nTrello - Boards, lists, cards, checklists\nTypeform - Forms, responses, insights\nWhatsApp Business - Messages, templates, media\nWooCommerce - Products, orders, customers, coupons\nXero - Contacts, invoices, reports\nYouTube - Videos, playlists, channels, subscriptions\nExamples\nSlack - Post Message (Native API)\n# Native Slack API: POST https://slack.com/api/chat.postMessage\ncurl -s -X POST \"https://gateway.maton.ai/slack/api/chat.postMessage\" -H \"Content-Type: application/json; charset=utf-8\" -H \"Authorization: Bearer $MATON_API_KEY\" -d '{\"channel\": \"C0123456\", \"text\": \"Hello!\"}'\n\nHubSpot - Create Contact (Native API)\n# Native HubSpot API: POST https://api.hubapi.com/crm/v3/objects/contacts\ncurl -s -X POST \"https://gateway.maton.ai/hubspot/crm/v3/objects/contacts\" -H \"Content-Type: application/json\" -H \"Authorization: Bearer $MATON_API_KEY\" -d '{\"properties\": {\"email\": \"john@example.com\", \"firstname\": \"John\", \"lastname\": \"Doe\"}}'\n\nGoogle Sheets - Get Spreadsheet Values (Native API)\n# Native Sheets API: GET https://sheets.googleapis.com/v4/spreadsheets/{id}/values/{range}\ncurl -s -X GET \"https://gateway.maton.ai/google-sheets/v4/spreadsheets/122BS1sFN2RKL8AOUQjkLdubzOwgqzPT64KfZ2rvYI4M/values/Sheet1!A1:B2\" -H \"Authorization: Bearer $MATON_API_KEY\"\n\nSalesforce - SOQL Query (Native API)\n# Native Salesforce API: GET https://{instance}.salesforce.com/services/data/v64.0/query?q=...\ncurl -s -X GET \"https://gateway.maton.ai/salesforce/services/data/v64.0/query?q=SELECT+Id,Name+FROM+Contact+LIMIT+10\" -H \"Authorization: Bearer $MATON_API_KEY\"\n\nAirtable - List Tables (Native API)\n# Native Airtable API: GET https://api.airtable.com/v0/meta/bases/{id}/tables\ncurl -s -X GET \"https://gateway.maton.ai/airtable/v0/meta/bases/appgqan2NzWGP5sBK/tables\" -H \"Authorization: Bearer $MATON_API_KEY\"\n\nNotion - Query Database (Native API)\n# Native Notion API: POST https://api.notion.com/v1/data_sources/{id}/query\ncurl -s -X POST \"https://gateway.maton.ai/notion/v1/data_sources/23702dc5-9a3b-8001-9e1c-000b5af0a980/query\" -H \"Content-Type: application/json\" -H \"Authorization: Bearer $MATON_API_KEY\" -H \"Notion-Version: 2025-09-03\" -d '{}'\n\nStripe - List Customers (Native API)\n# Native Stripe API: GET https://api.stripe.com/v1/customers\ncurl -s -X GET \"https://gateway.maton.ai/stripe/v1/customers?limit=10\" -H \"Authorization: Bearer $MATON_API_KEY\"\n\nCode Examples\nJavaScript (Node.js)\nconst response = await fetch('https://gateway.maton.ai/slack/api/chat.postMessage', {\n  method: 'POST',\n  headers: {\n    'Content-Type': 'application/json',\n    'Authorization': `Bearer ${process.env.MATON_API_KEY}`\n  },\n  body: JSON.stringify({ channel: 'C0123456', text: 'Hello!' })\n});\n\nPython\nimport os\nimport requests\n\nresponse = requests.post(\n    'https://gateway.maton.ai/slack/api/chat.postMessage',\n    headers={'Authorization': f'Bearer {os.environ[\"MATON_API_KEY\"]}'},\n    json={'channel': 'C0123456', 'text': 'Hello!'}\n)\n\nError Handling\nStatus\tMeaning\n400\tMissing connection for the requested app\n401\tInvalid or missing Maton API key\n429\tRate limited (10 requests/second per account)\n500\tInternal Server Error (see troubleshooting below)\n4xx/5xx\tPassthrough error from the target API\n\nErrors from the target API are passed through with their original status codes and response bodies.\n\nTroubleshooting 500 Internal Server Error\n\nIMPORTANT: A 500 Internal Server Error does NOT mean the service is unsupported. If the app is listed in the Supported Services table above, the error is likely due to an expired OAuth refresh token.\n\nWhen you receive a 500 Internal Server Error, ALWAYS follow these steps before concluding there is an issue:\n\nConnections that have been active for more than 1 month may have expired OAuth refresh tokens. To resolve:\n\nCreate a new connection for the app:\n\ncurl -s -X POST \"https://ctrl.maton.ai/connections\" -H \"Content-Type: application/json\" -H \"Authorization: Bearer $MATON_API_KEY\" -d '{\"app\": \"APP_NAME\"}'\n\n\nGet the OAuth URL by calling the GET connection endpoint with the new connection ID from step 1:\n\ncurl -s -X GET \"https://ctrl.maton.ai/connections/NEW_CONNECTION_ID\" -H \"Authorization: Bearer $MATON_API_KEY\"\n\n\nShare the returned url with the user and ask them to complete the OAuth flow in their browser.\n\nAfter the user completes OAuth, retry the original request using the new connection ID via the Maton-Connection header:\n\ncurl -s -X GET \"https://gateway.maton.ai/APP_NAME/...\" -H \"Authorization: Bearer $MATON_API_KEY\" -H \"Maton-Connection: NEW_CONNECTION_ID\"\n\n\nOnce the new connection status is ACTIVE and working, ask the user if they want to delete the old connection:\n\ncurl -s -X DELETE \"https://ctrl.maton.ai/connections/OLD_CONNECTION_ID\" -H \"Authorization: Bearer $MATON_API_KEY\"\n\nRate Limits\n10 requests per second per account\nTarget API rate limits also apply\nNotes\nIMPORTANT: When using curl commands, use curl -g when URLs contain brackets (fields[], sort[], records[]) to disable glob parsing\nIMPORTANT: When piping curl output to jq or other commands, environment variables like $MATON_API_KEY may not expand correctly in some shell environments. You may get \"Invalid API key\" errors when piping.\nTips\n\nUse native API docs: Refer to each service's official API documentation for endpoint paths and parameters.\n\nHeaders are forwarded: Custom headers (except Host and Authorization) are forwarded to the target API.\n\nQuery params work: URL query parameters are passed through to the target API.\n\nAll HTTP methods supported: GET, POST, PUT, PATCH, DELETE are all supported.\n\nQuickBooks special case: Use :realmId in the path and it will be replaced with the connected realm ID.\n\nOptional\nGithub\nDocumentation\nCommunity"
  },
  "trust": {
    "sourceLabel": "tencent",
    "provenanceUrl": "https://clawhub.ai/Makforce/api-gateway-1-0-7",
    "publisherUrl": "https://clawhub.ai/Makforce/api-gateway-1-0-7",
    "owner": "Makforce",
    "version": "1.0.0",
    "license": null,
    "verificationStatus": "Indexed source record"
  },
  "links": {
    "detailUrl": "https://openagent3.xyz/skills/api-gateway-1-0-7",
    "downloadUrl": "https://openagent3.xyz/downloads/api-gateway-1-0-7",
    "agentUrl": "https://openagent3.xyz/skills/api-gateway-1-0-7/agent",
    "manifestUrl": "https://openagent3.xyz/skills/api-gateway-1-0-7/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/api-gateway-1-0-7/agent.md"
  }
}