Autorisierung fehlt (email-auth-key-missing)
Bei der HTTP-Abfrage wurde kein auth_key angegeben, d.h. es fehlt die
Autorisierung für die Spezifikation der Felder to, cc und bcc.
Beispiel:
>>> import pprint, requests
>>> api_key = "6809fb00tDfPWbTVNvyeGxFQSFvNYSPTwZybcEQTBsSeMLwVeYZauwSKrEuuvxjqcdqygkoPoQJTJClxdUnSPhenetVXBzJeWI"
>>> response = requests.post(
... "https://my.living-apps.de/rest/user/email",
... headers={
... "Accept": "application/json",
... "Content-Type": "application/json",
... "X-API-KEY": api_key,
... },
... json={
... "subject": "Test",
... "body": "Test",
... "to": ["test@example.com"],
... },
... )
>>> pprint.pprint(response.json())
{'detail': 'Specifying `to`, `cc` or `bcc` requires passing `auth_key`.',
'status': 403,
'title': 'Email recipients not authorized',
'type': 'https://my.living-apps.de/docs/REST-Service_error_email_auth_key_missing.html'}