[POST] .../v1/chatmessage/marksent
Sets the sent message identifier for an external system. Use this method when an external messenger or integration has accepted a REGOS chat message and returned its own message id. The request body is required, id must contain the REGOS message UUID and external_message_id is required and limited to the schema length. Access is scoped to the current request user's message workflow permissions for the chat and the method returns row_affected. Missing body, missing id or external_message_id, missing message, denied access, duplicate external id conflicts and database failures are returned as HTTP 200 ErrorResult business errors.
Request Parameters
| Name | Type | Required | Description |
|---|---|---|---|
| external_message_id | String | Required | External message ID. |
| id | String | Required | Message UUID. |
Request Example
{
"id": "4b9727ec-a389-4274-95b6-069350000001",
"external_message_id": "external-message-1001"
}
Response Parameters
| Name | Type | Description |
|---|---|---|
| ok | Boolean | Indicates whether the request completed successfully. |
| result | Update | Update operation result. |
Response Example
{
"ok": true,
"result": {
"row_affected": 1
}
}