---
title: "Get active device action requests"
method: GET
path: "/v1/integrate/devices/actions/requests/active"
tags: ["IoT Integrator"]
---

# Get active device action requests

`GET /v1/integrate/devices/actions/requests/active`

## Request

- Base URL: `https://api.1nce.com/management-api`
- URL: `https://api.1nce.com/management-api/v1/integrate/devices/actions/requests/active`
- Auth: HTTP bearer

Get a list of active device action requests in the last 7 days.

## Query parameters

- `page` integer
- `pageSize` integer
- `deviceId` string
- `protocol` string
- `status` 'SCHEDULED' | 'IN_PROGRESS'
- `sort` 'created' | '-created' | 'updated' | '-updated'

## Response `200`

OK

- GetActiveResponseschema: Response to the request to get active device action requests.
  - `items` GetActiveResponseschemaItemsInner[], required: An array of request items.
    - `id` string, required: The ID of the request.
    - `status` 'SCHEDULED' | 'IN_PROGRESS', required: The status of the request.
    - `deviceId` string, required: The unique ID of the device.
    - `ip` string, required: The IP address of the device.
    - `protocol` 'UDP' | 'COAP' | 'LWM2M', required: The protocol of the request.
    - `created` string, date-time, required: The timestamp at which the request was created.
    - `updated` string, date-time, required: The timestamp at which the request was updated.
    - `mode` 'SEND_NOW' | 'SEND_WHEN_ACTIVE', required: The mode of the request.
    - `resultData` object: Result data (can include response from device etc.).
    - `requestData` object: Protocol specific request data.
    - `sendAttemptsLeft` number: How many attempts are left to send data to the device
    - `sendAttempts` number: The maximum number of attempts to send data to a device
  - `page` number, required: The current page number of the requests.
  - `pageAmount` number, required: The total amount of pages needed to show all requests.

## Other responses

- `400`: Bad Request
- `403`: Forbidden
- `500`: Internal Server Error

---

[API](https://skmtc.dev/1nce/apis/1nce-os.md) - [All operations](https://skmtc.dev/1nce/apis/1nce-os/llms.txt) - [OpenAPI document](https://skmtc.dev/1nce/apis/1nce-os/revisions/f1aabbc6aeea?raw)
