POST
Message Received Trigger
Fires when an inbound message arrives in a conversation.
POST
https://api.vantaxai.com/v1/workflows (trigger: message.received)Use the `message.received` trigger to react to inbound SMS or chat messages — route to an Agent, auto-tag, or kick off a reply sequence. Scope it by `channel` to react only to SMS or web chat. When the event fires, the Workflow's `trigger_event` contains the message payload below. Reference this trigger by setting `trigger.type` to `message.received` on the Create Workflow endpoint.
Headers
AuthorizationstringrequiredBearer authentication with your secret API key.
example: Bearer vx_live_3fa9c2…
Content-TypestringrequiredMust be application/json for requests with a body.
example: application/json
Body Parameters
trigger.typestringrequiredSet to `message.received` to use this trigger.
example: message.received
trigger.config.channelstringoptionalOnly fire for messages on this channel.
smschatwhatsappexample: sms