Skip to main content
POST
Generate a WhatsApp test reply

Authorizations

X-API-KEY
string
header
required

Path Parameters

agent_id
string
required

Identifier of the WhatsApp agent to test.

Body

application/json
message
string
required

The latest inbound customer message to reply to. Required and must be non-empty.

conversation
object[]

Prior transcript replayed each turn (the endpoint is stateless). Defaults to an empty list.

memory
object

Prior qualification memory to carry forward (e.g. previously collected fields). Optional.

variables
object

Prompt template variables merged into the agent's WhatsApp prompt. Optional.

Response

The engine's reply and updated qualification state for this turn.