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

POST /v1/webhooks/{id}/test

POST/v1/webhooks/{id}/test

CodeMeta OS API endpoint.

Corps de la requête

NomTypeDescription
eventTypeobligatoirestring
entityIdstring
customPayloadobject

Paramètres de chemin

NomTypeDescription
idobligatoirestring

Exemple

curl -X POST https://api.codemeta-os.de/v1/webhooks/{id}/test \
  -H "X-Tenant-Id: $TENANT" \
  -H "Content-Type: application/json" \
  -b cookies.txt \
  -d '{
  "eventType": "entity.created",
  "entityId": "string",
  "customPayload": null
}'
const result = await cm.webhooks.post({
  "eventType": "entity.created",
  "entityId": "string",
  "customPayload": null
});

Codes de réponse

HTTP Signification
200 Default Response

Recherche