Skip to main content
POST

Authorizations

X-API-Key
string
header
required

Path Parameters

entityId
string
required

WhatsApp Business Phone Number ID that owns the Meta Business Agent.

Body

application/json
user_msg
string
required

Customer message to send to the test agent.

Minimum string length: 1
conversation_id
string

Conversation context ID returned by a previous test turn.

Response

Operation completed successfully.

message_id
string

Meta message ID for the generated test response.

agent_response
string

Generated response text.

conversation_id
string

Conversation context ID to pass on subsequent test turns.

timestamp
integer<int64>

Unix timestamp in seconds.

handoff_reason
string

Reason the agent decided a human should take over, when present.

no_response_reason
string

Reason the agent produced no response, when present.

quick_replies
string[]

Suggested quick-reply labels, when present.

product_variant_ids
string[]

Product variant IDs referenced by the response, when present.