Skip to main content
POST
Test Agent Draft

Headers

Authorization
string | null

Path Parameters

agent_id
string<uuid>
required

Body

application/json

Run a dry-run draft for the test panel (no WhatsApp send).

inbound_text
string
required
Required string length: 1 - 4096
customer_name
string | null
Maximum string length: 255
customer_phone
string | null
Maximum string length: 50
customer_tags
string[] | null

Response

Successful Response

Result of a test draft run.

status
string
required
draft
string | null
validated_reply
string | null
skip_reason
string | null
escalate
boolean
default:false
error
string | null
latency_ms
integer | null