Token导航 LogoToken导航TokenDH.com
研究检索敏感数据github未标认证来源可访问许可证需确认审计提醒

evolution-apievolution API 搜索

Agent Skill

用于辅助 API 设计、接口文档、请求响应结构和服务集成说明。它适合让 Agent 梳理 endpoint、生成 OpenAPI 草稿、检查字段命名、整理错误码或辅助前后端联调。使用时需要确认真实业务语义、鉴权方式、分页和错误处理规则;涉及生成接口文档时,应避免凭空补字段,最好从现有代码、schema 或接口样例中提取事实。

总安装

2,157

周安装

89

GitHub Stars

323

下载量

705
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:evolution-api(evolution API 搜索)
来源仓库:https://github.com/pedronauck/skills
仓库路径:skills/evolution-api
安装命令:
npx skills add https://github.com/pedronauck/skills --skill evolution-api
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/pedronauck/skills --skill evolution-api

简介

evolution-api 用于辅助 API 设计、接口文档和请求响应结构梳理。

  • 适合让 Agent 生成 OpenAPI 草稿、检查字段命名或整理错误码。
  • 使用时需确认真实业务语义、鉴权方式和分页规则。
  • 避免凭空补字段,应基于现有代码或接口样例提取事实。
  • 通过 npx skills add 命令从指定 GitHub 仓库安装并使用。

SKILL.md

Evolution API

Open-source WhatsApp integration API supporting Baileys (WhatsApp Web) and official WhatsApp Business API (Cloud API). Built with Node.js + TypeScript + Express.js + Prisma.

Authentication

All requests use the apikey header. Two levels of keys exist:

  • Global API Key: Set via AUTHENTICATION_API_KEY env var. Has full access to all instances.
  • Instance Token: Per-instance key returned on creation. Scoped to that instance only.
apikey: YOUR_API_KEY

Every request follows this pattern:

curl --request <METHOD> \
  --url https://<SERVER_URL>/<path>/{instanceName} \
  --header 'Content-Type: application/json' \
  --header 'apikey: <api-key>' \
  --data '<json-body>'

Instance Lifecycle

Create Instance

POST /instance/create

{
  "instanceName": "my-instance",
  "integration": "WHATSAPP-BAILEYS",
  "token": "optional-custom-token",
  "qrcode": true,
  "number": "5511999999999",
  "rejectCall": true,
  "msgCall": "I can't answer calls",
  "groupsIgnore": true,
  "alwaysOnline": true,
  "readMessages": true,
  "readStatus": true,
  "syncFullHistory": true,
  "webhook": {
    "url": "https://your-server.com/webhook",
    "byEvents": false,
    "base64": true,
    "headers": { "authorization": "Bearer token" },
    "events": ["MESSAGES_UPSERT", "CONNECTION_UPDATE"]
  }
}

Response (201):

{
  "instance": {
    "instanceName": "my-instance",
    "instanceId": "af6c5b7c-ee27-4f94-9ea8-192393746ddd",
    "status": "created"
  },
  "hash": { "apikey": "generated-instance-token" },
  "qrcode": { "base64": "data:image/png;base64,..." }
}

The integration field accepts:

  • WHATSAPP-BAILEYS — Free, based on WhatsApp Web (Baileys library)
  • WHATSAPP-BUSINESS — Official Meta Cloud API (requires Facebook App setup)

Connect Instance (get QR code)

GET /instance/connect/{instanceName}

Returns QR code as base64 for scanning with WhatsApp mobile app.

Check Connection State

GET /instance/connectionState/{instanceName}

Returns: open, close, or connecting.

Other Instance Operations

MethodEndpointDescription
GET/instance/fetchInstancesList all instances
PUT/instance/restart/{instance}Restart instance
DELETE/instance/logout/{instance}Logout (keep instance)
DELETE/instance/delete/{instance}Delete instance entirely
POST/instance/setPresence/{instance}Set online/offline status

Sending Messages

Text Message

POST /message/sendText/{instanceName}

{
  "number": "5511999999999",
  "text": "Hello from Evolution API!",
  "delay": 1200,
  "linkPreview": true,
  "mentionsEveryOne": false,
  "mentioned": ["5511888888888@s.whatsapp.net"]
}

Response (201):

{
  "key": {
    "remoteJid": "5511999999999@s.whatsapp.net",
    "fromMe": true,
    "id": "BAE594145F4C59B4"
  },
  "message": { "extendedTextMessage": { "text": "Hello from Evolution API!" } },
  "messageTimestamp": "1717689097",
  "status": "PENDING"
}

Number format: Use full international format without + sign. For groups, use the group JID (e.g., 120363025486748009@g.us).

Reply / Quote a Message

Add quoted to any send payload:

{
  "number": "5511999999999",
  "text": "This is a reply",
  "quoted": {
    "key": { "id": "ORIGINAL_MESSAGE_ID" },
    "message": { "conversation": "Original message text" }
  }
}

Media Message

POST /message/sendMedia/{instanceName}

{
  "number": "5511999999999",
  "mediatype": "image",
  "mimetype": "image/png",
  "caption": "Check this out",
  "media": "https://example.com/image.png"
}

