Event Flows
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.
The Bearer API key of your user more info.
an integer specifying the starting point (beginning with 0) when paging through a list of entities
0the maximum number of results when paging through a list of entities.
50The event flows
GET /api/event-flows HTTP/1.1
Authorization: YOUR_API_KEY
Accept: */*
The event flows
[
{
"id": 1,
"name": "text",
"teams": [
{
"id": 1,
"name": "text"
}
],
"managedBy": {
"type": "API",
"source": "text"
}
}
]The Bearer API key of your user more info.
The newly created event flow
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]"
]
}
}
]
}
}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"
}
}The Bearer API key of your user more info.
entity ID
The requested event flow
GET /api/event-flows/{id} HTTP/1.1
Authorization: YOUR_API_KEY
Accept: */*
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"
}
}The Bearer API key of your user more info.
entity ID
The updated event flow
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]"
]
}
}
]
}
}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"
}
}The Bearer API key of your user more info.
entity ID
Empty body delete response
DELETE /api/event-flows/{id} HTTP/1.1
Authorization: YOUR_API_KEY
Accept: */*
Empty body delete response
No content
The Bearer API key of your user more info.
unique name of the event flow
The requested event flow
GET /api/event-flows/name/{name} HTTP/1.1
Authorization: YOUR_API_KEY
Accept: */*
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?