POST webhooks/SGEvent
Request Information
URI Parameters
None.
Body Parameters
Collection of SendGridEvent| Name | Description | Type | Additional information |
|---|---|---|---|
| sg_message_id | string |
None. |
|
| string |
None. |
||
| timestamp | integer |
None. |
|
| smtp-id | string |
None. |
|
| event | string |
None. |
|
| category | string |
None. |
|
| url | string |
None. |
|
| reason | string |
None. |
|
| ip | string |
None. |
|
| TestKey | string |
None. |
Request Formats
application/json, text/json
Sample:
[
{
"sg_message_id": "sample string 1",
"email": "sample string 2",
"timestamp": 3,
"smtp-id": "sample string 4",
"event": "sample string 5",
"category": "sample string 6",
"url": "sample string 7",
"reason": "sample string 8",
"ip": "sample string 9",
"TestKey": "sample string 10"
},
{
"sg_message_id": "sample string 1",
"email": "sample string 2",
"timestamp": 3,
"smtp-id": "sample string 4",
"event": "sample string 5",
"category": "sample string 6",
"url": "sample string 7",
"reason": "sample string 8",
"ip": "sample string 9",
"TestKey": "sample string 10"
}
]
application/xml, text/xml
Sample:
<ArrayOfSendGridEvent xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/EDIOneWebChannels.Models">
<SendGridEvent>
<Category>sample string 6</Category>
<Email>sample string 2</Email>
<EventType>sample string 5</EventType>
<IP>sample string 9</IP>
<MessageId>sample string 1</MessageId>
<Reason>sample string 8</Reason>
<SmtpId>sample string 4</SmtpId>
<TestKey>sample string 10</TestKey>
<Timestamp>3</Timestamp>
<Url>sample string 7</Url>
</SendGridEvent>
<SendGridEvent>
<Category>sample string 6</Category>
<Email>sample string 2</Email>
<EventType>sample string 5</EventType>
<IP>sample string 9</IP>
<MessageId>sample string 1</MessageId>
<Reason>sample string 8</Reason>
<SmtpId>sample string 4</SmtpId>
<TestKey>sample string 10</TestKey>
<Timestamp>3</Timestamp>
<Url>sample string 7</Url>
</SendGridEvent>
</ArrayOfSendGridEvent>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
HttpResponseMessage| Name | Description | Type | Additional information |
|---|---|---|---|
| Version | Version |
None. |
|
| Content | HttpContent |
None. |
|
| StatusCode | HttpStatusCode |
None. |
|
| ReasonPhrase | string |
None. |
|
| Headers | Collection of Object |
None. |
|
| RequestMessage | HttpRequestMessage |
None. |
|
| IsSuccessStatusCode | boolean |
None. |