For the complete documentation index, see llms.txt. This page is also available as Markdown.

Event Flows

List existing event flows.

get

Returns a shallow list of event flows without the full node tree. Use the single resource endpoint to retrieve the complete event flow including all nodes and branches.

Authorizations
AuthorizationstringRequired

The Bearer API key of your user more info.

Query parameters
start-indexinteger · int32Optional

an integer specifying the starting point (beginning with 0) when paging through a list of entities

Default: 0
max-resultsinteger · int32 · max: 100Optional

the maximum number of results when paging through a list of entities.

Default: 50
Responses
200

The event flows

application/json
idinteger · int64Optional
namestringOptional
get/event-flows
GET /api/event-flows HTTP/1.1
Authorization: YOUR_API_KEY
Accept: */*
200

The event flows

[
  {
    "id": 1,
    "name": "text",
    "teams": [
      {
        "id": 1,
        "name": "text"
      }
    ],
    "managedBy": {
      "type": "API",
      "source": "text"
    }
  }
]

Create a new event flow.

post
Authorizations
AuthorizationstringRequired

The Bearer API key of your user more info.

Body
idinteger · int64Optional
namestringRequired
Responses
201

The newly created event flow

application/json
idinteger · int64Optional
namestringRequired
post/event-flows
POST /api/event-flows HTTP/1.1
Authorization: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 316

{
  "id": 1,
  "name": "text",
  "teams": [
    {
      "id": 1,
      "name": "text"
    }
  ],
  "root": {
    "id": 1,
    "name": "text",
    "nodeType": "ROOT",
    "metadata": {
      "supportHoursId": 1
    },
    "branches": [
      {
        "id": 1,
        "branchType": "BRANCH",
        "condition": "text",
        "target": {
          "id": 1,
          "name": "text",
          "nodeType": "ROOT",
          "metadata": {
            "supportHoursId": 1
          },
          "branches": [
            "[Circular Reference]"
          ]
        }
      }
    ]
  }
}
201

The newly created event flow

{
  "id": 1,
  "name": "text",
  "teams": [
    {
      "id": 1,
      "name": "text"
    }
  ],
  "root": {
    "id": 1,
    "name": "text",
    "nodeType": "ROOT",
    "metadata": {
      "supportHoursId": 1
    },
    "branches": [
      {
        "id": 1,
        "branchType": "BRANCH",
        "condition": "text",
        "target": {
          "id": 1,
          "name": "text",
          "nodeType": "ROOT",
          "metadata": {
            "supportHoursId": 1
          },
          "branches": [
            "[Circular Reference]"
          ]
        }
      }
    ]
  },
  "managedBy": {
    "type": "API",
    "source": "text"
  }
}

Get a specific event flow.

get
Authorizations
AuthorizationstringRequired

The Bearer API key of your user more info.

Path parameters
idnumberRequired

entity ID

Responses
200

The requested event flow

application/json
idinteger · int64Optional
namestringRequired
get/event-flows/{id}
GET /api/event-flows/{id} HTTP/1.1
Authorization: YOUR_API_KEY
Accept: */*
200

The requested event flow

{
  "id": 1,
  "name": "text",
  "teams": [
    {
      "id": 1,
      "name": "text"
    }
  ],
  "root": {
    "id": 1,
    "name": "text",
    "nodeType": "ROOT",
    "metadata": {
      "supportHoursId": 1
    },
    "branches": [
      {
        "id": 1,
        "branchType": "BRANCH",
        "condition": "text",
        "target": {
          "id": 1,
          "name": "text",
          "nodeType": "ROOT",
          "metadata": {
            "supportHoursId": 1
          },
          "branches": [
            "[Circular Reference]"
          ]
        }
      }
    ]
  },
  "managedBy": {
    "type": "API",
    "source": "text"
  }
}

Update a specific event flow.

put
Authorizations
AuthorizationstringRequired

The Bearer API key of your user more info.

Path parameters
idnumberRequired

entity ID

Body
idinteger · int64Optional
namestringRequired
Responses
200

The updated event flow

application/json
idinteger · int64Optional
namestringRequired
put/event-flows/{id}
PUT /api/event-flows/{id} HTTP/1.1
Authorization: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 316

{
  "id": 1,
  "name": "text",
  "teams": [
    {
      "id": 1,
      "name": "text"
    }
  ],
  "root": {
    "id": 1,
    "name": "text",
    "nodeType": "ROOT",
    "metadata": {
      "supportHoursId": 1
    },
    "branches": [
      {
        "id": 1,
        "branchType": "BRANCH",
        "condition": "text",
        "target": {
          "id": 1,
          "name": "text",
          "nodeType": "ROOT",
          "metadata": {
            "supportHoursId": 1
          },
          "branches": [
            "[Circular Reference]"
          ]
        }
      }
    ]
  }
}
200

The updated event flow

{
  "id": 1,
  "name": "text",
  "teams": [
    {
      "id": 1,
      "name": "text"
    }
  ],
  "root": {
    "id": 1,
    "name": "text",
    "nodeType": "ROOT",
    "metadata": {
      "supportHoursId": 1
    },
    "branches": [
      {
        "id": 1,
        "branchType": "BRANCH",
        "condition": "text",
        "target": {
          "id": 1,
          "name": "text",
          "nodeType": "ROOT",
          "metadata": {
            "supportHoursId": 1
          },
          "branches": [
            "[Circular Reference]"
          ]
        }
      }
    ]
  },
  "managedBy": {
    "type": "API",
    "source": "text"
  }
}

Delete a specific event flow.

delete
Authorizations
AuthorizationstringRequired

The Bearer API key of your user more info.

Path parameters
idnumberRequired

entity ID

Responses
204

Empty body delete response

delete/event-flows/{id}
DELETE /api/event-flows/{id} HTTP/1.1
Authorization: YOUR_API_KEY
Accept: */*
204

Empty body delete response

No content

Get the event flow with the specified name.

get
Authorizations
AuthorizationstringRequired

The Bearer API key of your user more info.

Path parameters
namestringRequired

unique name of the event flow

Responses
200

The requested event flow

application/json
idinteger · int64Optional
namestringRequired
get/event-flows/name/{name}
GET /api/event-flows/name/{name} HTTP/1.1
Authorization: YOUR_API_KEY
Accept: */*
200

The requested event flow

{
  "id": 1,
  "name": "text",
  "teams": [
    {
      "id": 1,
      "name": "text"
    }
  ],
  "root": {
    "id": 1,
    "name": "text",
    "nodeType": "ROOT",
    "metadata": {
      "supportHoursId": 1
    },
    "branches": [
      {
        "id": 1,
        "branchType": "BRANCH",
        "condition": "text",
        "target": {
          "id": 1,
          "name": "text",
          "nodeType": "ROOT",
          "metadata": {
            "supportHoursId": 1
          },
          "branches": [
            "[Circular Reference]"
          ]
        }
      }
    ]
  },
  "managedBy": {
    "type": "API",
    "source": "text"
  }
}

Last updated

Was this helpful?