Pathway Chat
Create Pathway Chat
Create an instance of a pathway chat, which can be used to send and receive messages to the pathway.
POST
/
v1
/
pathway
/
chat
/
create
Headers
authorization
string
requiredYour 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.”