Infos:
- Used Zammad version: Latest (6.x)
- Used Zammad installation type: package
- Operating system: Ubuntu
- Browser + version: n8n workflow automation (API integration)
Expected behavior:
Creating tickets via API with article type “email” should create tickets with email type articles.
Actual behavior:
When creating tickets via API with article.type: “email”, getting error 422 “Sending an email without a valid recipient is not possible”. Have to use type “note” as workaround.
Steps to reproduce the behavior:
- Send POST request to /api/v1/tickets
- Include article with type: “email”, from, to, and sender fields
- Receive 422 error
- Change type to “note” - works fine
API payload example:
{
“title”: “Test”,
“group_id”: 2,
“customer_id”: “guess:customer@example.com”,
“article”: {
“type”: “email”,
“from”: “customer@example.com”,
“to”: “service@company.com”,
“sender”: “Customer”,
“body”: “Test content”,
“internal”: false
}
}
This seems related to GitHub issue #1909. Is type “web” or “note” the recommended approach for API ticket creation?