API · v1 · stable
CODEMETA OSDeveloper Center
FR
Ouvrir la console

POST /v1/invitations

POST/v1/invitations

CodeMeta OS API endpoint.

Corps de la requête

NomTypeDescription
emailobligatoirestring<email>
roleobligatoirestring
messagestring
partyIdsstring[]
partyAssignmentsobject[]

Exemple

curl -X POST https://api.codemeta-os.de/v1/invitations \
  -H "X-Tenant-Id: $TENANT" \
  -H "Content-Type: application/json" \
  -b cookies.txt \
  -d '{
  "email": "string",
  "role": "string",
  "message": "string",
  "partyIds": [],
  "partyAssignments": []
}'
const result = await cm.invitations.post({
  "email": "string",
  "role": "string",
  "message": "string",
  "partyIds": [],
  "partyAssignments": []
});

Codes de réponse

HTTP Signification
200 Default Response

Recherche