Feishu App Bot integration (Communication). Imported from open-connector.
https://open.feishu.cn/open-apis/im/v1/images
| Param | Type | Required | Description |
|---|---|---|---|
| imageUrl | string | required | The public image URL to download and upload to Feishu. |
/im/v1/images/{imageKey}
| Param | Type | Required | Description |
|---|---|---|---|
| imageKey | string | required | The Feishu image key to download. |
| fileName | string | optional | The optional file name to use for the downloaded transit file. |
/im/v1/files
| Param | Type | Required | Description |
|---|---|---|---|
| fileUrl | string | required | The public file URL to download and upload to Feishu. |
| fileType | string | required | The Feishu file type used by the file upload API. |
| fileName | string | optional | The optional file name to send to Feishu. Inferred from the URL when omitted. |
| duration | integer | optional | The optional duration in milliseconds for audio or video uploads. |
/im/v1/files/{fileKey}
| Param | Type | Required | Description |
|---|---|---|---|
| fileKey | string | required | The Feishu file key to download. |
| fileName | string | optional | The optional file name to use for the downloaded transit file. |
/im/v1/messages/{messageId}
| Param | Type | Required | Description |
|---|---|---|---|
| messageId | string | required | The Feishu message ID to fetch. |
| userIdType | string | optional | The user identifier type returned by Feishu read APIs. |
| cardMsgContentType | string | optional | Return the original card JSON when the target message is a card. |
/im/v1/messages
| Param | Type | Required | Description |
|---|---|---|---|
| containerIdType | string | required | The Feishu container type to read history from. |
| containerId | string | required | The Feishu chat or thread identifier. |
| startTime | string | optional | A millisecond or second timestamp encoded as a string. |
| endTime | string | optional | A millisecond or second timestamp encoded as a string. |
| sortType | string | optional | The sort order used for listing history messages. |
| pageSize | integer | optional | The Feishu page size. |
| pageToken | string | optional | The Feishu pagination token. |
| cardMsgContentType | string | optional | Return the original card JSON when the target message is a card. |
/im/v1/chats
| Param | Type | Required | Description |
|---|---|---|---|
| userIdType | string | optional | The user identifier type returned by Feishu read APIs. |
| sortType | string | optional | The sort order used for listing chats. |
| pageSize | integer | optional | The Feishu page size. |
| pageToken | string | optional | The Feishu pagination token. |
/im/v1/chats/search
| Param | Type | Required | Description |
|---|---|---|---|
| query | string | required | The chat search keyword. |
| userIdType | string | optional | The user identifier type returned by Feishu read APIs. |
| pageSize | integer | optional | The Feishu page size. |
| pageToken | string | optional | The Feishu pagination token. |
/im/v1/chats/{chatId}
| Param | Type | Required | Description |
|---|---|---|---|
| chatId | string | required | The Feishu chat ID to fetch. |
| userIdType | string | optional | The user identifier type returned by Feishu read APIs. |
/im/v1/chats/{chatId}/members
| Param | Type | Required | Description |
|---|---|---|---|
| chatId | string | required | The Feishu chat ID to inspect. |
| memberIdType | string | optional | The user identifier type returned by Feishu read APIs. |
| pageSize | integer | optional | The Feishu page size. |
| pageToken | string | optional | The Feishu pagination token. |
/im/v1/messages/{messageId}
| Param | Type | Required | Description |
|---|---|---|---|
| messageId | string | required | The Feishu message ID to recall. |
/im/v1/messages/{messageId}/reactions
| Param | Type | Required | Description |
|---|---|---|---|
| messageId | string | required | The Feishu message ID to inspect. |
| reactionType | string | optional | Filter by one Feishu emoji type. |
| pageSize | integer | optional | The Feishu page size. |
| pageToken | string | optional | The Feishu pagination token. |
| userIdType | string | optional | The user identifier type returned by Feishu read APIs. |
/im/v1/messages/{messageId}/reactions/{reactionId}
| Param | Type | Required | Description |
|---|---|---|---|
| messageId | string | required | The Feishu message ID to update. |
| reactionId | string | required | The Feishu reaction ID to remove. |
/im/v1/pins
| Param | Type | Required | Description |
|---|---|---|---|
| chatId | string | required | The Feishu chat ID to inspect. |
| startTime | string | optional | A millisecond or second timestamp encoded as a string. |
| endTime | string | optional | A millisecond or second timestamp encoded as a string. |
| pageSize | integer | optional | The Feishu page size. |
| pageToken | string | optional | The Feishu pagination token. |
/im/v1/pins/{messageId}
| Param | Type | Required | Description |
|---|---|---|---|
| messageId | string | required | The Feishu message ID to unpin. |