greenapi-client-python
Skill by green-api
Writes Python code that calls the official GREEN-API SDK, whatsapp-api-client-python, for WhatsApp messaging. It covers sending messages and files, receiving notifications, groups and instance setup. Built for Python developers who automate WhatsApp through GREEN-API.
Install greenapi-client-python
Built from the published package, never by AI.
git clone --depth 1 https://github.com/green-api/whatsapp-api-client-python /tmp/whatsapp-api-client-python && mkdir -p ~/.claude/skills && cp -r /tmp/whatsapp-api-client-python/skills ~/.claude/skills/greenapi-client-pythonRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/green-api/whatsapp-api-client-python /tmp/whatsapp-api-client-python && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/whatsapp-api-client-python/skills ~/.gemini/antigravity-cli/skills/greenapi-client-pythonAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Step-by-step: install greenapi-client-python in Antigravity CLI
Skills can run scripts on your machine. Some need an API key: check the README.
About
This skill helps an AI assistant write Python code that uses the official GREEN-API SDK, whatsapp-api-client-python. It tells the assistant to use only the methods listed in the SDK inventory and to take parameter details from the official GREEN-API docs. The guidance covers client setup, the Response object with its code, data and error attributes, and the chatId format for personal and group chats.
The skill also explains sending text messages, sending files by URL or upload, receiving notifications by polling or by a webhook endpoint, creating groups, and the sending delay setting. It lists common pitfalls, such as clearing webhookUrl before polling and deleting processed notifications. It is aimed at Python developers who build WhatsApp messaging on GREEN-API.
Written from the project's SKILL.md and checked against it.
What it can do
- Client setupCreates a GreenAPI client from idInstance and apiTokenInstance, with optional host and timeout settings.
- Send text messagesSends a text message to a chatId, with optional typing time and link preview settings.
- Send files by URLSends a file from a URL with a file name and an optional caption.
- Send files by uploadUploads a local file through the media host and returns a message ID and file URL.
- Poll notificationsReceives incoming notifications with receiveNotification and startReceivingNotifications.
- Webhook setupSets webhookUrl and notification flags with setSettings for push delivery.
- Create groupsCreates a WhatsApp group with createGroup and returns its chatId.
- Message delay settingSets delaySendMessagesMilliseconds to control the outgoing message queue.
- Partner instancesLists, creates and deletes instances through the GreenApiPartner client.
- Method inventoryPoints to a reference list of SDK methods and signatures to avoid invented calls.
What you need
- Python 3.10 or later
- GREEN-API account with idInstance and apiTokenInstance
- whatsapp-api-client-python package installed with pip
- An authorized WhatsApp instance
Try asking
- Write Python code to send a WhatsApp text message with GREEN-API
- Poll incoming WhatsApp notifications with whatsapp-api-client-python
- Send a file by URL to a WhatsApp chat using GREEN-API in Python
Good to know
- Polling needs the instance webhookUrl to be empty.
- Maximum file size for sending is 100 MB.
- Create groups no faster than about one per five minutes.
- Messages wait in the send queue up to 24 hours until the instance is authorized.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: skills/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Alternatives to greenapi-client-python
All alternatives →Explains how to set up and verify Zoom webhooks for event-driven workflows. Covers signature checks, event subscriptions, delivery handling, retries and event-type selection for developers.
Posts text, images and videos to Weibo, and publishes headline articles from Markdown files. It works through a real Chrome browser over CDP. The scripts only fill in the content, and the user reviews and publishes manually.
Adds another phone number to an existing Dial channel in NanoClaw, so one install can answer SMS and AI voice calls on several numbers. Intended for operators who already run Dial and want a second or third line.
Explains how to set up and use Zoom WebSockets for persistent, low-latency Zoom event streams. Intended for workflows where WebSockets are preferred over webhooks.
Adds personal WeChat support to NanoClaw through Tencent's official iLink Bot API. It uses long-polling and QR code login, so no public webhook URL is needed. It is for NanoClaw users who want a personal WeChat bot channel.
Guides AI assistants through the bundled Zoom MCP connectors for meetings, recordings, meeting assets and transcripts. Intended for planning or troubleshooting tool-based Zoom access after routing to an MCP workflow.
Compare with setup-zoom-webhooks, baoyu-post-to-weibo or add-dial-number
greenapi-client-python: common questions
Does the SDK include a webhook HTTP server?
No. The source says the SDK does not ship a webhook server, so you must run your own endpoint that accepts POST JSON and returns 200.
What chatId format does GREEN-API use?
Personal chats use the form phone@c.us with digits only, and group chats use the form id@g.us. Group IDs should come from createGroup, journals or notifications, not be hand-made.
Can I use polling and a webhook at the same time?
No, the source says they are mutually exclusive for the same traffic. Clear webhookUrl to poll, and set webhookUrl to receive pushed notifications.
How do I install greenapi-client-python?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is greenapi-client-python free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is greenapi-client-python safe to use?
It scores 75 of 100. Grades: maintenance A, licence A, quality B. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to greenapi-client-python?
Similar skills: setup-zoom-webhooks, baoyu-post-to-weibo, add-dial-number, setup-zoom-websockets.
