Callback

[POST] .../v1/chatmessage/callback

Publishes a chat message callback action. Use this method when a user presses an inline callback button attached to a chat message. The request body is required, message_id must identify the message and action_id must match one action inside the message actions payload. Access is scoped to the current user's ability to see and interact with the message and the method publishes the callback event without editing the original message. Missing body, missing message_id or action_id, missing message, unknown action, denied access, integration delivery failures and database errors are returned as HTTP 200 ErrorResult business errors.

Request Parameters

Name Type Required Description
action_id String Required Callback action identifier within the message.
message_id String Required Message UUID.

Request Example

{
  "message_id": "4b9727ec-a389-4274-95b6-069350000001",
  "action_id": "approve"
}

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,
    "ids": [
      "4b9727ec-a389-4274-95b6-069350000001"
    ]
  }
}