curl --request POST \
--url https://zeus-api.agentspro.cn/channels/feishu/webhook \
--header 'Content-Type: application/json' \
--data '{
"type": "url_verification",
"challenge": "abc123",
"token": "xxx"
}'
curl --request POST \
--url https://zeus-api.agentspro.cn/channels/feishu/webhook \
--header 'Content-Type: application/json' \
--data '{
"header": {
"event_id": "evt_001",
"event_type": "im.message.receive_v1"
},
"event": {
"message": {
"content": "{\"text\":\"Help me check today'\''s schedule\"}"
}
}
}'
{
"challenge": "abc123"
}
{
"code": 0,
"msg": "success"
}
Channels API
Feishu Webhook
Feishu event subscription webhook — URL verification and message receiving
POST
/
channels
/
feishu
/
webhook
curl --request POST \
--url https://zeus-api.agentspro.cn/channels/feishu/webhook \
--header 'Content-Type: application/json' \
--data '{
"type": "url_verification",
"challenge": "abc123",
"token": "xxx"
}'
curl --request POST \
--url https://zeus-api.agentspro.cn/channels/feishu/webhook \
--header 'Content-Type: application/json' \
--data '{
"header": {
"event_id": "evt_001",
"event_type": "im.message.receive_v1"
},
"event": {
"message": {
"content": "{\"text\":\"Help me check today'\''s schedule\"}"
}
}
}'
{
"challenge": "abc123"
}
{
"code": 0,
"msg": "success"
}
The event subscription callback endpoint for the Feishu Open Platform. This endpoint does not require authentication and is called directly by Feishu servers.
Supported Event Types
| Event Type | Description |
|---|---|
url_verification | URL verification (sent by Feishu during initial configuration) |
im.message.receive_v1 | Receive user messages |
Flow
- Feishu sends
url_verification→ returns{ challenge }to complete verification - User sends a message in Feishu → triggers
im.message.receive_v1event - Deduplication check (
event_id) → asynchronous background processing → quickly returns{ code: 0 }to Feishu
curl --request POST \
--url https://zeus-api.agentspro.cn/channels/feishu/webhook \
--header 'Content-Type: application/json' \
--data '{
"type": "url_verification",
"challenge": "abc123",
"token": "xxx"
}'
curl --request POST \
--url https://zeus-api.agentspro.cn/channels/feishu/webhook \
--header 'Content-Type: application/json' \
--data '{
"header": {
"event_id": "evt_001",
"event_type": "im.message.receive_v1"
},
"event": {
"message": {
"content": "{\"text\":\"Help me check today'\''s schedule\"}"
}
}
}'
{
"challenge": "abc123"
}
{
"code": 0,
"msg": "success"
}