Skip to main content
POST
/
api
/
v1
/
conversation_flow
Create Conversation Flow
curl --request POST \
  --url 'https://api.example.com/api/v1/conversation_flow?api_key=' \
  --header 'Content-Type: application/json' \
  --data '
{
  "name": "<string>",
  "num_nodes": 0,
  "num_edges": 0,
  "flow": {}
}
'
{
  "message": "Data created successfully",
  "meta": {},
  "data": {
    "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "name": "<string>",
    "num_nodes": 0,
    "num_edges": 0,
    "flow": {}
  }
}

Authorizations

api_key
string
query
required

Your API key for authentication. You can generate it from the Settings page. Format: starts with in-.

Body

application/json
name
string | null
num_nodes
integer | null
default:0
num_edges
integer | null
default:0
flow
Flow · object

Response

Successful Response

message
string | null
default:Data created successfully
meta
Meta · object
data
IConversationFlowRead · object