---
title: "Create a device-agent auth code"
method: POST
path: "/v1/device-agent/auth-code"
tags: ["Device Agent"]
---

# Create a device-agent auth code

`POST /v1/device-agent/auth-code`

## Request body

- AuthCodeDto

## Response `201`

---

[API](https://skmtc.dev/trycompai/apis/comp-ai-api.md) · [All operations](https://skmtc.dev/trycompai/apis/comp-ai-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/trycompai/comp-ai-api/revisions/e3da57681861/schema)
