---
title: "Fetches a client token in exchange for a device authorization code previously authorized via the (OAuth2.0) client device authorization flow"
method: GET
path: "/client/cda/get_token"
---

# Fetches a client token in exchange for a device authorization code previously authorized via the (OAuth2.0) client device authorization flow

`GET /client/cda/get_token`

## Request

- Base URL: `https://api.border0.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.border0.com/client/cda/get_token`
- Auth: none declared. Required headers: `x-client-device-authorization-code`

## Headers

- `x-client-device-authorization-code` string, required

## Response `200`

OK

- V1GetClientDeviceAuthorizationResponse
  - `client_token` string
  - `device_ip` string
  - `device_os` string
  - `status` string

## Other responses

- `400`: Bad Request
- `500`: Internal Server Error

---

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