API
Scenarios
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Responses
200
Success
application/json
get
/scenariosGET /scenarios HTTP/1.1
Host:
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
200
Success
[
{
"id": "text",
"name": "text",
"title": "text",
"description": "text"
}
]Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Body
objectOptional
Responses
201
Created
400
Invalid scenario
403
Read-only mode
post
/scenariosPOST /scenarios HTTP/1.1
Host:
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 2
{}No content
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
idstring · uuidRequired
Scenario ID
Header parameters
Acceptstring · enumOptionalPossible values:
Responses
200
Success
No content
get
/scenarios/{id}GET /scenarios/{id} HTTP/1.1
Host:
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
200
Success
No content
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
idstring · uuidRequired
Scenario ID
Responses
204
No Content
403
Read-only mode
delete
/scenarios/{id}DELETE /scenarios/{id} HTTP/1.1
Host:
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
No content
Processes
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
pagenumberRequired
List page (max 100 processes per page)
allbooleanRequired
Also return processes where user is not an actor in (admin only)
Responses
200
Success
No content
get
/processesGET /processes HTTP/1.1
Host:
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
200
Success
No content
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Header parameters
As-ActorstringRequired
Body
scenariostringRequired
actionobjectOptional
Responses
201
Created
post
/processesPOST /processes HTTP/1.1
Host:
Authorization: Bearer YOUR_SECRET_TOKEN
As-Actor: text
Content-Type: application/json
Accept: */*
Content-Length: 134
{
"scenario": "text",
"actors": {
"ANY_ADDITIONAL_PROPERTY": {
"id": "text",
"title": "text",
"ANY_ADDITIONAL_PROPERTY": "anything"
}
},
"action": {}
}201
Created
No content
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
idstring · uuidRequired
Process ID
Responses
200
Success
No content
get
/processes/{id}GET /processes/{id} HTTP/1.1
Host:
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
200
Success
No content
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
idstring · uuidRequired
Process ID
actionstringRequired
Process action
Header parameters
As-ActorstringOptional
Specify actor when multiple actors could have performed the action and actor cannot be determined based on the user
Body
stringOptional
Responses
204
No Content
post
/processes/{id}/{action}POST /processes/{id}/{action} HTTP/1.1
Host:
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 6
"text"204
No Content
No content
API keys
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Responses
200
Success
application/json
get
/apikeyGET /apikey HTTP/1.1
Host:
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
200
Success
[
{
"id": "text",
"token": "text",
"name": "text",
"description": {},
"issued": "2025-11-16T11:51:58.626Z",
"expirationDays": 1,
"expiration": "2025-11-16T11:51:58.626Z",
"lastUsed": "2025-11-16T11:51:58.626Z",
"revoked": "2025-11-16T11:51:58.626Z",
"privileges": "scenario:read",
"processes": [
{
"scenario": "123e4567-e89b-12d3-a456-426614174000",
"actors": [
"text"
],
"actions": [
"text"
]
}
]
}
]Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Body
namestringRequired
descriptionstringRequired
Responses
201
Created
application/json
post
/apikeyPOST /apikey HTTP/1.1
Host:
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 170
{
"name": "text",
"description": "text",
"privileges": [
"scenario:read"
],
"processes": [
{
"scenario": "123e4567-e89b-12d3-a456-426614174000",
"actors": [
"text"
],
"actions": [
"text"
]
}
]
}201
Created
{
"id": "text",
"token": "text",
"name": "text",
"description": {},
"issued": "2025-11-16T11:51:58.626Z",
"expirationDays": 1,
"expiration": "2025-11-16T11:51:58.626Z",
"lastUsed": "2025-11-16T11:51:58.626Z",
"revoked": "2025-11-16T11:51:58.626Z",
"privileges": "scenario:read",
"processes": [
{
"scenario": "123e4567-e89b-12d3-a456-426614174000",
"actors": [
"text"
],
"actions": [
"text"
]
}
]
}Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
idstringRequired
Responses
204
No Content
delete
/apikey/{id}DELETE /apikey/{id} HTTP/1.1
Host:
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
204
No Content
No content
Last updated
Was this helpful?