---
title: "Internal: InfoSlides CLI sign-in, not for agents"
method: POST
path: "/v1/auth/cli/exchange"
tags: ["CLI authentication"]
---

# Internal: InfoSlides CLI sign-in, not for agents

`POST /v1/auth/cli/exchange`

## Request

- Base URL: `https://infoslides.app`
- URL: `https://infoslides.app/v1/auth/cli/exchange`
- Auth: none declared

Exchanges the authorization code plus its PKCE verifier for a session token.

## Request body

- CliExchangeRequest
  - `code` string, nullable
  - `codeVerifier` string, nullable

## Response `200`

OK

---

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