---
title: "Exchange an auth code for device credentials"
method: POST
path: "/v1/device-agent/exchange-code"
tags: ["Device Agent"]
---

# Exchange an auth code for device credentials

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

## Request body

- ExchangeCodeDto

## 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)
