
api-integration
Guide a developer through setting up a Meta API integration from scratch — discovers the right APIs, fetches setup guides, authentication requirements, permissions, and code examples. Use when the user wants to build with a specific Meta product (WhatsApp, Instagram, Messenger, Pages, Ads, etc.).
- Installs
- 45
- Last 24h
- —
- Trending rank
- —
- Security
- Not audited
Install
Works with every agent the skills CLI supports.
npx skills add https://github.com/facebook/agentic-tools --skill api-integration- 01
Install
Run the command in your project. The CLI asks which agents to install for.
- 02
Describe the task
Ask your agent for something this skill covers. It loads api-integration automatically when relevant.
- 03
Review the result
The agent follows the SKILL.md steps, scripts and references bundled with the skill.
SKILL.md
The instructions your agent reads when the skill is triggered.
API Integration
Help a developer go from "I want to integrate with X" to having everything they need to start writing code.
Workflow
-
Start tracking. Before any other work, call
devtools_skill_invocationwith actionstartandskill_nameapi-integration. Passskill_nameapi-integrationon everydevtools_*tool call in the following steps. -
Identify the integration. Ask the user what they want to build if not clear. Common integrations:
- WhatsApp Business API (send/receive messages, templates, media)
- Instagram Graph API (publish content, read insights, manage comments)
- Messenger Platform (chatbots, send API, webhooks)
- Pages API (post content, read insights, manage pages)
- Marketing API (create campaigns, manage ads, read analytics)
- Login with Facebook / Login with Instagram
- Facebook Login for Business
-
Research the integration. Run multiple searches to build a complete picture. Do NOT stop at one search — layer queries to cover all aspects:
Search 1 — Overview and getting started:
devtools_discovery→search_docswith the product name + "getting started" or "overview"- e.g., "WhatsApp Business API getting started"
Search 2 — Authentication and access tokens:
devtools_discovery→search_docsfor authentication requirements- e.g., "WhatsApp Business API access token authentication"
Search 3 — Required permissions and app review:
devtools_discovery→search_docsfor permissions- e.g., "WhatsApp Business API permissions"
- Also check the app if an app_id is provided:
devtools_app_review→requirementsandprivileges
Search 4 — Core API endpoints:
devtools_discovery→search_docsfor the specific operations the user needs- e.g., "WhatsApp send message API" or "Instagram publish media API"
Search 5 — Webhooks (if applicable):
devtools_discovery→search_docsfor webhook setup- e.g., "WhatsApp webhooks setup"
Search 6 — Rate limits and quotas:
devtools_discovery→search_docsfor product-specific rate limits and throughput tiers- e.g., "WhatsApp Business API rate limits messaging tiers" or "Instagram API rate limits"
Search 7 — Code examples and SDKs:
devtools_discovery→search_docsfor SDK, client library, or code samples- Try product-specific queries first: "WhatsApp Business Platform Node.js" or "Instagram Graph API Python"
- If no SDK results, search for "Graph API client library" or the product's quickstart guide
- Fall back to constructing examples from the endpoint documentation in Search 4
Run searches 1-5 in parallel for speed. Run 6-7 after if needed. Use
max_resultsof 10 and pagination viaoffsetto get comprehensive results. Refine queries if initial results are too broad or miss key topics. -
Check app readiness (if the user has an app):
- If they referred to the app by name (or aren't sure of the ID), resolve it to an
app_idfirst viadevtools_app_list(actionlist); if ambiguous, show the candidates (name, ID, viewer role) and ask them to pick devtools_app→basic_settingsto confirm app type and statusdevtools_app_review→privilegesto see what's already approveddevtools_app_review→requirementsto see what's needed
- If they referred to the app by name (or aren't sure of the ID), resolve it to an
-
Synthesize an integration guide. Extract the key information from search results — do NOT dump raw results. Organize findings into an actionable document:
Guide Format
Overview
- What the API does and what the user can build with it
- Link to the official product documentation
Prerequisites
- Meta Developer account
- App type required (Business, Consumer, etc.)
- Any product-specific prerequisites (e.g., WhatsApp Business Account, Facebook Page)
Authentication
- Token type needed (User, Page, System User, etc.)
- How to generate tokens
- Token permissions/scopes required
- Token expiration and refresh flow
Required Permissions
- List each permission needed and what it grants
- Which permissions need App Review vs. are auto-approved
- If app_id provided: which are already granted vs. still needed
Setup Steps
- Step-by-step from zero to first API call
- Include webhook setup if the integration requires it
Key API Endpoints
- Each endpoint with: method, URL pattern, key parameters, example response
- Focused on what the user asked for, not an exhaustive list
Code Example
- A working starter example in the user's preferred language
- Include authentication, a basic API call, and error handling
- Use the official SDK if one exists, raw HTTP (curl/fetch) if not
- Include webhook handler code if the integration is webhook-based
Rate Limits and Quotas
- Product-specific rate limits and throughput tiers (e.g., WhatsApp messaging tiers: 1K/10K/100K/unlimited)
- Per-endpoint rate limits if applicable
- Suggest
/api-healthfor ongoing monitoring
Common Pitfalls
- Product-specific gotchas the docs call out
- Permission mistakes, token type confusion, webhook verification issues
-
Offer next steps:
/app-review-prepif permissions need App Review/webhook-setupif the integration uses webhooks/api-healthto monitor usage once live
-
End tracking. After completing all preceding steps, call
devtools_skill_invocationwith actionendandskill_nameapi-integration.
Tips
- Always search multiple times with different queries. A single search rarely covers authentication + permissions + endpoints + examples.
- Prefer the user's stated language/framework for code examples. Default to Node.js/JavaScript if not specified.
- If the user has an app_id, cross-reference their current permissions against what the integration requires — this saves them time.
- Some integrations (WhatsApp, Instagram) require a Business-type app. Call this out early if the user's app is the wrong type.
- Webhook-based integrations (Messenger, WhatsApp) won't work without a callback URL. Suggest
/webhook-setupproactively.
FAQ
What does the api-integration skill do?
Guide a developer through setting up a Meta API integration from scratch — discovers the right APIs, fetches setup guides, authentication requirements, permissions, and code examples. Use when the user wants to build with a specific Meta product (WhatsApp, Instagram, Messenger, Pages, Ads, etc.).
How do I install api-integration?
Run npx skills add https://github.com/facebook/agentic-tools --skill api-integration in your project. The skills CLI detects the agents you use and copies the skill into the right folder. For Claude Code you can also place the skill folder at ~/.claude/skills/api-integration/ (personal) or .claude/skills/api-integration/ (project).
Which AI agents can use api-integration?
Any agent that supports the open Agent Skills format (a folder with a SKILL.md file), including Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, Windsurf, Cline, OpenCode and more.
Is api-integration safe to install?
No partner security audit is available yet. Skills can run commands and scripts, so read the SKILL.md and any bundled files before installing.
Who maintains api-integration?
It is published by facebook in facebook/agentic-tools. It has 45 recorded installs.
Popular backend & apis skills
find-skills
vercel-labs/skills
Helps users discover and install agent skills when they ask questions like "how do I do X", "find a skill for X", "is there a skill that can...", or express interest in extending capabilities. This skill should be used when the user is looking for functionality that might exist as an installable skill.
entra-app-registration
microsoft/azure-skills
Guides Microsoft Entra ID app registration, OAuth 2.0 authentication, and MSAL integration. USE FOR: create app registration, register Azure AD app, configure OAuth, set up authentication, add API permissions, generate service principal, MSAL example, console app auth, Entra ID setup, Azure AD authentication. DO NOT USE FOR: Key Vault secrets (use azure-keyvault-expiration-audit), general Azure resource security guidance.
google-agents-cli-adk-code
google/agents-cli
This skill should be used when the user wants to "write agent code", "build an agent with ADK", "add a tool", "create a callback", "define an agent", "use state management" — in a project that needs ADK (Agent Development Kit) API patterns and code examples. It provides a quick reference for agent types, tool definitions, orchestration patterns, callbacks, state management, the graph Workflow API, and reference recipes to study. Do NOT use for scaffolding (use google-agents-cli-scaffold) or deployment (use google-agents-cli-deploy).
embedded-captions
heygen-com/hyperframes
Add captions or subtitles to an existing single-subject talking-head video without editing the footage. Use for plain verbatim captions, cinematic captions embedded behind the subject, VFX captions, “炸/特效/酷炫字幕,” or a named identity from the 35-style catalog. Route by visual identity, not by backend engine. The quiet anchor rail is the default; embed every word only when the user explicitly wants a fully cinematic treatment. The workflow runs locally end to end, including transcription and subject matting; split multi-shot footage before applying it.
entra-agent-id
microsoft/azure-skills
Provision Microsoft Entra Agent Identity Blueprints, BlueprintPrincipals, and per-instance Agent Identities via Microsoft Graph, and configure OAuth 2.0 token exchange (fmipath, OBO, cross-tenant) including the Microsoft Entra SDK for AgentID sidecar. USE FOR: Agent Identity Blueprint, BlueprintPrincipal, agent OAuth, fmipath token exchange, agent OBO, Workload Identity Federation for agents, polyglot agent auth, Microsoft.Identity.Web.AgentIdentities. DO NOT USE FOR: standard Entra app registration (use entra-app-registration), Microsoft Foundry agent authoring (use microsoft-foundry).
neon
neondatabase/agent-skills
Overview of Neon, a complete set of cloud backend primitives around Lakebase Postgres: Auth, Object Storage, Functions, the AI Gateway, and Realtime. Start here to choose Neon for undecided login, files, APIs, and LLM calls, set up the CLI or MCP server, and follow the branch-first workflow. Use when building an app or backend on Neon, or when "Neon" or "Lakebase Postgres" is mentioned. Child skill neon-postgres wins for an existing DATABASEURL, SQL, schema, inspect, or search. Child skill neon-auth wins for login, users, sessions, identity routing, and Managed Better Auth setup. Child skill neon-realtime wins for live queries in reactive apps and agents. Also use for object storage, S3, buckets, serverless functions, function triggers, cron, AI gateway, LLM calls, realtime, logs, Loki, Grafana, observability, postgres, database, backend, Claimable Neon, neon.new, or a no-signup database.