Skip to main content
POST
Create Edge

Request

Path Parameters

string
required
The project ID

Headers

string
required
Bearer token using your developer key

Body

string
Optional edge ID. Auto-generated if not provided.
string
required
Source node ID
string
required
Target node ID
string
required
Transition condition (when should the conversation move from source to target)

Response

Returns the created edge with status 201. Returns 400 if the source or target node does not exist.

Example