Estado do convidado (sala de espera)
POST/api/studio/guest/session
- Auth
- Public
- API key:
- No API key accepted
- X-CommunityId
X-CommunityIdSend the X-CommunityId of the community the operation happens in.
Endpoint descriptions come straight from the API specification and are in Portuguese for now. The interface around them is translated.
Sem login: o `secret` da entrada. `waiting` enquanto o anfitrião não admite; `admitted` (com `onStage`) depois; `removed` quando foi recusado, expulso ou o link foi revogado antes de ele entrar. Sala apagada, outra comunidade ou segredo desconhecido: 404 `guestNotFound`.
Headers
| Name | Type | Description |
|---|---|---|
X-CommunityIdoptional | string (uuid) | ID da comunidade em que a operação acontece. Obrigatório na maioria dos endpoints com escopo de comunidade. |
Request body application/json
| Name | Type | Description |
|---|---|---|
secretrequired | string | min 16, max 128 |
Responses
| Status | Description |
|---|---|
200 | Estado. |
400 | Requisição inválida — falha de validação. |
404 | Recurso não encontrado. |
429 | Muitas tentativas. |
curl example
curl -X POST "https://api.memberfy.net/api/studio/guest/session" \
-H "X-CommunityId: $COMMUNITY_ID" \
-H "Content-Type: application/json" \
-d '{"secret":"string"}'