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

# POST /app/auth/trustedDevice/current

`POST /app/auth/trustedDevice/current`

## 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/current`
- Auth: API key in header `authorization`
- TypeScript: <https://skmtc.dev/optimyzee/apis/optimyzee-api/docs/app/auth/trustedDevice/current/post.ts> (a function with typed inputs; its response is checked against the schema)

## Request body

- object
  - `guid` string, required

## Response `200`

Current device is trusted

- object
  - `data` AppAuthTrustedDeviceSchema, required
    - `id` integer, required
    - `userId` integer, required
    - `userAgent` string, nullable, required
    - `ip` string, nullable, required
    - `validTo` string, date-time, required

## Other responses

- `204`: Current device is not trusted
- `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)
