Get incoming message capabilities¶
Get incoming message capabilities.
GET https://api.moi.matrixorigin.cn/v5/workspaces/{workspace_id}/ingress-capabilities
Before you call this API¶
Prepare a personal access token with access to the target Workspace and permission for the operation. The path Workspace must match X-Workspace-ID. Examples use jq. See Shared information for variables, objects, and states.
Request example¶
curl -X GET "https://api.moi.matrixorigin.cn/v5/workspaces/$WORKSPACE_ID/ingress-capabilities" \
-H "X-API-Key: $AI_STUDIO_API_KEY" \
-H "X-Workspace-ID: $WORKSPACE_ID"
Returns supported provider/channel_type/receive_modes combinations. This does not establish that current provider credentials, networking, receivers, or production functionality are ready.
This operation does not accept a request body.
Successful response¶
{
"code": 0,
"data": {
"items": [
{
"provider": "slack",
"channel_type": "slack_app",
"receive_modes": [
"callback",
"managed_stream"
]
}
]
}
}
Field |
Type |
Description |
|---|---|---|
|
integer |
0 on success. |
|
object |
Result object; see the shared object descriptions for fields. |
Error responses¶
Handle HTTP status, business results, and error fields separately. See Errors and environments. On source or version conflicts, read the current state; do not automatically retry with a different identity, resource, or request ID.