Mail an Bewerbende vorschauen
Rendered subject and body of a template (or of the text HR edited) for this application. Writes nothing. 409 `application_purged` for purged applications, 422 for unknown placeholders
Bearer-Token, erhalten über den Login-Endpunkt (POST /rest/login).
Ort: header
Pfadparameter
Request-Body
application/json
TypeScript-Definitionen
TypeScript-Typ für request body.
Preview of a recruiting mail (OpenSpec add-recruiting, task 9.1): the template and optionally the subject and body HR edited. Empty or missing texts fall back to the template.
Response-Body
application/json
application/json
application/json
curl -X POST "https://example.com/recruiting/applications/string/mails/preview" \ -H "Content-Type: application/json" \ -d '{ "template": "rejection" }'{ "data": { "template": "rejection", "subject": "string", "body": "string" }}Bewerbungsunterlage herunterladen GET
Temporary URL (15 minutes); 409 `document_quarantined` while the file is being checked
Mail an Bewerbende senden POST
Queues a rejection or invitation and records a `mail_sent` event; `set_stage` moves a rejection to `rejected` in the same request. Answers 202 with the event and the updated application. 409 `application_purged`, 422 `application_without_email` or field errors