Skip to content
Back to skills

Api

ASecurity

Integrate 100+ REST APIs with secure multi-account credential management. GitHub, Twilio, Slack, HubSpot, Shopify, and more.

  • 2 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added November 11, 2026
businessgobashdebugginggitapidatabasesecuritydocumentation

Works with

  • cli
  • api

Security analysis

A96/100
  • mediumUses curl or wget to download content

Pro scans all 14 files and shows the line behind each finding

Scanned November 11, 2026

npx -y skills add johnalbertini14-glitch/openclaw-skills --skill api --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Api?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Api
[![Security: A โ€” Skills Directory](https://www.skillsdirectory.com/api/skills/johnalbertini14-glitch-api/badge)](https://www.skillsdirectory.com/skills/johnalbertini14-glitch-api)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: API (Stripe, OpenAI, Notion & 100+ more)
slug: api
version: 1.2.1
homepage: https://clawic.com/skills/api
description: Integrate 100+ REST APIs with secure multi-account credential management. GitHub, Twilio, Slack, HubSpot, Shopify, and more.
changelog: Multi-account credential system, dynamic API discovery, 100+ documented APIs.
metadata: {"clawdbot":{"emoji":"๐Ÿ”Œ","requires":{"anyBins":["curl","jq"]},"os":["linux","darwin","win32"]}}
---

# API

Integrate any API fast. 100+ services documented with authentication, endpoints, and gotchas.

## Setup

On first use, read `setup.md` for integration guidelines and credential setup.

## When to Use

User needs to integrate a third-party API. Agent provides:
- Authentication setup with multi-account support
- Endpoint documentation with curl examples
- Rate limits, pagination patterns, and gotchas
- Credential naming conventions for multiple accounts

## Architecture

```
apis/                    # 100+ API reference files
  โ”œโ”€โ”€ stripe.md
  โ”œโ”€โ”€ openai.md
  โ”œโ”€โ”€ notion.md
  โ””โ”€โ”€ ...

~/api/                   # User preferences (created on first use)
  โ”œโ”€โ”€ preferences.md     # Default account selection, language
  โ””โ”€โ”€ accounts.md        # Registry of configured accounts
```

## Quick Reference

| File | Purpose |
|------|---------|
| `setup.md` | First-time setup and guidelines |
| `credentials.md` | Multi-account credential system |
| `memory-template.md` | Memory template for preferences |
| `auth.md` | Authentication pattern traps |
| `pagination.md` | Pagination pattern traps |
| `resilience.md` | Retry and error handling |
| `webhooks.md` | Webhook security patterns |
| `apis/{service}.md` | API-specific documentation |

## Core Rules

1. **Check API docs first** โ€” Read `apis/{service}.md` before making any call. Each file has auth, endpoints, rate limits, and gotchas specific to that service.

2. **Use multi-account credentials** โ€” Store credentials with naming format `{SERVICE}_{ACCOUNT}_{TYPE}`. Example: `STRIPE_PROD_API_KEY`, `STRIPE_TEST_API_KEY`, `STRIPE_CLIENT_ACME_API_KEY`.

3. **Always include Content-Type** โ€” POST/PUT/PATCH requests need `Content-Type: application/json`. Omitting causes silent 415 errors on many APIs.

4. **Handle rate limits proactively** โ€” Track `X-RateLimit-Remaining` header. Throttle before hitting 0, don't wait for 429. Respect `Retry-After` header.

5. **Validate response schema** โ€” Some APIs return 200 with error in body. Always check response structure, not just status code.

6. **Use idempotency keys** โ€” For payments and critical operations, include idempotency key to prevent duplicates on retry.

7. **Never log credentials** โ€” Use environment variables directly. Never echo, print, or commit credentials to files.

## Credential Management

Use environment variables with multi-account naming convention:

```bash
# Set for current session
export STRIPE_PROD_API_KEY="sk_live_xxx"

# Use in API call
curl https://api.stripe.com/v1/charges -H "Authorization: Bearer $STRIPE_PROD_API_KEY"
```

**Naming format:** `{SERVICE}_{ACCOUNT}_{TYPE}`
- `STRIPE_PROD_API_KEY` โ€” Production
- `STRIPE_TEST_API_KEY` โ€” Development  
- `STRIPE_CLIENT_ACME_API_KEY` โ€” Client project

See `credentials.md` for persistent storage options and multi-account workflows.

## Available APIs (147)

All API documentation is in `apis/`. Categories include:

**AI/ML:** anthropic, openai, cohere, groq, mistral, perplexity, huggingface, replicate, stability, elevenlabs, deepgram, assemblyai, together, anyscale

**Payments:** stripe, paypal, square, plaid, chargebee, paddle, lemonsqueezy, recurly, wise, coinbase, binance, alpaca, polygon

**Communication:** twilio, sendgrid, mailgun, postmark, resend, mailchimp, slack, discord, telegram, zoom, sendbird, stream-chat, pusher, ably, onesignal, courier, knock, novu

**CRM/Sales:** salesforce, hubspot, pipedrive, attio, close, apollo, outreach, gong, drift, crisp, front, customer-io, braze, iterable, klaviyo

**Developer:** github, gitlab, bitbucket, vercel, netlify, railway, render, fly, digitalocean, heroku, cloudflare, circleci, pagerduty, launchdarkly, split, statsig

**Database/Auth:** supabase, firebase, planetscale, neon, upstash, mongodb, fauna, xata, convex, appwrite, clerk, auth0, workos, stytch

**Media:** cloudinary, mux, bunny, imgix, uploadthing, uploadcare, transloadit, vimeo, youtube, spotify, unsplash, pexels, giphy, tenor

**Social:** twitter, linkedin, instagram, tiktok, pinterest, reddit, twitch

**Productivity:** notion, airtable, google-sheets, google-drive, google-calendar, dropbox, linear, jira, asana, trello, monday, clickup, figma, calendly, cal, loom, typeform

**Other:** shopify, docusign, hellosign, bitly, dub, openweather, mapbox, google-maps, intercom, zendesk, freshdesk, helpscout, mixpanel, amplitude, posthog, segment, sentry, datadog, algolia

```bash
# List all APIs
ls apis/

# Search by name
ls apis/ | grep -i payment

# Read specific API
cat apis/stripe.md
```

## Common Traps

- **Missing Content-Type** โ€” POST without `Content-Type: application/json` causes silent 415 errors
- **API keys in URLs** โ€” Query params get logged in access logs, always use headers
- **Ignoring pagination** โ€” Most APIs default to 10-25 items, always paginate
- **Not handling 429** โ€” Implement exponential backoff with jitter
- **Assuming 200 = success** โ€” Check response body for error objects
- **No idempotency keys** โ€” Retries cause duplicate charges/actions
- **Hardcoding credentials** โ€” Use environment variables, never hardcode in source code

## External Endpoints

This skill documents how to call external APIs. Calls go directly from your machine to the API provider. No data is proxied or stored.

| Provider | Base URL | Auth |
|----------|----------|------|
| Various | See `apis/{service}.md` | API Key / OAuth |

## Security & Privacy

**Credentials:** Stored in environment variables with naming convention `{SERVICE}_{ACCOUNT}_{TYPE}`.

**Multi-account:** Each account isolated with unique environment variable names. Naming convention prevents conflicts.

**This skill does NOT:**
- Store credentials in files
- Make requests on your behalf
- Send data to any third party
- Proxy API calls

You control all API calls directly.

## Related Skills
Install with `clawhub install <slug>` if user confirms:

- `http` โ€” HTTP request patterns and debugging
- `webhook` โ€” Webhook handling and security
- `json` โ€” JSON processing and jq patterns

## Feedback

- If useful: `clawhub star api`
- Stay updated: `clawhub sync`

Files in this skill

  • SKILL.md6.5 KB
  • _meta.json654 B
  • apis/github.md2.2 KB
  • apis/notion.md3.2 KB
  • apis/openai.md2.5 KB
  • apis/slack.md2.3 KB
  • apis/stripe.md1.8 KB
  • auth.md1.6 KB
  • credentials.md2.8 KB
  • memory-template.md725 B
  • pagination.md1.7 KB
  • resilience.md1.7 KB
  • setup.md1.3 KB
  • webhooks.md1.7 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in business โ†’

Comments

Loading commentsโ€ฆ

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.