Skip to content

Create trigger​

POST
/api/triggers

Authorizations​

ApiKeyHeader
Type
API Key (header: X-Api-Key)

Request Body​

application/json
JSON
{
  
"name": "string",
  
"entity_type": "string",
  
"entity_id": 0,
  
"conditions": "string",
  
"actions": "string",
  
"check_interval": 0,
  
"cooldown": 0
}

Responses​

Trigger created

application/json
JSON
{
  
"id": 0
}

Playground​

Authorization
Body

Samples​

Powered by VitePress OpenAPI