feishu-send-file

Upload files to Feishu and send them as file messages to chats.

18|2|Updated Mar 14, 2026
One-click install
npx skills add https://github.com/yuanyuekejiJN/AivoClaw --skill feishu-send-file-yuanyuekejijn
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: feishu-send-file
Source: https://github.com/yuanyuekejiJN/AivoClaw/tree/main/extraSkills/feishu-send-file
Command: npx skills add https://github.com/yuanyuekejiJN/AivoClaw --skill feishu-send-file-yuanyuekejijn

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill removes the manual work of attaching and sending files to Feishu by using Feishu’s REST APIs to deliver a file message to a specific chat or user.

Core Features & Use Cases

  • Uploads a file to Feishu using the files endpoint to obtain a reusable file_key.
  • Sends a file message to a Feishu chat by posting a msg_type: file payload with the file_key.
  • Common use cases: share reports, forward generated documents, or deliver an attachment to a team space on request.

Quick Start

Ask the assistant to send your attachment to Feishu, specifying the target chat or user and the file you want to deliver.

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 a file to a Feishu chat using the REST API?

To send a file to Feishu chats via the REST API, upload the binary to the Feishu files endpoint to get a file_key, then post a msg_type file payload to the messages endpoint with the target chat_id.

What's the best way to forward generated documents to Feishu groups?

Forwarding documents to Feishu groups is done by uploading the attachment to the files endpoint to obtain a file_key, then sending a file message to the specific chat_id using the bot's tenant_access_token.

Do I need a tenant_access_token to upload attachments for Feishu bot delivery?

Yes, obtaining a tenant_access_token is required to authenticate the bot, upload binary attachments via the files endpoint, and deliver the file message to the designated Feishu chat or user.

Can I use text-only messaging flows to share files in Feishu?

No, sharing files in Feishu requires using a file messaging flow where the attachment is uploaded first to get a file_key, rather than relying on text-only messaging payloads.

Why does my Feishu file message fail to deliver to the target chat?

Feishu file message delivery fails when the bot lacks appropriate scopes, the tenant_access_token is missing, or the receive_id_type is not set correctly to match the target chat_id in the messages endpoint payload.

Does sending a file message in Feishu require a specific receive_id_type?

Yes, sending a file message in Feishu requires setting receive_id_type to chat_id in the messages endpoint payload to ensure the file is delivered to the correct group or direct chat.