feishu-send-file

Send files to Feishu chats via REST API with token retrieval and upload.

2|Updated Apr 6, 2026
One-click install
npx skills add https://github.com/augustscl/awesome-xiawang-skills --skill feishu-send-file-augustscl
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: feishu-send-file
Source: https://github.com/augustscl/awesome-xiawang-skills/tree/main/feishu-send-file
Command: npx skills add https://github.com/augustscl/awesome-xiawang-skills --skill feishu-send-file-augustscl

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill helps you send files to Feishu groups or users via the Feishu REST API, bypassing UI limitations when a user explicitly requests a file transfer.

Core Features & Use Cases

  • Automated file delivery: Retrieve the access token, upload the file, and post it to a Feishu chat in a single workflow.
  • Flexible usage: Works for group chats or direct messages and supports various file types.
  • Use Case: Imagine you need to share a contract with a project team; this skill uploads the document and posts it to the Feishu chat automatically.

Quick Start

Ask the assistant to upload and send the specified file to a Feishu chat using the REST API.

Frequently Asked Questions about feishu-send-file

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I send files to a Feishu chat using the REST API?

To send files to a Feishu chat via the REST API, you need an automated workflow that retrieves the tenant access token, uploads the file, and posts the message to the specified group or individual.

Can I use this approach to share documents with Feishu groups and individual users?

Yes, sending files via the Feishu REST API works for both group chats and direct messages, allowing you to bypass UI limitations when sharing documents or attachments with users.

What do I need to automate file delivery to Feishu chats?

Automating Feishu file delivery requires valid Feishu tenant tokens and appropriate API scopes to handle token retrieval, file uploads, and message creation successfully.

How does the Feishu API handle token refresh and file upload errors?

The Feishu API file sending process requires robust error handling for token refresh, file uploads, and message creation to ensure the automated document transfer completes without interruption.

What is the best way to automatically upload and send an attachment to Feishu?

The best way to automatically send an attachment to Feishu is using a REST API workflow that sequentially retrieves the access token, uploads the file, and posts it to the chat.