Arduino triggers_v1 API

Provides a set of endpoints to manage the triggers of a user

Operations 14

GET /iot/v1/actions list actions_v1 #
POST /iot/v1/actions create actions_v1 #
DELETE /iot/v1/actions/{id} delete actions_v1 #
GET /iot/v1/actions/{id} show actions_v1 #
PUT /iot/v1/actions/{id} update actions_v1 #
PUT /iot/v1/actions/{id}/unsubscribe Unsubscribe actions_v1 #
GET /iot/v1/triggers list triggers_v1 #
PUT /iot/v1/triggers create triggers_v1 #
DELETE /iot/v1/triggers/{id} delete triggers_v1 #
GET /iot/v1/triggers/{id} show triggers_v1 #
PATCH /iot/v1/triggers/{id} patch triggers_v1 #
POST /iot/v1/triggers/{id} update triggers_v1 #
GET /iot/v1/triggers/{id}/template template triggers_v1 #
POST /iot/v1/triggers/{id}/unsubscribe unsubscribe triggers_v1 #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/arduino-triggers-v1-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

arduino-triggers-v1-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  description: Provides a set of endpoints to manage Devices, Things, Properties and Timeseries
  title: Arduino IoT Cloud binaries_v2 Triggers V1 API
  version: '2.0'
