---
title: "Issue a short-lived WebSocket connection token"
method: POST
path: "/api/v1/cable/connection"
tags: ["Cable"]
---

# Issue a short-lived WebSocket connection token

`POST /api/v1/cable/connection`

## Request

- Base URL: `https://api.flexiple.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.flexiple.com/api/v1/cable/connection`
- Auth: none declared

## Response `200`

Connection settings for the authenticated browser

- object
  - `data` object, required
    - `websocket_url` string, nullable, required
    - `token` string, nullable, required
    - `expires_at` string, date-time, nullable, required
  - `meta` object, nullable, required

## Other responses

- `401`: Session cookie required

---

[API](https://skmtc.dev/flexiple/apis/flexiple-platform-api-v1.md) - [All operations](https://skmtc.dev/flexiple/apis/flexiple-platform-api-v1/llms.txt) - [OpenAPI document](https://skmtc.dev/flexiple/apis/flexiple-platform-api-v1/revisions/27e7987859f2?raw)
