Stampfactory
Dokumentation
Recruiting

Mailvorlagen ändern

Per template an own text or null (default). 422 with field errors for unknown placeholders

PUT
/recruiting/settings/mail-templates
AuthentifizierungBearer <token>

Bearer-Token, erhalten über den Login-Endpunkt (POST /rest/login).

Ort: header

Request-Body

application/json

TypeScript-Definitionen

TypeScript-Typ für request body.

Mail templates of the recruiting settings (OpenSpec add-recruiting, task 9.1). Partial update per template: {subject, body} stores an own text, null restores the default. Only the placeholders {vorname}, {nachname}, {stelle} and {firma} are allowed.

Response-Body

application/json

application/json

application/json

curl -X PUT "https://example.com/recruiting/settings/mail-templates" \  -H "Content-Type: application/json" \  -d '{}'
{  "data": {    "placeholders": [      "string"    ],    "templates": [      {        "key": "rejection",        "subject": "string",        "body": "string",        "is_default": true,        "default_subject": "string",        "default_body": "string"      }    ]  }}