POST /rooms/{id}/anonymous-token
Assina JWT pra guest anônimo (só sala public).
- Access: Public
- Service:
https://meet-api.axuz.net
Accepted authentication
No authentication (public route, or protected by link/signature).
Grupo OptionalAuth — cookie de sessão é reconhecido mas não exigido. Sala com visibility != public responde 404 not found, idêntico ao de sala inexistente (W-012). guest_name obrigatório. Retorna também guest_id (uuid v4 novo por token).
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
id | path | string | yes | UUID da meet_room. |
Request body
application/json · Required
| Name | Type | Required | Description |
|---|---|---|---|
guest_name | string | yes | Trim aplicado; vazio → 400. |
email | string<email> | no |
{
"guest_name": "string",
"email": "pessoa@example.test"
}Responses
200
Token assinado.
| Name | Type | Required | Description |
|---|---|---|---|
room_slug | string | yes | |
join_url | string<uri> | yes |
|
jwt | string | yes | JWT HS256 RFC 7519 no formato lib-jitsi-meet: claims |
expires_at | string<date-time> | yes | TTL padrão 1h. |
guest_id | string<uuid> | no | Presente só nas rotas |
400
Input inválido.
| Name | Type | Required | Description |
|---|---|---|---|
error | string | yes |
404
Sala inexistente (ou privada, anti-enumeração).
| 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/ID/anonymous-token' \
-H "Content-Type: application/json" \
-d '{"guest_name":"string","email":"pessoa@example.test"}'Node.js
const res = await fetch("https://meet-api.axuz.net/rooms/ID/anonymous-token", {
method: 'POST',
headers: {
'Content-Type': 'application/json',
},
body: JSON.stringify({
"guest_name": "string",
"email": "pessoa@example.test"
}),
});
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/ID/anonymous-token",
json={
"guest_name": "string",
"email": "pessoa@example.test",
},
timeout=30,
)
res.raise_for_status()
print(res.json())