Agent Chat

Transition Segment Endpoint

Explicit transition, e.g. the 'Start campaign' button flipping review → outreach. Invalid transitions return 409.

Transitions into outreach (from review or listening) are gated by the same Email Affordability Gate used in /resume and /launch — entering the sending state with no funds would just stall on the first per-send precheck. Other targets (e.g. cancellation paths) pass through unchanged.

post/api/agent-chat/segments/{segment_id}/transition

Path parameters

segment_idstring required

Cookies

ex_accessstring nullable
ex_orgstring nullable

Request body

to'discovery' | 'review' | 'outreach' | 'listening' | 'archived' | 'error' required
reasonstring nullable

Response

Successful Response

{"stackTrail":"paths:/api/agent-chat/segments/{segment_id}/transition:post:responses:200:content:application/json:schema","oasType":"schema","type":"unknown"}

Changes

No recorded changes to this endpoint across all 1 revision of this API.