servers:
- url: https://api2.arduino.cc/iot/v1
  description: Base URL declared by the provider in apis.yml (roadmap#122).
tags:
- description: Provides a set of endpoints to manage the triggers of a user
  name: triggers_v1
paths:
  /iot/v1/actions:
    get:
      description: Returns the list of actions
      operationId: actions_v1#list
      parameters:
      - in: header
        name: X-Organization
        schema:
          type: string
      responses:
        '200':
          content:
            application/vnd.arduino.action+json; type=collection:
              schema:
                $ref: '#/components/schemas/ArduinoActionCollection'
            application/vnd.goa.error+json:
              schema:
                $ref: '#/components/schemas/ArduinoActionCollection'
          description: OK
        '401':
          content:
            application/vnd.arduino.action+json; type=collection:
              schema:
                $ref: '#/components/schemas/error'
            application/vnd.goa.error+json:
              schema:
                $ref: '#/components/schemas/error'
          description: Unauthorized
        '404':
          content:
            application/vnd.arduino.action+json; type=collection:
              schema:
                $ref: '#/components/schemas/error'
            application/vnd.goa.error+json:
              schema:
                $ref: '#/components/schemas/error'
          description: Not Found
        '500':
          content:
            application/vnd.arduino.action+json; type=collection:
              schema:
                $ref: '#/components/schemas/error'
            application/vnd.goa.error+json:
              schema:
                $ref: '#/components/schemas/error'
          description: Internal Server Error
      security:
      - oauth2: []
      summary: list actions_v1
      tags:
      - triggers_v1
    post:
      description: Creates a new action
      operationId: actions_v1#create
      parameters:
      - in: header
        name: X-Organization
        schema:
          type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/create-action'
          application/x-www-form-urlencoded:
            schema:
              $ref: '#/components/schemas/create-action'
        required: true
        x-originalParamName: payload
      responses:
        '201':
          content:
            application/vnd.arduino.action+json:
              schema:
                $ref: '#/components/schemas/ArduinoAction'
            application/vnd.goa.error+json:
              schema:
                $ref: '#/components/schemas/ArduinoAction'
          description: Created
        '400':
          content:
            application/vnd.arduino.action+json:
              schema:
                $ref: '#/components/schemas/error'
            application/vnd.goa.error+json:
              schema:
                $ref: '#/components/schemas/error'
          description: Bad Request
        '401':
          content:
            application/vnd.arduino.action+json:
              schema:
                $ref: '#/components/schemas/error'
            application/vnd.goa.error+json:
              schema:
                $ref: '#/components/schemas/error'
          description: Unauthorized
        '404':
          description: Not Found
        '412':
          content:
            application/vnd.arduino.action+json:
              schema:
                $ref: '#/components/schemas/error'
            application/vnd.goa.error+json:
              schema:
                $ref: '#/components/schemas/error'
          description: Precondition Failed
        '500':
          content:
            application/vnd.arduino.action+json:
              schema:
                $ref: '#/components/schemas/error'
            application/vnd.goa.error+json:
              schema:
                $ref: '#/components/schemas/error'
          description: Internal Server Error
      security:
      - oauth2: []
      summary: create actions_v1
      tags:
      - triggers_v1
  /iot/v1/actions/{id}:
    delete:
      description: Removes an action
      operationId: actions_v1#delete
      parameters:
      - description: The id of the action
        in: path
        name: id
        required: true
        schema:
          type: string
      - in: header
        name: X-Organization
        schema:
          type: string
      responses:
        '200':
          description: OK
        '401':
          content:
            application/vnd.goa.error+json:
              schema:
                $ref: '#/components/schemas/error'
            text/plain:
              schema:
                $ref: '#/components/schemas/error'
          description: Unauthorized
        '404':
          description: Not Found
        '500':
          content:
            application/vnd.goa.error+json:
              schema:
                $ref: '#/components/schemas/error'
            text/plain:
              schema:
                $ref: '#/components/schemas/error'
          description: Internal Server Error
      security:
      - oauth2: []
      summary: delete actions_v1
      tags:
      - triggers_v1
    get:
      description: Returns an action
      operationId: actions_v1#show
      parameters:
      - description: The id of the action
        in: path
        name: id
        required: true
        schema:
          type: string
      - in: header
        name: X-Organization
        schema:
          type: string
      responses:
        '200':
          content:
            application/vnd.arduino.action+json:
              schema:
                $ref: '#/components/schemas/ArduinoAction'
            application/vnd.goa.error+json:
              schema:
                $ref: '#/components/schemas/ArduinoAction'
          description: OK
        '401':
          content:
            application/vnd.arduino.action+json:
              schema:
                $ref: '#/components/schemas/error'
            application/vnd.goa.error+json:
              schema:
                $ref: '#/components/schemas/error'
          description: Unauthorized
        '404':
          content:
            application/vnd.arduino.action+json:
              schema:
                $ref: '#/components/schemas/error'
            application/vnd.goa.error+json:
              schema:
                $ref: '#/components/schemas/error'
          description: Not Found
        '500':
          content:
            application/vnd.arduino.action+json:
              schema:
                $ref: '#/components/schemas/error'
            application/vnd.goa.error+json:
              schema:
                $ref: '#/components/schemas/error'
          description: Internal Server Error
      security:
      - oauth2: []
      summary: show actions_v1
      tags:
      - triggers_v1
    put:
      description: Updates an action
      operationId: actions_v1#update
      parameters:
      - description: The id of the action
        in: path
        name: id
        required: true
        schema:
          type: string
      - in: header
        name: X-Organization
        schema:
          type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/update-action'
          application/x-www-form-urlencoded:
            schema:
              $ref: '#/components/schemas/update-action'
        required: true
        x-originalParamName: payload
      responses:
        '200':
          content:
            application/vnd.arduino.action+json:
              schema:
                $ref: '#/components/schemas/ArduinoAction'
            application/vnd.goa.error+json:
              schema:
                $ref: '#/components/schemas/ArduinoAction'
          description: OK
        '400':
          content:
            application/vnd.arduino.action+json:
              schema:
                $ref: '#/components/schemas/error'
            application/vnd.goa.error+json:
              schema:
                $ref: '#/components/schemas/error'
          description: Bad Request
        '401':
          content:
            application/vnd.arduino.action+json:
              schema:
                $ref: '#/components/schemas/error'
            application/vnd.goa.error+json:
              schema:
                $ref: '#/components/schemas/error'
          description: Unauthorized
        '404':
          content:
            application/vnd.arduino.action+json:
              schema:
                $ref: '#/components/schemas/error'
            application/vnd.goa.error+json:
              schema:
                $ref: '#/components/schemas/error'
          description: Not Found
        '500':
          content:
            application/vnd.arduino.action+json:
              schema:
                $ref: '#/components/schemas/error'
            application/vnd.goa.error+json:
              schema:
                $ref: '#/components/schemas/error'
          description: Internal Server Error
      security:
      - oauth2: []
      summary: update actions_v1
      tags:
      - triggers_v1
  /iot/v1/actions/{id}/unsubscribe:
    put:
      description: Remove selected recipients from the action
      operationId: actions_v1#Unsubscribe
      parameters:
      - description: The id of the action
        in: path
        name: id
        required: true
        schema:
          type: string
      - in: header
        name: X-Organization
        schema:
          type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/recipients_list'
          application/x-www-form-urlencoded:
            schema:
              $ref: '#/components/schemas/recipients_list'
        required: true
        x-originalParamName: payload
      responses:
        '200':
          content:
            application/vnd.arduino.action+json:
              schema:
                $ref: '#/components/schemas/ArduinoAction'
            application/vnd.goa.error+json:
              schema:
                $ref: '#/components/schemas/ArduinoAction'
          description: OK
        '400':
          content:
            application/vnd.arduino.action+json:
              schema:
                $ref: '#/components/schemas/error'
            application/vnd.goa.error+json:
              schema:
                $ref: '#/components/schemas/error'
          description: Bad Request
        '401':
          content:
            application/vnd.arduino.action+json:
              schema:
                $ref: '#/components/schemas/error'
            application/vnd.goa.error+json:
              schema:
                $ref: '#/components/schemas/error'
          description: Unauthorized
        '404':
          content:
            application/vnd.arduino.action+json:
              schema:
                $ref: '#/components/schemas/error'
            application/vnd.goa.error+json:
              schema:
                $ref: '#/components/schemas/error'
          description: Not Found
        '500':
          content:
            application/vnd.arduino.action+json:
              schema:
                $ref: '#/components/schemas/error'
            application/vnd.goa.error+json:
              schema:
                $ref: '#/components/schemas/error'
          description: Internal Server Error
      security:
      - oauth2: []
      summary: Unsubscribe actions_v1
      tags:
      - triggers_v1
  /iot/v1/triggers:
    get:
      description: Returns the list of triggers
      operationId: triggers_v1#list
      parameters:
      - description: The id of the device associated with the triggers (mutually exclusive with 'property_id')
        in: query
        name: device_id
        schema:
          type: string
      - description: The id of the property associated with the triggers (mutually exclusive with 'device_id')
        in: query
        name: property_id
        schema:
          type: string
      - description: If true, shows the soft deleted triggers
        in: query
        name: show_deleted
        schema:
          default: false
          type: boolean
      - description: The source type of the trigger, could be PROPERTY, DEVICE_INCLUDE or DEVICE_EXCLUDE
        in: query
        name: source_type
        schema:
          enum:
          - PROPERTY
          - DEVICE_INCLUDE
          - DEVICE_EXCLUDE
          type: string
      - in: header
        name: X-Organization
        schema:
          type: string
      responses:
        '200':
          content:
            application/vnd.arduino.trigger+json; type=collection:
              schema:
                $ref: '#/components/schemas/ArduinoTriggerCollection'
            application/vnd.goa.error+json:
              schema:
                $ref: '#/components/schemas/ArduinoTriggerCollection'
          description: OK
        '400':
          content:
            application/vnd.arduino.trigger+json; type=collection:
              schema:
                $ref: '#/components/schemas/error'
            application/vnd.goa.error+json:
              schema:
                $ref: '#/components/schemas/error'
          description: Bad Request
        '401':
          content:
            application/vnd.arduino.trigger+json; type=collection:
              schema:
                $ref: '#/components/schemas/error'
            application/vnd.goa.error+json:
              schema:
                $ref: '#/components/schemas/error'
          description: Unauthorized
        '404':
          content:
            application/vnd.arduino.trigger+json; type=collection:
              schema:
                $ref: '#/components/schemas/error'
            application/vnd.goa.error+json:
              schema:
                $ref: '#/components/schemas/error'
          description: Not Found
        '500':
          content:
            application/vnd.arduino.trigger+json; type=collection:
              schema:
                $ref: '#/components/schemas/error'
            application/vnd.goa.error+json:
              schema:
                $ref: '#/components/schemas/error'
          description: Internal Server Error
      security:
      - oauth2: []
      summary: list triggers_v1
      tags:
      - triggers_v1
    put:
      description: Creates a new trigger
      operationId: triggers_v1#create
      parameters:
      - in: header
        name: X-Organization
        schema:
          type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/trigger'
          application/x-www-form-urlencoded:
            schema:
              $ref: '#/components/schemas/trigger'
        required: true
        x-originalParamName: payload
      responses:
        '201':
          content:
            application/vnd.arduino.trigger+json:
              schema:
                $ref: '#/components/schemas/ArduinoTrigger'
            application/vnd.goa.error+json:
              schema:
                $ref: '#/components/schemas/ArduinoTrigger'
          description: Created
        '400':
          content:
            application/vnd.arduino.trigger+json:
              schema:
                $ref: '#/components/schemas/error'
            application/vnd.goa.error+json:
              schema:
                $ref: '#/components/schemas/error'
          description: Bad Request
        '401':
          content:
            application/vnd.arduino.trigger+json:
              schema:
                $ref: '#/components/schemas/error'
            application/vnd.goa.error+json:
              schema:
                $ref: '#/components/schemas/error'
          description: Unauthorized
        '404':
          description: Not Found
        '412':
          content:
            application/vnd.arduino.trigger+json:
              schema:
                $ref: '#/components/schemas/error'
            application/vnd.goa.error+json:
              schema:
                $ref: '#/components/schemas/error'
          description: Precondition Failed
        '500':
          content:
            application/vnd.arduino.trigger+json:
              schema:
                $ref: '#/components/schemas/error'
            application/vnd.goa.error+json:
              schema:
                $ref: '#/components/schemas/error'
          description: Internal Server Error
      security:
      - oauth2: []
      summary: create triggers_v1
      tags:
      - triggers_v1
  /iot/v1/triggers/{id}:
    delete:
      description: Removes a trigger
      operationId: triggers_v1#delete
      parameters:
      - description: If true, hard delete the trigger
        in: query
        name: force
        schema:
          default: false
          type: boolean
      - description: The id of the trigger
        in: path
        name: id
        required: true
        schema:
          type: string
      - in: header
        name: X-Organization
        schema:
          type: string
      responses:
        '200':
          description: OK
        '401':
          content:
            application/vnd.goa.error+json:
              schema:
                $ref: '#/components/schemas/error'
            text/plain:
              schema:
                $ref: '#/components/schemas/error'
          description: Unauthorized
        '404':
          description: Not Found
        '500':
          content:
            application/vnd.goa.error+json:
              schema:
                $ref: '#/components/schemas/error'
            text/plain:
              schema:
                $ref: '#/components/schemas/error'
          description: Internal Server Error
      security:
      - oauth2: []
      summary: delete triggers_v1
      tags:
      - triggers_v1
    get:
      description: Returns a trigger
      operationId: triggers_v1#show
      parameters:
      - description: The id of the trigger
        in: path
        name: id
        required: true
        schema:
          type: string
      - in: header
        name: X-Organization
        schema:
          type: string
      responses:
        '200':
          content:
            application/vnd.arduino.trigger_with_linked_entities+json:
              schema:
                $ref: '#/components/schemas/ArduinoTrigger_with_linked_entities'
            application/vnd.goa.error+json:
              schema:
                $ref: '#/components/schemas/ArduinoTrigger_with_linked_entities'
          description: OK
        '401':
          content:
            application/vnd.arduino.trigger_with_linked_entities+json:
              schema:
                $ref: '#/components/schemas/error'
            application/vnd.goa.error+json:
              schema:
                $ref: '#/components/schemas/error'
          description: Unauthorized
        '404':
          content:
            application/vnd.arduino.trigger_with_linked_entities+json:
              schema:
                $ref: '#/components/schemas/error'
            application/vnd.goa.error+json:
              schema:
                $ref: '#/components/schemas/error'
          description: Not Found
        '500':
          content:
            application/vnd.arduino.trigger_with_linked_entities+json:
              schema:
                $ref: '#/components/schemas/error'
            application/vnd.goa.error+json:
              schema:
                $ref: '#/components/schemas/error'
          description: Internal Server Error
      security:
      - oauth2: []
      summary: show triggers_v1
      tags:
      - triggers_v1
    patch:
      description: Patch a trigger
      operationId: triggers_v1#patch
      parameters:
      - description: The id of the trigger
        in: path
        name: id
        required: true
        schema:
          type: string
      - in: header
        name: X-Organization
        schema:
          type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/trigger'
          application/x-www-form-urlencoded:
            schema:
              $ref: '#/components/schemas/trigger'
        required: true
        x-originalParamName: payload
      responses:
        '200':
          content:
            application/vnd.arduino.trigger+json:
              schema:
                $ref: '#/components/schemas/ArduinoTrigger'
            application/vnd.goa.error+json:
              schema:
                $ref: '#/components/schemas/ArduinoTrigger'
          description: OK
        '400':
          content:
            application/vnd.arduino.trigger+json:
              schema:
                $ref: '#/components/schemas/error'
            application/vnd.goa.error+json:
              schema:
                $ref: '#/components/schemas/error'
          description: Bad Request
        '401':
          content:
            application/vnd.arduino.trigger+json:
              schema:
                $ref: '#/components/schemas/error'
            application/vnd.goa.error+json:
              schema:
                $ref: '#/components/schemas/error'
          description: Unauthorized
        '404':
          content:
            application/vnd.arduino.trigger+json:
              schema:
                $ref: '#/components/schemas/error'
            application/vnd.goa.error+json:
              schema:
                $ref: '#/components/schemas/error'
          description: Not Found
        '500':
          content:
            application/vnd.arduino.trigger+json:
              schema:
                $ref: '#/components/schemas/error'
            application/vnd.goa.error+json:
              schema:
                $ref: '#/components/schemas/error'
          description: Internal Server Error
      security:
      - oauth2: []
      summary: patch triggers_v1
      tags:
      - triggers_v1
    post:
      description: Updates a trigger
      operationId: triggers_v1#update
      parameters:
      - description: The id of the trigger
        in: path
        name: id
        required: true
        schema:
          type: string
      - in: header
        name: X-Organization
        schema:
          type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/trigger'
          application/x-www-form-urlencoded:
            schema:
              $ref: '#/components/schemas/trigger'
        required: true
        x-originalParamName: payload
      responses:
        '200':
          content:
            application/vnd.arduino.trigger+json:
              schema:
                $ref: '#/components/schemas/ArduinoTrigger'
            application/vnd.goa.error+json:
              schema:
                $ref: '#/components/schemas/ArduinoTrigger'
          description: OK
        '400':
          content:
            application/vnd.arduino.trigger+json:
              schema:
                $ref: '#/components/schemas/error'
            application/vnd.goa.error+json:
              schema:
                $ref: '#/components/schemas/error'
          description: Bad Request
        '401':
          content:
            application/vnd.arduino.trigger+json:
              schema:
                $ref: '#/components/schemas/error'
            application/vnd.goa.error+json:
              schema:
                $ref: '#/components/schemas/error'
          description: Unauthorized
        '404':
          content:
            application/vnd.arduino.trigger+json:
              schema:
                $ref: '#/components/schemas/error'
            application/vnd.goa.error+json:
              schema:
                $ref: '#/components/schemas/error'
          description: Not Found
        '500':
          content:
            application/vnd.arduino.trigger+json:
              schema:
                $ref: '#/components/schemas/error'
            application/vnd.goa.error+json:
              schema:
                $ref: '#/components/schemas/error'
          description: Internal Server Error
      security:
      - oauth2: []
      summary: update triggers_v1
      tags:
      - triggers_v1
  /iot/v1/triggers/{id}/template:
    get:
      description: Extract template from the given trigger
      operationId: triggers_v1#template
      parameters:
      - description: The id of the trigger
        in: path
        name: id
        required: true
        schema:
          type: string
      - in: header
        name: X-Organization
        schema:
          type: string
      responses:
        '200':
          content:
            application/vnd.arduino.trigger_template+json:
              schema:
                $ref: '#/components/schemas/ArduinoTrigger_template'
            application/vnd.goa.error+json:
              schema:
                $ref: '#/components/schemas/ArduinoTrigger_template'
          description: OK
        '400':
          content:
            application/vnd.arduino.trigger_template+json:
              schema:
                $ref: '#/components/schemas/error'
            application/vnd.goa.error+json:
              schema:
                $ref: '#/components/schemas/error'
          description: Bad Request
        '401':
          content:
            application/vnd.arduino.trigger_template+json:
              schema:
                $ref: '#/components/schemas/error'
            application/vnd.goa.error+json:
              schema:
                $ref: '#/components/schemas/error'
          description: Unauthorized
        '404':
          content:
            application/vnd.arduino.trigger_template+json:
              schema:
                $ref: '#/components/schemas/error'
            application/vnd.goa.error+json:
              schema:
                $ref: '#/components/schemas/error'
          description: Not Found
        '500':
          content:
            application/vnd.arduino.trigger_template+json:
              schema:
                $ref: '#/components/schemas/error'
            application/vnd.goa.error+json:
              schema:
                $ref: '#/components/schemas/error'
          description: Internal Server Error
      security:
      - oauth2: []
      summary: template triggers_v1
      tags:
      - triggers_v1
  /iot/v1/triggers/{id}/unsubscribe:
    post:
      description: Unsubscribe the list of users from all the actions of the trigger
      operationId: triggers_v1#unsubscribe
      parameters:
      - description: The id of the trigger
        in: path
        name: id
        required: true
        schema:
          type: string
      - in: header
        name: X-Organization
        schema:
          type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/recipients_list'
          application/x-www-form-urlencoded:
            schema:
              $ref: '#/components/schemas/recipients_list'
        required: true
        x-originalParamName: payload
      responses:
        '200':
          description: OK
        '400':
          content:
            application/vnd.goa.error+json:
              schema:
                $ref: '#/components/schemas/error'
            text/plain:
              schema:
                $ref: '#/components/schemas/error'
          description: Bad Request
        '401':
          content:
            application/vnd.goa.error+json:
              schema:
                $ref: '#/components/schemas/error'
            text/plain:
              schema:
                $ref: '#/components/schemas/error'
          description: Unauthorized
        '404':
          content:
            application/vnd.goa.error+json:
              schema:
                $ref: '#/components/schemas/error'
            text/plain:
              schema:
                $ref: '#/components/schemas/error'
          description: Not Found
        '500':
          content:
            application/vnd.goa.error+json:
              schema:
                $ref: '#/components/schemas/error'
            text/plain:
              schema:
                $ref: '#/components/schemas/error'
          description: Internal Server Error
      security:
      - oauth2: []
      summary: unsubscribe triggers_v1
      tags:
      - triggers_v1
components:
  schemas:
    device_status_source:
      properties:
        criteria:
          description: The matching criteria of the trigger, this allows to interpret device_ids as an inclusion or exclusion list
          enum:
          - INCLUDE
          - EXCLUDE
          type: string
        device_ids:
          description: A list of device IDs to be included in or excluded from the trigger (see criteria). Mutually exclusive with property_id.
          items:
            format: uuid
            type: string
          type: array
        grace_period_offline:
          description: Amount of seconds the trigger will wait before the device will be considered disconnected (requires 'device_id')
          maximum: 1209600
          minimum: 0
          type: integer
        grace_period_online:
          description: Amount of seconds the trigger will wait before the device will be considered connected (requires 'device_id')
          maximum: 1209600
          minimum: 0
          type: integer
      required:
      - criteria
      title: device_status_source
      type: object
    recipients_list:
      properties:
        recipients:
          description: List of recipients to be removed
          items:
            format: uuid
            type: string
          type: array
      required:
      - recipients
      title: recipients_list
      type: object
    create-action:
      properties:
        description:
          description: The description of the trigger
          type: string
        email:
          $ref: '#/components/schemas/email_action'
        kind:
          description: The kind of the action
          enum:
          - NOTIFY-EMAIL
          - NOTIFY-PUSH
          example: NOTIFY-EMAIL
          type: string
        name:
          description: The name of the action
          type: string
        organization_id:
          description: Id of the organization the trigger belongs to
          format: uuid
          type: string
        push_notification:
          $ref: '#/components/schemas/push_action'
        trigger_id:
          description: Id of the trigger the action is associated to
          format: uuid
          type: string
      required:
      - kind
      - name
      title: create-action
      type: object
    ArduinoLinked_device:
      description: ArduinoLinked_device media type (default view)
      properties:
        device:
          $ref: '#/components/schemas/ArduinoDevicev2'
        status:
          description: The status of the linked device
          enum:
          - OK
          - DELETED
          example: OK
          type: string
      required:
      - status
      - device
      title: 'Mediatype identifier: application/vnd.arduino.linked_device+json; view=default'
      type: object
    ArduinoTrigger:
      description: ArduinoTrigger media type (default view)
      properties:
        actions:
          description: A list of actions associated with the trigger
          items:
            $ref: '#/components/schemas/ArduinoAction'
          type: array
        active:
          description: Is true if the trigger is enabled
          type: boolean
        created_at:
          description: Creation date of the trigger
          format: date-time
          type: string
        created_by:
          description: Id of the user who last updated the trigger
          format: uuid
          type: string
        deleted_at:
          description: Deletion date of the trigger
          format: date-time
          type: string
        description:
          description: The description of the trigger
          type: string
        device_status_source:
          $ref: '#/components/schemas/device_status_source'
        id:
          description: The id of the trigger
          format: uuid
          type: string
        n

# --- truncated at 32 KB (59 KB total) ---
# Full source: https://raw.githubusercontent.com/api-evangelist/arduino/refs/heads/main/openapi/arduino-triggers-v1-api-openapi.yml