---
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`

Exchange an auth code for device credentials in Betayum. Register employee devices, submit device compliance check-ins, download agent builds, and manage endpoint security status.

## Request body

- ExchangeCodeDto

## Response `201`

---

[API](https://skmtc.net/om-network/apis/betayum-api.md) · [All operations](https://skmtc.net/om-network/apis/betayum-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/om-network/betayum-api/revisions/1c5403653ecf/schema)
