Skip to main content
POST
/
v1
/
projects
/
{projectId}
/
pathway
/
edges
Create edge
curl --request POST \
  --url https://api.pathors.com/v1/projects/{projectId}/pathway/edges \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "source": "<string>",
  "target": "<string>",
  "condition": "<string>",
  "id": "<string>"
}
'
{
  "data": {
    "id": "<string>",
    "source": "<string>",
    "target": "<string>",
    "data": {
      "condition": "<string>"
    }
  }
}

Authorizations

Authorization
string
header
required

Developer key created from the dashboard (Settings → Developer Keys)

Path Parameters

projectId
string
required

The ID of your project

Body

application/json
source
string
required
target
string
required
condition
string
required
id
string

Response

Created

data
object
required