---
title: "GET /app/auth/trustedDevice"
method: GET
path: "/app/auth/trustedDevice"
tags: ["App/Auth/TrustedDevice"]
---

# GET /app/auth/trustedDevice

`GET /app/auth/trustedDevice`

## Request

- Base URL: `https://api.optimyzee.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.optimyzee.com/app/auth/trustedDevice`
- Auth: API key in header `authorization`
- TypeScript: <https://skmtc.dev/optimyzee/apis/optimyzee-api/docs/app/auth/trustedDevice/get.ts> (a function with typed inputs; its response is checked against the schema)

## Query parameters

- `perPage` integer, nullable
- `cursor` string, nullable

## Response `200`

Successful

- object
  - `items` AppAuthTrustedDeviceSchema[], required
    - `id` integer, required
    - `userId` integer, required
    - `userAgent` string, nullable, required
    - `ip` string, nullable, required
    - `validTo` string, date-time, required
  - `perPage` integer, required
  - `previous` string, nullable, required
  - `next` string, nullable, required

## Other responses

- `401`: Unauthenticated

---

[API](https://skmtc.dev/optimyzee/apis/optimyzee-api.md) - [All operations](https://skmtc.dev/optimyzee/apis/optimyzee-api/llms.txt) - [OpenAPI document](https://skmtc.dev/optimyzee/apis/optimyzee-api/revisions/ccaa14692e9f?raw)
