hi @MrGeneration –
Thanks for the response.
Here is an example payload we got in a Zammad webhook. Names have been changed to protect the innocent…I don’t see anything about “mentions” in this payload. Am I missing something?
{
"ticket": {
"article_count": 10,
"article_ids": [
19814,
19878,
20047,
20048,
20049,
20507,
20508,
20559,
20779,
20780,
20781,
20782,
20791,
20792,
20793,
20797,
20798,
20799,
20808,
20809,
20813,
20876,
20939,
20940,
20941,
21283,
21284
],
"close_at": "2023-03-22T19:38:11.478Z",
"close_diff_in_min": null,
"close_escalation_at": null,
"close_in_min": null,
"create_article_sender": "Customer",
"create_article_sender_id": 2,
"create_article_type": "email",
"create_article_type_id": 1,
"created_at": "2023-03-21T21:43:25.161Z",
"created_by": {
"active": true,
"address": null,
"city": "",
"country": "",
"created_at": "2022-12-21T22:54:02.396Z",
"created_by": "karen@example.com",
"created_by_id": 728,
"department": null,
"email": "karen@example.com",
"fax": "",
"firstname": "Karen",
"id": 728,
"image": null,
"image_source": null,
"lastname": "Peters",
"login": "karen@example.com",
"mobile": "",
"note": "",
"organization_id": null,
"organization_ids": [],
"organizations": [],
"out_of_office": false,
"out_of_office_end_at": null,
"out_of_office_replacement_id": null,
"out_of_office_start_at": null,
"overview_sorting_ids": [],
"overview_sortings": [],
"phone": "",
"role_ids": [
3
],
"roles": [
"Customer"
],
"source": null,
"street": "",
"updated_at": "2023-03-28T12:59:31.262Z",
"updated_by": "rick@example.com",
"updated_by_id": 9,
"verified": false,
"vip": false,
"web": "",
"zip": ""
},
"created_by_id": 728,
"customer": {
"active": true,
"address": null,
"city": "",
"country": "",
"created_at": "2022-12-21T22:54:02.396Z",
"created_by": "karen@example.com",
"created_by_id": 728,
"department": null,
"email": "karen@example.com",
"fax": "",
"firstname": "Karen",
"id": 728,
"image": null,
"image_source": null,
"lastname": "Peters",
"login": "karen@example.com",
"mobile": "",
"note": "",
"organization_id": null,
"organization_ids": [],
"organizations": [],
"out_of_office": false,
"out_of_office_end_at": null,
"out_of_office_replacement_id": null,
"out_of_office_start_at": null,
"overview_sorting_ids": [],
"overview_sortings": [],
"phone": "",
"role_ids": [
3
],
"roles": [
"Customer"
],
"source": null,
"street": "",
"updated_at": "2023-03-28T12:59:31.262Z",
"updated_by": "rick@example.com",
"updated_by_id": 9,
"verified": false,
"vip": false,
"web": "",
"zip": ""
},
"customer_id": 728,
"escalation_at": null,
"first_response_at": "2023-03-22T19:38:11.654Z",
"first_response_diff_in_min": null,
"first_response_escalation_at": null,
"first_response_in_min": null,
"group": {
"active": true,
"assignment_timeout": null,
"created_at": "2022-11-27T13:01:31.415Z",
"created_by": "andrew@example.com",
"created_by_id": 4,
"email_address_id": 1,
"follow_up_assignment": true,
"follow_up_possible": "yes",
"id": 2,
"name": "Acme Support Team",
"note": "",
"reopen_time_in_days": null,
"shared_drafts": true,
"signature": "Acme",
"signature_id": 1,
"updated_at": "2022-12-30T23:36:36.540Z",
"updated_by": "andrew@example.com",
"updated_by_id": 4,
"user_ids": [
9,
4,
155,
231,
128,
96,
253,
880,
881,
882,
883,
883
],
"users": [
"rick@example.com",
"andrew@example.com",
"christie@example.com",
"valeria@example.com",
"james@example.com",
"zhenya@example.com",
"no-reply@example.com",
"lina@example.com",
"kelly@example.com",
"adrianna@example.com",
"production@example.com",
"production@example.com"
]
},
"group_id": 2,
"id": 6319,
"last_close_at": "2023-03-28T12:59:26.065Z",
"last_contact_agent_at": "2023-03-28T12:59:26.127Z",
"last_contact_at": "2023-03-29T16:33:44.644Z",
"last_contact_customer_at": "2023-03-29T16:33:44.644Z",
"last_owner_update_at": "2023-03-29T16:33:44.602Z",
"note": null,
"number": "346310",
"organization_id": null,
"owner": {
"active": false,
"address": "",
"city": "",
"country": "",
"created_at": "2022-11-15T15:55:22.337Z",
"created_by": "-",
"created_by_id": 1,
"department": "",
"email": "",
"fax": "",
"firstname": "-",
"id": 1,
"image": null,
"image_source": null,
"lastname": "",
"login": "-",
"mobile": "",
"note": "",
"organization_id": null,
"organization_ids": [],
"organizations": [],
"out_of_office": false,
"out_of_office_end_at": null,
"out_of_office_replacement_id": null,
"out_of_office_start_at": null,
"overview_sorting_ids": [],
"overview_sortings": [],
"phone": "",
"role_ids": [],
"roles": [],
"source": null,
"street": "",
"updated_at": "2022-11-15T15:55:22.337Z",
"updated_by": "-",
"updated_by_id": 1,
"verified": false,
"vip": false,
"web": "",
"zip": ""
},
"owner_id": 1,
"pending_time": null,
"preferences": {
"channel_id": 3
},
"priority": {
"active": true,
"created_at": "2022-11-15T15:55:22.670Z",
"created_by": "-",
"created_by_id": 1,
"default_create": true,
"id": 2,
"name": "2 normal",
"note": null,
"ui_color": null,
"ui_icon": null,
"updated_at": "2022-11-15T15:55:22.670Z",
"updated_by": "-",
"updated_by_id": 1
},
"priority_id": 2,
"state": "open",
"state_id": 2,
"ticket_time_accounting": [],
"ticket_time_accounting_ids": [],
"time_unit": null,
"title": "FW: po# 422637-02knk\/MS90556C52412PW . appearance defect.",
"type": "",
"update_diff_in_min": null,
"update_escalation_at": null,
"update_in_min": null,
"updated_at": "2023-03-29T16:33:45.165Z",
"updated_by": {
"active": true,
"address": null,
"city": "",
"country": "",
"created_at": "2022-12-21T22:54:02.396Z",
"created_by": "karen@example.com",
"created_by_id": 728,
"department": null,
"email": "karen@example.com",
"fax": "",
"firstname": "Karen",
"id": 728,
"image": null,
"image_source": null,
"lastname": "Peters",
"login": "karen@example.com",
"mobile": "",
"note": "",
"organization_id": null,
"organization_ids": [],
"organizations": [],
"out_of_office": false,
"out_of_office_end_at": null,
"out_of_office_replacement_id": null,
"out_of_office_start_at": null,
"overview_sorting_ids": [],
"overview_sortings": [],
"phone": "",
"role_ids": [
3
],
"roles": [
"Customer"
],
"source": null,
"street": "",
"updated_at": "2023-03-28T12:59:31.262Z",
"updated_by": "rick@example.com",
"updated_by_id": 9,
"verified": false,
"vip": false,
"web": "",
"zip": ""
},
"updated_by_id": 728,
"organization": []
},
"article": {
"attachments": [
{
"id": 22760,
"store_file_id": 16911,
"filename": "message.html",
"size": "20701",
"preferences": {
"content-alternative": true,
"original-format": true,
"Mime-Type": "text\/html",
"Charset": "UTF-8"
},
"url": "https:\/\/www.support.com\/api\/v1\/ticket_attachment\/6319\/21283\/22760"
}
],
"body": "redacted",
"cc": null,
"content_type": "text\/html",
"created_at": "2023-03-29T16:33:44.644Z",
"created_by": {
"active": true,
"address": null,
"city": "",
"country": "",
"created_at": "2022-12-21T22:54:02.396Z",
"created_by": "karen@example.com",
"created_by_id": 728,
"department": null,
"email": "karen@example.com",
"fax": "",
"firstname": "Karen",
"id": 728,
"image": null,
"image_source": null,
"lastname": "Peters",
"login": "karen@example.com",
"mobile": "",
"note": "",
"organization_id": null,
"organization_ids": [],
"organizations": [],
"out_of_office": false,
"out_of_office_end_at": null,
"out_of_office_replacement_id": null,
"out_of_office_start_at": null,
"overview_sorting_ids": [],
"overview_sortings": [],
"phone": "",
"role_ids": [
3
],
"roles": [
"Customer"
],
"source": null,
"street": "",
"updated_at": "2023-03-28T12:59:31.262Z",
"updated_by": "rick@example.com",
"updated_by_id": 9,
"verified": false,
"vip": false,
"web": "",
"zip": ""
},
"created_by_id": 728,
"from": "Karen <karen@example.com>",
"id": 21283,
"in_reply_to": null,
"internal": false,
"message_id": "<e90ef96113c64709b7a36dc2bb54b745@LADV-MTAEXS01.example.com>",
"message_id_md5": "a43062e66afab6ae1da6e5f8b9783c50",
"origin_by_id": null,
"preferences": {
"send-auto-response": true,
"is-auto-response": false
},
"references": null,
"reply_to": null,
"sender": "Customer",
"sender_id": 2,
"subject": "RE: po# 422637-02knk\/MS90556C52412PW . appearance defect.",
"ticket_id": 6319,
"to": "Acme Sales Support <sales@example.com>",
"type": "email",
"type_id": 1,
"updated_at": "2023-03-29T16:33:44.644Z",
"updated_by": {
"active": true,
"address": null,
"city": "",
"country": "",
"created_at": "2022-12-21T22:54:02.396Z",
"created_by": "karen@example.com",
"created_by_id": 728,
"department": null,
"email": "karen@example.com",
"fax": "",
"firstname": "Karen",
"id": 728,
"image": null,
"image_source": null,
"lastname": "Peters",
"login": "karen@example.com",
"mobile": "",
"note": "",
"organization_id": null,
"organization_ids": [],
"organizations": [],
"out_of_office": false,
"out_of_office_end_at": null,
"out_of_office_replacement_id": null,
"out_of_office_start_at": null,
"overview_sorting_ids": [],
"overview_sortings": [],
"phone": "",
"role_ids": [
3
],
"roles": [
"Customer"
],
"source": null,
"street": "",
"updated_at": "2023-03-28T12:59:31.262Z",
"updated_by": "rick@example.com",
"updated_by_id": 9,
"verified": false,
"vip": false,
"web": "",
"zip": ""
},
"updated_by_id": 728,
"accounted_time": 0
}
}