English
Send Upstream Message
About 128 wordsLess than 1 minute
2026-10-23
Description
Send Upstream Message.
Request Specification
Method: POST + application/json
Endpoint: https://${Cloud Domain}/cgi/crm/v2/webimchatservice/sendwebimupmessage?thirdTraceId=${Random String}
Headers: Refer to Common Parameters
Request Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
| data | Map | Yes | Data map |
| content | String | Yes | Message content |
| to_user_id | String | Yes | Recipient ID |
| msg_type | String | Yes | Message type |
Request Example
{
"data": {
"content": "hello",
"to_user_id": "5a9907a1f125ae0a1axxxxxx",
"msg_type": "text"
}
}Response Parameters
| Parameter | Type | Description |
|---|---|---|
| traceId | string | Unique request ID |
| errorDescription | string | Error description |
| errorMessage | string | Error message |
| errorCode | Int | Error Codes |
Response Example
{
"traceId": "E-O.827xxxxxx",
"errorDescription": "success",
"errorMessage": "OK",
"errorCode": 0
}Notes
- Do not use the
messagefield in the response for logical judgments, aserrorMessagemay change.
