Skip to main content
Currently only supports type message but will support workflow in the future.
type
string
The type of action. Requires a corresponding attribute with the name of the action type.Allowed value: message
message
object
See Message schema.

Example

{
  "type": "message",
  "message": {
    "id": "message_123",
    "object": "message",
    "created_at": "2023-01-01T10:00+00:00",
    "updated_at": "2023-01-01T10:00+00:00",
    "provider": "provider_123",
    "contents": {
      "object": "list",
      "data": []
    }
  }
}