POST
/
v1
/
pathway
/
chat
/
create

Headers

authorization
string
required

Your API key for authentication.

Body

pathway_id
string

Pathway ID of the pathway to create a chat instance for.

start_node_id
string

The start node ID of the pathway.

Response

status
string

Can be success or error.

chat_id
uuid

The ID of the chat instance created. This will be used to send and receive messages to the pathway via the /pathway/chat endpoint.

message
string

If the status is success, the message will say “Chat instance created successfully.” Otherwise, if the status is error, the message will say “Error creating chat instance.”