Skip to content

Create alert/notification trigger for device

POST
/devices/{id}/notificationTriggers

Authorizations

ApiKeyAuth
TypeAPI Key (header: Authorization)

Parameters

Path Parameters

id*

device id

Typenumber
Required
formatinteger

Request Body

JSON
{
"name": "string",
"type": "string",
"parameters": {
},
"muteFor": 0,
"lastTriggered": "string",
"delivery": {
},
"id": 0,
"deviceId": 0,
"userId": 0
}

Responses

Body (JSON)
application/json
JSON
{
"name": "string",
"type": "string",
"parameters": {
},
"muteFor": 0,
"lastTriggered": "string",
"delivery": {
},
"id": 0,
"deviceId": 0,
"userId": 0
}

Playground

Authorization
Variables
Key
Value
Body
JSON

Samples

cURL
JavaScript
PHP
Python