Token导航 LogoToken导航TokenDH.com
开发external-serviceclawhub未标认证来源可访问clear审计通过

green-apigreen API 文档

Agent Skill

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

总安装

3,528

周安装

150

GitHub Stars

公开资料未说明

下载量

1,236
OpenClaw

安装说明

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

GitHub

来源数

2

许可证

MIT-0

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

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

命令行安装

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

ClawHubOpenClaw
openclaw skills install green-api

简介

通过 GREEN-API MCP 网关发送和接收 WhatsApp 消息、管理群组、联系人和实例。

SKILL.md

name
green-api
version
1.0.0
description
Send and receive WhatsApp messages, manage groups, contacts, and instances via GREEN-API MCP gateway.
homepage
https://green-api.com
metadata
{ "openclaw": { "emoji": "💬" } }

GREEN-API WhatsApp Skill

Use this skill when the user wants to send or receive WhatsApp messages, manage contacts, groups, or WhatsApp instances via GREEN-API.

Connection

Before using any tools, connect an instance with whatsapp_connect by providing instance_id and api_token (from console.green-api.com). This validates credentials and stores them for the session.

Call whatsapp_disconnect when done.

Chat ID format

  • Personal chats: 79876543210@c.us (phone number in international format + @c.us)
  • Group chats: 120363XXX@g.us or 79876543210-1581234048@g.us

Tools

Session

ToolDescription
whatsapp_connectConnect instance (required first). Params: instance_id, api_token, optional api_url
whatsapp_disconnectDisconnect instance and clear credentials

Messaging

ToolDescription
whatsapp_send_messageSend text message. Params: instance_id, chat_id, message, optional quoted_message_id, link_preview
whatsapp_send_fileSend file by URL. Params: instance_id, chat_id, url, optional file_name, caption
whatsapp_upload_fileUpload file to GREEN-API storage, returns URL. Params: instance_id, file_base64, filename. Use returned URL with whatsapp_send_file
whatsapp_send_file_by_uploadSend file directly via base64 (no separate upload step). Params: instance_id, chat_id, file_base64, filename, optional caption
whatsapp_send_locationSend location. Params: instance_id, chat_id, latitude, longitude, optional name, address
whatsapp_send_contactSend contact card. Params: instance_id, chat_id, phone_number, optional first_name, last_name, company
whatsapp_send_pollSend poll. Params: instance_id, chat_id, message (question), options (string array, 2–12), optional multiple_answers
whatsapp_forward_messagesForward messages between chats. Params: instance_id, chat_id (destination), chat_id_from (source), messages (ID array)
whatsapp_edit_messageEdit a sent message. Params: instance_id, chat_id, id_message, message (new text)
whatsapp_delete_messageDelete a message. Params: instance_id, chat_id, id_message

Instance management

ToolDescription
whatsapp_get_stateGet instance state: authorized, notAuthorized, blocked, sleepMode, starting, yellowCard
whatsapp_get_settingsGet instance settings (webhooks, delays, flags)
whatsapp_set_settingsUpdate instance settings. Params: optional webhook_url, webhook_url_token, outgoing_webhook, incoming_webhook, state_webhook, mark_incoming_messages_readed, delay_message, etc.
whatsapp_get_qrGet QR code for authorization (instance must be unauthorized)
whatsapp_get_authorization_codeGet auth code by phone number (alternative to QR). Params: instance_id, phone_number
whatsapp_get_wa_settingsGet WhatsApp account info (avatar, phone, state, device ID)
whatsapp_rebootReboot instance
whatsapp_logoutLog out instance (required before re-authorizing)

Contacts & history

ToolDescription
whatsapp_check_whatsappCheck if a phone number has WhatsApp. Params: instance_id, phone_number
whatsapp_get_contactsGet all contacts
whatsapp_get_contact_infoGet info about a contact or group. Params: instance_id, chat_id
whatsapp_get_contact_avatarGet avatar of contact or group. Params: instance_id, chat_id
whatsapp_get_chat_historyGet chat message history. Params: instance_id, chat_id, optional count (default 100)
whatsapp_get_messageGet a specific message. Params: instance_id, chat_id, id_message
whatsapp_last_incoming_messagesGet recent incoming messages. Params: instance_id, optional minutes (default 1440)
whatsapp_last_outgoing_messagesGet recent outgoing messages. Params: instance_id, optional minutes (default 1440)
whatsapp_read_chatMark messages as read. Params: instance_id, chat_id, optional id_message

Notifications (manual polling)

ToolDescription
whatsapp_receive_notificationGet one notification from the queue
whatsapp_delete_notificationAcknowledge/delete a notification. Params: instance_id, receipt_id

Groups

ToolDescription
whatsapp_create_groupCreate a group. Params: instance_id, group_name, chat_ids (participant array)
whatsapp_get_group_dataGet group info (members, name, link). Params: instance_id, group_id
whatsapp_add_group_participantAdd member. Params: instance_id, group_id, participant_chat_id
whatsapp_remove_group_participantRemove member. Params: instance_id, group_id, participant_chat_id
whatsapp_set_group_adminPromote member to admin. Params: instance_id, group_id, participant_chat_id
whatsapp_remove_group_adminDemote admin. Params: instance_id, group_id, participant_chat_id
whatsapp_leave_groupLeave a group. Params: instance_id, group_id

Partner API (instance provisioning)

These require a partner_token from the GREEN-API partner dashboard.

ToolDescription
whatsapp_create_instanceCreate a new instance
whatsapp_delete_instanceDelete an instance. Params: partner_token, instance_id
whatsapp_get_instancesList all partner instances

Resources

  • whatsapp://instance/{id}/state — read current instance authorization state
  • whatsapp://instance/{id}/settings — read instance settings

Prompts

  • whatsapp_customer_support — system prompt template for a customer support agent. Args: instance_id, language
  • whatsapp_broadcast — template for planning and executing broadcast messaging. Args: instance_id, message_template

Important notes

  • Always whatsapp_connect before calling any other tool.
  • Use whatsapp_check_whatsapp to verify a phone number has WhatsApp before sending.
  • For broadcasts, add delays between messages to avoid rate limiting.
  • File uploads use base64 encoding. Max file size: 100 MB.
  • Poll options must be unique, 2–12 items, max 100 chars each.
  • Message quoting only works within the same chat.

适合场景

01

OpenClaw 用户查找和安装 Skill 时

02

用户想查找某类 Agent Skill 时

03

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

04

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

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

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

能力 4

补充不同宿主或平台的使用分布数据

能力 5

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

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

平台分布

OpenClaw

94.22%
按下载量换算1,165

安全审计

VirusTotal

通过

ClawScan

通过

Static analysis

通过

权限和风险

external-service

该 Skill 可能调用第三方服务、云服务或外部模型 API,使用前需要确认账号、额度、数据发送范围和服务条款。

安装前确认

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

来源信息

继续浏览同类 Skills