mediatype options: image, video, document. media accepts a URL or base64-encoded string.

Audio Message

POST /message/sendWhatsAppAudio/{instanceName}

{
  "number": "5511999999999",
  "audio": "https://example.com/audio.mp3"
}

Audio is automatically converted to WhatsApp PTT (push-to-talk) format.

Other Message Types

EndpointBody fieldsNotes
POST /message/sendLocation/{instance}number, latitude, longitude, name, address
POST /message/sendContact/{instance}number, contact: [{fullName, wuid, phoneNumber}]
POST /message/sendReaction/{instance}key: {remoteJid, fromMe, id}, reactionUse empty string to remove
POST /message/sendPoll/{instance}number, name, values[], selectableCount
POST /message/sendList/{instance}number, title, description, buttonText, footerText, sections[]
POST /message/sendButtons/{instance}number, title, description, buttons[], footer
POST /message/sendSticker/{instance}number, sticker (URL or base64)
POST /message/sendStatus/{instance}type, content, statusJidList[], captionPost to WhatsApp Status

Webhook Configuration

Set Webhook via API

POST /webhook/set/{instanceName}

{
  "webhook": {
    "enabled": true,
    "url": "https://your-server.com/webhook",
    "webhookByEvents": false,
    "webhookBase64": true,
    "events": [
      "MESSAGES_UPSERT",
      "MESSAGES_UPDATE",
      "CONNECTION_UPDATE",
      "SEND_MESSAGE"
    ]
  }
}

When webhookByEvents is true, events are sent to {url}/{EVENT_NAME} (e.g., /webhook/MESSAGES_UPSERT).

Get Webhook Config

GET /webhook/find/{instanceName}

For the complete list of available events, see references/events.md.

Chat Operations

MethodEndpointBodyDescription
POST/chat/checkIsWhatsApp/{instance}numbers: ["5511..."]Verify numbers on WhatsApp
POST/chat/findMessages/{instance}where: {key: {remoteJid}}Search messages
POST/chat/findChats/{instance}{}List all chats
POST/chat/findContacts/{instance}where: {id}Search contacts
POST/chat/markMessageAsRead/{instance}readMessages: [{remoteJid, id}]Mark as read
POST/chat/archiveChat/{instance}chat, archive: trueArchive/unarchive chat
DELETE/chat/deleteMessageForEveryone/{instance}key: {remoteJid, fromMe, id}Delete for everyone
POST/chat/updateMessage/{instance}number, text, key: {id}Edit sent message
POST/chat/sendPresence/{instance}number, presenceShow typing/recording
POST/chat/getBase64/{instance}message: {key}Get media as base64

presence values: composing, recording, paused.

Group Management

MethodEndpointBody / ParamsDescription
POST/group/create/{instance}subject, participants[]Create group
GET/group/fetchAllGroups/{instance}query: getParticipants=trueList all groups
GET/group/findGroupInfos/{instance}?groupJid=query paramGroup details
GET/group/inviteCode/{instance}?groupJid=query paramGet invite link
GET/group/participants/{instance}?groupJid=query paramList members
POST/group/updateParticipant/{instance}groupJid, action, participants[]Add/remove/promote/demote
POST/group/updateSetting/{instance}groupJid, actionLock/unlock group settings
POST/group/toggleEphemeral/{instance}groupJid, expirationSet disappearing messages
DELETE/group/leaveGroup/{instance}groupJidLeave group

action for participants: add, remove, promote, demote.

Profile Settings

MethodEndpointDescription
POST/profile/fetchProfile/{instance}Fetch profile info
POST/profile/updateProfileName/{instance}Update display name
POST/profile/updateProfileStatus/{instance}Update status text
POST/profile/updateProfilePicture/{instance}Update avatar
DELETE/profile/removeProfilePicture/{instance}Remove avatar
GET/profile/fetchPrivacySettings/{instance}Get privacy settings
POST/profile/updatePrivacySettings/{instance}Update privacy

Integrations

Evolution API supports chatbot integrations configured per-instance:

IntegrationEndpoints prefixDescription
Typebot/typebot/Conversational bot flows
Chatwoot/chatwoot/Help desk / CRM
OpenAI/openai/AI-powered bots + audio transcription
Dify/dify/AI agent platform
n8n/n8n/Workflow automation
Flowise/flowise/LLM flow builder
EvoAI/evoai/Evolution's own AI bot

Each integration follows the CRUD pattern: create, find, update, delete, settings, change-status, fetch-session.

Event Delivery Channels

Beyond webhooks, Evolution API can deliver events via:

  • RabbitMQPOST /rabbitmq/set/{instance}
  • Amazon SQSPOST /sqs/set/{instance}
  • WebSocket (Socket.io)POST /websocket/set/{instance}
  • Apache Kafka — Via environment variables

Advanced References

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Codex

34.82%
按下载量换算245

Claude

31.62%
按下载量换算223

Cursor

18.33%
按下载量换算129

Gemini CLI

8.72%
按下载量换算61

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

可疑

权限和风险

敏感数据

该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在 warning/failed 结果,不能写成本站确认安全。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills