v3

OpenAPI 3.1.02026-07-31350397683.8 KB
Journey Steps

Generate Journey Steps Endpoint

Generate a draft of journey steps for an agent from a plain-language description.

post/v1/generate-journey-steps

Headers

X-API-Keystring required

API key required to authenticate requests.

Request body

agent_idstring required

ID of the agent to generate journey steps for

descriptionstring required

Plain-language description of the journey

allow_smsboolean

Whether the agent can send SMS

max_stepsinteger

Maximum number of steps to generate; clamped to 1-10

Response

Successful Response

{"stackTrail":"paths:/v1/generate-journey-steps:post:responses:200:content:application/json:schema","oasType":"schema","type":"unknown"}