Skip to main content
WEBHOOK
inbound.email.received
{
  "event": "<any>",
  "data": {
    "email": {
      "id": "<string>",
      "createdAt": "2023-11-07T05:31:56Z",
      "messageId": "<string>",
      "inReplyToId": "<string>",
      "references": [
        "<string>"
      ],
      "subject": "<string>",
      "text": "<string>",
      "html": "<string>",
      "strippedText": "<string>",
      "strippedHtml": "<string>",
      "snippet": "<string>",
      "fromName": "<string>",
      "fromAddress": "<string>",
      "toAddresses": [
        "<string>"
      ],
      "ccAddresses": [
        "<string>"
      ],
      "bccAddresses": [
        "<string>"
      ],
      "replyToAddresses": [
        "<string>"
      ],
      "sentAt": "2023-11-07T05:31:56Z",
      "receivedAt": "2023-11-07T05:31:56Z",
      "direction": "INBOUND",
      "status": "DRAFT",
      "threadId": "<string>",
      "attachments": [
        {
          "id": "<string>",
          "createdAt": "2023-11-07T05:31:56Z",
          "fileName": "<string>",
          "contentType": "<string>",
          "sizeInBytes": 123,
          "cid": "<string>",
          "disposition": "<string>",
          "signedUrl": "<string>",
          "expiresAt": "2023-11-07T05:31:56Z"
        }
      ]
    },
    "organization": {
      "id": "<string>",
      "slug": "<string>"
    }
  },
  "attempt": 123,
  "timestamp": 123
}

Headers

X-AiInbx-Timestamp
string
required

Unix timestamp used for signature

X-AiInbx-Signature
string

HMAC SHA-256 signature of "timestamp.body" using your webhook secret, prefixed with sha256=

Body

application/json
event
any
required
data
object
required
attempt
integer
required
timestamp
integer
required