POST /rooms
Cria uma nova sala Jitsi.
- Access: Team member
- Service:
https://meet-api.axuz.net
Accepted authentication
sessionCookie— Sessão plena Axuz (cookie de sessão da casa). Sessão restrita é 403 enrollment_required.bearerSession— JWT de acesso da sessão em `Authorization: Bearer`.
Slug gerado axuz-<12 hex> com até 3 retries em unique violation. team_id obrigatório se visibility=team; allowed_user_ids obrigatório se visibility=users.
Parameters
No parameters.
Request body
application/json · Required
| Name | Type | Required | Description |
|---|---|---|---|
name | string | no | Vazio → salvo como NULL via |
visibility | string | yes |
enum: |
allowed_user_ids | array<string<uuid>> | no | Obrigatório e não-vazio se |
team_id | string<uuid> | null | no | Obrigatório se |
persistent | boolean | no | |
recording_enabled | boolean | no | |
expires_at | string<date-time> | null | no |
{
"name": "string",
"visibility": "public",
"allowed_user_ids": [
"00000000-0000-0000-0000-000000000000"
],
"team_id": "00000000-0000-0000-0000-000000000000",
"persistent": false,
"recording_enabled": false,
"expires_at": "2026-01-15T12:00:00Z"
}Responses
201
Sala criada.
| Name | Type | Required | Description |
|---|---|---|---|
id | string<uuid> | yes | |
team_id | string<uuid> | null | no | |
slug | string | yes | |
name | string | no | Vazio se coluna IS NULL no DB. |
visibility | string | yes |
enum: |
allowed_user_ids | array<string<uuid>> | yes | Nunca |
created_by | string<uuid> | yes | |
persistent | boolean | yes | |
recording_enabled | boolean | yes | |
created_at | string<date-time> | yes | |
expires_at | string<date-time> | null | no |
400
Input inválido.
| Name | Type | Required | Description |
|---|---|---|---|
error | string | yes |
401
Cookie ausente ou inválido.
| Name | Type | Required | Description |
|---|---|---|---|
error | string | yes |
403
Sem permissao (nao e owner/admin; token sem escopo; token de integracao em rota nao permitida)
| Name | Type | Required | Description |
|---|---|---|---|
error | string | yes |
429
Limite de requisições excedido.
| Name | Type | Required | Description |
|---|---|---|---|
error | string | yes |
500
Erro interno — inclui fail-loud MEET-02 quando membership lookup falha.
| Name | Type | Required | Description |
|---|---|---|---|
error | string | yes |
Examples
"Try it" is turned off in this reference. Use the examples with your test credential.
curl
curl -sS -X POST 'https://meet-api.axuz.net/rooms' \
-H "Authorization: Bearer $AXUZ_TOKEN" \
-H "Content-Type: application/json" \
-d '{"name":"string","visibility":"public","allowed_user_ids":["00000000-0000-0000-0000-000000000000"],"team_id":"00000000-0000-0000-0000-000000000000","persistent":false,"recording_enabled":false,"expires_at":"2026-01-15T12:00:00Z"}'Node.js
const res = await fetch("https://meet-api.axuz.net/rooms", {
method: 'POST',
headers: {
Authorization: `Bearer ${process.env.AXUZ_TOKEN}`,
'Content-Type': 'application/json',
},
body: JSON.stringify({
"name": "string",
"visibility": "public",
"allowed_user_ids": [
"00000000-0000-0000-0000-000000000000"
],
"team_id": "00000000-0000-0000-0000-000000000000",
"persistent": false,
"recording_enabled": false,
"expires_at": "2026-01-15T12:00:00Z"
}),
});
if (!res.ok) throw new Error(`HTTP ${res.status}: ${await res.text()}`);
console.log(await res.json());Python
import os
import requests
res = requests.request(
"POST",
"https://meet-api.axuz.net/rooms",
headers={
"Authorization": f"Bearer {os.environ['AXUZ_TOKEN']}",
},
json={
"name": "string",
"visibility": "public",
"allowed_user_ids": [
"00000000-0000-0000-0000-000000000000",
],
"team_id": "00000000-0000-0000-0000-000000000000",
"persistent": False,
"recording_enabled": False,
"expires_at": "2026-01-15T12:00:00Z",
},
timeout=30,
)
res.raise_for_status()
print(res.json())