Integromat Error: 422 Unprocessable Entity

Trying to create a ticket via API from Integromat (not sure why this isn’t part of the options for Zammad already in Integromat).


  • Used Zammad version: 3.6
  • Used Zammad installation source: source
  • Operating system: Ubuntu
  • Browser + version: NA

Expected behavior:

  • Success,. ticket created

Actual behavior:

  • Error: 422 Unprocessable Entity

Steps to reproduce the behavior:


“ca”: null,
“qs”: [],
“url”: “”,
“data”: “{“note”:“TestAPI Note”,“group”:“Test”,“title”:“Test API Tecket”,“article”:{“body”:“TestAPI Body”,“type”:“text/plain”,“subject”:“TestAPI Subject”},“customer":"”}”,
“gzip”: true,
“method”: “post”,
“headers”: [
“name”: “Authorization”,
“value”: “Token token=XXXXXXX”
“timeout”: null,
“authPass”: null,
“authUser”: null,
“bodyType”: “raw”,
“contentType”: “application/json”,
“shareCookies”: false,
“parseResponse”: false,
“followRedirect”: true,
“useQuerystring”: false,
“followAllRedirects”: false,
“rejectUnauthorized”: true

Your article object says "type":"text/plain" which could be the issue here—the documentation you mentioned shows:

POST /api/v1/tickets

  "title": "Help me!",
  "group": "Users",
  "customer": "",
  "article": {
    "subject": "some subject",
    "body": "some message",
    "type": "note",
    "internal": false
  "note": "some note",

Also, please make sure the customer exists—according to the documentation:

If you want to use or create an customer by email address at ticket creation, you can do with "" in the customer_id attribute.

Great, that got it working. I changed the type to “email” and added “to” under “article” and its all working fine.

1 Like

This topic was automatically closed 120 days after the last reply. New replies are no longer allowed.