---
title: "Join a voice server to the instance"
method: POST
path: "/voice/join"
tags: ["Voice"]
---

# Join a voice server to the instance

`POST /voice/join`

## Request

- Base URL: `https://web.fluxer.app/api/v1`
- URL: `https://web.fluxer.app/api/v1/voice/join`
- Auth: none required

Registers a new voice server with a join token. Send Authorization: VoiceJoin with the token. Fluxer checks that the endpoint answers and that the key and secret match before it saves the server, then the token stops working.

## Request body

- VoiceJoinRequest
  - `server_id` string: Server id, ignored when the token has a preset
  - `region_id` string: Existing region, ignored when the token has a preset
  - `endpoint` string, uri, required: Public wss endpoint of the server
  - `api_key` string, required: LiveKit API key of the server
  - `api_secret` string, required: LiveKit API secret of the server
  - `latitude` number
  - `longitude` number
  - `soft_connection_limit` integer
  - `public_ipv4` string, ipv4: Public IPv4 address of the voice machine
  - `public_ipv6` string, ipv6: Public IPv6 address of the voice machine

## Response `200`

Success

- VoiceJoinResponse
  - `server_id` string, required: ID of the new server
  - `region_id` string, required: Region of the new server
  - `endpoint` string, required: Endpoint of the new server
  - `webhook_url` string, required: URL the server sends LiveKit webhooks to
  - `node_url` string, required: URL of the node routes for this server
  - `turn_servers` VoiceTurnServer[], required: TURN servers of the instance, for the LiveKit configuration of the voice server
    - `host` string, required: Hostname or IPv4 address of the TURN server
    - `port` integer, required: Port of the TURN server
    - `protocol` 'udp' | 'tcp' | 'tls', required: Transport clients use to connect to the TURN server
    - `username` string: Fixed TURN username
    - `credential` string: Fixed TURN password
    - `secret` string: Shared secret LiveKit signs short-lived TURN credentials with
    - `ttl` integer: Lifetime of the signed credentials in seconds

## Other responses

- `400`: Bad Request - The request was malformed or contained invalid data
- `429`: Too Many Requests - You are being rate limited
- `500`: Internal Server Error - An unexpected error occurred

## Changes

- **2026-10-30** `2ce7b1fa9860`: 2 info
  - added the new optional request property `public_ipv6`
  - added the required property `turn_servers` to the response with the `200` status
- **2026-10-30** `a1e7d4dc7c27`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/fluxer/apis/fluxer-api/changes/voice/join/post.md)

---

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