Last active
September 30, 2016 09:31
-
-
Save kanmaniselvan/0cd347a6555bc1c58a6d8c713b0260ad to your computer and use it in GitHub Desktop.
SendGrid Mail event Sample JSON structure
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"_json": [ | |
{ | |
"email": "[email protected]", | |
"timestamp": 1475218536, | |
"smtp-id": "<14c5d75ce93.dfd.64b469@ismtpd-555>", | |
"event": "processed", | |
"category": "cat facts", | |
"sg_event_id": "djCl3GRt94fqCWtHYHUIJQ==", | |
"sg_message_id": "14c5d75ce93.dfd.64b469.filter0001.16648.5515E0B88.0" | |
}, | |
{ | |
"email": "[email protected]", | |
"timestamp": 1475218536, | |
"smtp-id": "<14c5d75ce93.dfd.64b469@ismtpd-555>", | |
"event": "deferred", | |
"category": "cat facts", | |
"sg_event_id": "uTpAladEvbUf4edikd-F6w==", | |
"sg_message_id": "14c5d75ce93.dfd.64b469.filter0001.16648.5515E0B88.0", | |
"response": "400 try again later", | |
"attempt": "5" | |
}, | |
{ | |
"email": "[email protected]", | |
"timestamp": 1475218536, | |
"smtp-id": "<14c5d75ce93.dfd.64b469@ismtpd-555>", | |
"event": "delivered", | |
"category": "cat facts", | |
"sg_event_id": "JldC9f3XVTlK_oXSX9Iuyw==", | |
"sg_message_id": "14c5d75ce93.dfd.64b469.filter0001.16648.5515E0B88.0", | |
"response": "250 OK" | |
}, | |
{ | |
"email": "[email protected]", | |
"timestamp": 1475218536, | |
"smtp-id": "<14c5d75ce93.dfd.64b469@ismtpd-555>", | |
"event": "open", | |
"category": "cat facts", | |
"sg_event_id": "ntyLPOrt9uGES42MRGrJ8A==", | |
"sg_message_id": "14c5d75ce93.dfd.64b469.filter0001.16648.5515E0B88.0", | |
"useragent": "Mozilla/4.0 (compatible; MSIE 6.1; Windows XP; .NET CLR 1.1.4322; .NET CLR 2.0.50727)", | |
"ip": "255.255.255.255" | |
}, | |
{ | |
"email": "[email protected]", | |
"timestamp": 1475218536, | |
"smtp-id": "<14c5d75ce93.dfd.64b469@ismtpd-555>", | |
"event": "click", | |
"category": "cat facts", | |
"sg_event_id": "NRdh175FMlEg73GbJCiPpw==", | |
"sg_message_id": "14c5d75ce93.dfd.64b469.filter0001.16648.5515E0B88.0", | |
"useragent": "Mozilla/4.0 (compatible; MSIE 6.1; Windows XP; .NET CLR 1.1.4322; .NET CLR 2.0.50727)", | |
"ip": "255.255.255.255", | |
"url": "http://www.sendgrid.com/" | |
}, | |
{ | |
"email": "[email protected]", | |
"timestamp": 1475218536, | |
"smtp-id": "<14c5d75ce93.dfd.64b469@ismtpd-555>", | |
"event": "bounce", | |
"category": "cat facts", | |
"sg_event_id": "qSZ5Xebi9rEFlC5kAgAcTw==", | |
"sg_message_id": "14c5d75ce93.dfd.64b469.filter0001.16648.5515E0B88.0", | |
"reason": "500 unknown recipient", | |
"status": "5.0.0" | |
}, | |
{ | |
"email": "[email protected]", | |
"timestamp": 1475218536, | |
"smtp-id": "<14c5d75ce93.dfd.64b469@ismtpd-555>", | |
"event": "dropped", | |
"category": "cat facts", | |
"sg_event_id": "wzD389URlyvJQg6uoZ3qpw==", | |
"sg_message_id": "14c5d75ce93.dfd.64b469.filter0001.16648.5515E0B88.0", | |
"reason": "Bounced Address", | |
"status": "5.0.0" | |
}, | |
{ | |
"email": "[email protected]", | |
"timestamp": 1475218536, | |
"smtp-id": "<14c5d75ce93.dfd.64b469@ismtpd-555>", | |
"event": "spamreport", | |
"category": "cat facts", | |
"sg_event_id": "Va-V1BbN8x5nnBdjb1G3BA==", | |
"sg_message_id": "14c5d75ce93.dfd.64b469.filter0001.16648.5515E0B88.0" | |
}, | |
{ | |
"email": "[email protected]", | |
"timestamp": 1475218536, | |
"smtp-id": "<14c5d75ce93.dfd.64b469@ismtpd-555>", | |
"event": "unsubscribe", | |
"category": "cat facts", | |
"sg_event_id": "hdPuwA0YPKEQeZqTp-QTZg==", | |
"sg_message_id": "14c5d75ce93.dfd.64b469.filter0001.16648.5515E0B88.0" | |
}, | |
{ | |
"email": "[email protected]", | |
"timestamp": 1475218536, | |
"smtp-id": "<14c5d75ce93.dfd.64b469@ismtpd-555>", | |
"event": "group_unsubscribe", | |
"category": "cat facts", | |
"sg_event_id": "QnObFKD-dpeGuFUmXc-gXw==", | |
"sg_message_id": "14c5d75ce93.dfd.64b469.filter0001.16648.5515E0B88.0", | |
"useragent": "Mozilla/4.0 (compatible; MSIE 6.1; Windows XP; .NET CLR 1.1.4322; .NET CLR 2.0.50727)", | |
"ip": "255.255.255.255", | |
"url": "http://www.sendgrid.com/", | |
"asm_group_id": 10 | |
}, | |
{ | |
"email": "[email protected]", | |
"timestamp": 1475218536, | |
"smtp-id": "<14c5d75ce93.dfd.64b469@ismtpd-555>", | |
"event": "group_resubscribe", | |
"category": "cat facts", | |
"sg_event_id": "ND7VdpjTngu7OQVT7Gg1MQ==", | |
"sg_message_id": "14c5d75ce93.dfd.64b469.filter0001.16648.5515E0B88.0", | |
"useragent": "Mozilla/4.0 (compatible; MSIE 6.1; Windows XP; .NET CLR 1.1.4322; .NET CLR 2.0.50727)", | |
"ip": "255.255.255.255", | |
"url": "http://www.sendgrid.com/", | |
"asm_group_id": 10 | |
} | |
], | |
"mail": { | |
"_json": [ | |
{ | |
"uuid": "sent_uuid_in_header_api", | |
"email": "[email protected]", | |
"timestamp": 1475218536, | |
"smtp-id": "<14c5d75ce93.dfd.64b469@ismtpd-555>", | |
"event": "processed", | |
"category": "cat facts", | |
"sg_event_id": "djCl3GRt94fqCWtHYHUIJQ==", | |
"sg_message_id": "14c5d75ce93.dfd.64b469.filter0001.16648.5515E0B88.0" | |
}, | |
{ | |
"uuid": "sent_uuid_in_header_api", | |
"email": "[email protected]", | |
"timestamp": 1475218536, | |
"smtp-id": "<14c5d75ce93.dfd.64b469@ismtpd-555>", | |
"event": "deferred", | |
"category": "cat facts", | |
"sg_event_id": "uTpAladEvbUf4edikd-F6w==", | |
"sg_message_id": "14c5d75ce93.dfd.64b469.filter0001.16648.5515E0B88.0", | |
"response": "400 try again later", | |
"attempt": "5" | |
}, | |
{ | |
"uuid": "sent_uuid_in_header_api", | |
"email": "[email protected]", | |
"timestamp": 1475218536, | |
"smtp-id": "<14c5d75ce93.dfd.64b469@ismtpd-555>", | |
"event": "delivered", | |
"category": "cat facts", | |
"sg_event_id": "JldC9f3XVTlK_oXSX9Iuyw==", | |
"sg_message_id": "14c5d75ce93.dfd.64b469.filter0001.16648.5515E0B88.0", | |
"response": "250 OK" | |
}, | |
{ | |
"uuid": "sent_uuid_in_header_api", | |
"email": "[email protected]", | |
"timestamp": 1475218536, | |
"smtp-id": "<14c5d75ce93.dfd.64b469@ismtpd-555>", | |
"event": "open", | |
"category": "cat facts", | |
"sg_event_id": "ntyLPOrt9uGES42MRGrJ8A==", | |
"sg_message_id": "14c5d75ce93.dfd.64b469.filter0001.16648.5515E0B88.0", | |
"useragent": "Mozilla/4.0 (compatible; MSIE 6.1; Windows XP; .NET CLR 1.1.4322; .NET CLR 2.0.50727)", | |
"ip": "255.255.255.255" | |
}, | |
{ | |
"uuid": "sent_uuid_in_header_api", | |
"email": "[email protected]", | |
"timestamp": 1475218536, | |
"smtp-id": "<14c5d75ce93.dfd.64b469@ismtpd-555>", | |
"event": "click", | |
"category": "cat facts", | |
"sg_event_id": "NRdh175FMlEg73GbJCiPpw==", | |
"sg_message_id": "14c5d75ce93.dfd.64b469.filter0001.16648.5515E0B88.0", | |
"useragent": "Mozilla/4.0 (compatible; MSIE 6.1; Windows XP; .NET CLR 1.1.4322; .NET CLR 2.0.50727)", | |
"ip": "255.255.255.255", | |
"url": "http://www.sendgrid.com/" | |
}, | |
{ | |
"uuid": "sent_uuid_in_header_api", | |
"email": "[email protected]", | |
"timestamp": 1475218536, | |
"smtp-id": "<14c5d75ce93.dfd.64b469@ismtpd-555>", | |
"event": "bounce", | |
"category": "cat facts", | |
"sg_event_id": "qSZ5Xebi9rEFlC5kAgAcTw==", | |
"sg_message_id": "14c5d75ce93.dfd.64b469.filter0001.16648.5515E0B88.0", | |
"reason": "500 unknown recipient", | |
"status": "5.0.0" | |
}, | |
{ | |
"uuid": "sent_uuid_in_header_api", | |
"email": "[email protected]", | |
"timestamp": 1475218536, | |
"smtp-id": "<14c5d75ce93.dfd.64b469@ismtpd-555>", | |
"event": "dropped", | |
"category": "cat facts", | |
"sg_event_id": "wzD389URlyvJQg6uoZ3qpw==", | |
"sg_message_id": "14c5d75ce93.dfd.64b469.filter0001.16648.5515E0B88.0", | |
"reason": "Bounced Address", | |
"status": "5.0.0" | |
}, | |
{ | |
"uuid": "sent_uuid_in_header_api", | |
"email": "[email protected]", | |
"timestamp": 1475218536, | |
"smtp-id": "<14c5d75ce93.dfd.64b469@ismtpd-555>", | |
"event": "spamreport", | |
"category": "cat facts", | |
"sg_event_id": "Va-V1BbN8x5nnBdjb1G3BA==", | |
"sg_message_id": "14c5d75ce93.dfd.64b469.filter0001.16648.5515E0B88.0" | |
}, | |
{ | |
"uuid": "sent_uuid_in_header_api", | |
"email": "[email protected]", | |
"timestamp": 1475218536, | |
"smtp-id": "<14c5d75ce93.dfd.64b469@ismtpd-555>", | |
"event": "unsubscribe", | |
"category": "cat facts", | |
"sg_event_id": "hdPuwA0YPKEQeZqTp-QTZg==", | |
"sg_message_id": "14c5d75ce93.dfd.64b469.filter0001.16648.5515E0B88.0" | |
}, | |
{ | |
"uuid": "sent_uuid_in_header_api", | |
"email": "[email protected]", | |
"timestamp": 1475218536, | |
"smtp-id": "<14c5d75ce93.dfd.64b469@ismtpd-555>", | |
"event": "group_unsubscribe", | |
"category": "cat facts", | |
"sg_event_id": "QnObFKD-dpeGuFUmXc-gXw==", | |
"sg_message_id": "14c5d75ce93.dfd.64b469.filter0001.16648.5515E0B88.0", | |
"useragent": "Mozilla/4.0 (compatible; MSIE 6.1; Windows XP; .NET CLR 1.1.4322; .NET CLR 2.0.50727)", | |
"ip": "255.255.255.255", | |
"url": "http://www.sendgrid.com/", | |
"asm_group_id": 10 | |
}, | |
{ | |
"uuid": "sent_uuid_in_header_api", | |
"email": "[email protected]", | |
"timestamp": 1475218536, | |
"smtp-id": "<14c5d75ce93.dfd.64b469@ismtpd-555>", | |
"event": "group_resubscribe", | |
"category": "cat facts", | |
"sg_event_id": "ND7VdpjTngu7OQVT7Gg1MQ==", | |
"sg_message_id": "14c5d75ce93.dfd.64b469.filter0001.16648.5515E0B88.0", | |
"useragent": "Mozilla/4.0 (compatible; MSIE 6.1; Windows XP; .NET CLR 1.1.4322; .NET CLR 2.0.50727)", | |
"ip": "255.255.255.255", | |
"url": "http://www.sendgrid.com/", | |
"asm_group_id": 10 | |
} | |
] | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment