---
title: "Ws Callback"
method: POST
path: "/api/authorize/ws-callback"
tags: ["OAuth Authorization"]
---

# Ws Callback

`POST /api/authorize/ws-callback`

Deliver a CLI key to a waiting WebSocket session (called by the frontend after browser authorization).

## Request body

- WsCallbackRequest
  - `ws_session` string, required
  - `state` string, required

## Response `200`

Successful Response

- WsCallbackResponse
  - `success` boolean, required
  - `message` string, required

## Other responses

- `422` — Validation Error
- `500` — Internal Server Error

---

[API](https://skmtc.net/compresr/apis/compresr-platform-api.md) · [All operations](https://skmtc.net/compresr/apis/compresr-platform-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/compresr/compresr-platform-api/revisions/93ee959dfa51/schema)
