Zum Inhalt springen

Escreve uma nota (compartilhada ou só minha)

POST/api/one-on-ones/meetings/{meetingId}/notes

Auth
Token erforderlich
Wer darf:
SuperAdmin
API-Schlüssel:
Kein API-Schlüssel möglich
X-CommunityId
X-CommunityId Sende die X-CommunityId der Community, in der die Operation stattfindet.
Die Beschreibungen der Endpoints stammen aus der API-Spezifikation und sind vorerst auf Portugiesisch. Die Oberfläche drumherum ist übersetzt.

Um dos participantes. `SHARED`: os dois leem. `PRIVATE`: só quem escreveu, por qualquer caminho (API, MCP, avisos, e-mails, SuperAdmin). Texto rico (HTML sanitizado).

Parameter

NameOrtTypBeschreibung
meetingIdPflichtpathstring (uuid)

Header

NameTypBeschreibung
X-CommunityIdoptionalstring (uuid)ID da comunidade em que a operação acontece. Obrigatório na maioria dos endpoints com escopo de comunidade.

Request-Body application/json

NameTypBeschreibung
visibilityoptionalSHARED | PRIVATE
bodyPflichtstringmax 20000

Antworten

StatusBeschreibung
201A reunião.
400Requisição inválida — falha de validação.
401Token ausente, inválido ou expirado; token de outra comunidade (o `X-CommunityId` ou o `communityId` do corpo não é o do token); token antigo ou de uma sessão encerrada (troca de senha, convite aceito). Nesses casos a mensagem pede para entrar de novo (`auth.signInAgain`).
404Recurso não encontrado.
409Conflito com o estado atual do recurso.
422`noteRequired` ou `visibilityInvalid`.

curl-Beispiel

curl -X POST "https://api.memberfy.net/api/one-on-ones/meetings/<meetingId>/notes" \
  -H "Authorization: Bearer $TOKEN" \
  -H "X-CommunityId: $COMMUNITY_ID" \
  -H "Content-Type: application/json" \
  -d '{"body":"string"}'