Authorization: Bearer ********************{
"title": "我的 webhook 助手",
"agent_type": "webhook",
"is_enabled": true,
"config": {
"webhook_url": "https://my-agent.example.com/webhook",
"auth_type": "bearer",
"bearer_token": "shared-secret-xxx",
"response_mode": "sse",
"timeout": 300
}
}curl --location 'https://app.emoosearch.com/open-api/v1/agents' \
--header 'Emoo-User-Id: ' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"title": "我的 webhook 助手",
"agent_type": "webhook",
"is_enabled": true,
"config": {
"webhook_url": "https://my-agent.example.com/webhook",
"auth_type": "bearer",
"bearer_token": "shared-secret-xxx",
"response_mode": "sse",
"timeout": 300
}
}'{
"code": 200,
"message": "success",
"data": {
"ws_agent_key": "a1b2c3d4e5f6g7h8i9j0k1l2m3n4o5p6",
"title": "我的 webhook 助手",
"agent_type": "webhook",
"is_enabled": true,
"description": null,
"created_at": "2026-07-04T10:00:00Z",
"updated_at": "2026-07-04T10:00:00Z"
}
}