Skip to main content
GET
/
emails
/
{emailId}
Get email details
curl --request GET \
  --url https://api.arkhq.io/v1/emails/{emailId} \
  --header 'Authorization: Bearer <token>'
{
  "success": true,
  "data": {
    "id": "aBc123XyZ456",
    "tenantId": "cm6abc123def456",
    "scope": "outgoing",
    "to": "jsmith@example.com",
    "from": "<string>",
    "subject": "<string>",
    "status": "pending",
    "timestamp": 123,
    "timestampIso": "2023-11-07T05:31:56Z",
    "messageId": "<string>",
    "tag": "<string>",
    "spam": true,
    "spamScore": 123,
    "htmlBody": "<string>",
    "plainBody": "<string>",
    "headers": {},
    "deliveries": [
      {
        "id": "456",
        "status": "sent",
        "timestamp": 123,
        "timestampIso": "2023-11-07T05:31:56Z",
        "details": "Message for user@example.com accepted by 1.2.3.4:25 (mx.example.com)",
        "output": "250 2.0.0 OK 1234567890 abc123 - gsmtp",
        "code": 250,
        "sentWithSsl": true,
        "classification": "mailbox_full",
        "classificationCode": 20,
        "smtpEnhancedCode": "5.2.2",
        "remoteHost": "mx.example.com"
      }
    ],
    "activity": {
      "opens": [
        {
          "ipAddress": "203.0.113.42",
          "userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7)",
          "timestamp": 123,
          "timestampIso": "2023-11-07T05:31:56Z"
        }
      ],
      "clicks": [
        {
          "url": "https://example.com/product",
          "ipAddress": "203.0.113.42",
          "userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7)",
          "timestamp": 123,
          "timestampIso": "2023-11-07T05:31:56Z"
        }
      ]
    },
    "attachments": [
      {
        "filename": "invoice.pdf",
        "contentType": "application/pdf",
        "size": 45678,
        "hash": "a1b2c3d4e5f6...",
        "data": "JVBERi0xLjQKJeLjz9MKMyAwIG9i..."
      }
    ],
    "rawMessage": "TWltZS1WZXJzaW9uOiAxLjAKQ29udGVudC1UeXBlOiB0ZXh0L3BsYWluOyBjaGFyc2V0PXV0Zi04..."
  },
  "meta": {
    "requestId": "req_V1StGXR8_Z5jdHi6"
  }
}

Authorizations

Authorization
string
header
required

Use your API key from arkhq.io/org/credentials

Authorization: Bearer YOUR_API_KEY

Path Parameters

emailId
string
required

The email identifier (token returned from send response)

Query Parameters

expand
string

Comma-separated list of fields to include:

  • full - Include all expanded fields in a single request
  • content - HTML and plain text body
  • headers - Email headers
  • deliveries - Delivery attempt history
  • activity - Opens and clicks tracking data
  • attachments - File attachments with content (base64 encoded)
  • raw - Complete raw MIME message (base64 encoded)
Example:

"full"

Response

Email details

success
boolean
required
data
object
required
meta
object
required