API · v1 · stabiel
CODEMETA OSDeveloper Center
NL
Console openen

POST /v1/campaigns/{id}/actions/{actionId}/test-email

POST/v1/campaigns/{id}/actions/{actionId}/test-email

Send a one-off test e-mail using the rendered SEND_EMAIL action body. Runs synchronously — the response reports success or the actual provider error.

Datamodel

Deze operatie werkt op de entiteit Campaign (campaign). Alle 34 velden — type, validatie, verplichte velden, relaties — staan in de schemareferentie.

Request body

NaamTypeBeschrijving
tovereiststring<email>

Padparameters

NaamTypeBeschrijving
idvereiststring
actionIdvereiststring

Voorbeeld

curl -X POST https://api.codemeta-os.de/v1/campaigns/{id}/actions/{actionId}/test-email \
  -H "X-Tenant-Id: $TENANT" \
  -H "Content-Type: application/json" \
  -b cookies.txt \
  -d '{
  "to": "string"
}'
const result = await cm.campaigns.post({
  "to": "string"
});

Antwoordcodes

HTTP Betekenis
200 Default Response

Zoeken