Email Log Detail

Get detailed information about a specific email log entry, including the generated draft if one exists.

GET /v1/conversations/emails/:id

Path Parameters

Parameter
Type
Description

id

string

The email log ID (UUID)

Response

{
  "data": {
    "id": "550e8400-e29b-41d4-a716-446655440000",
    "subject": "Re: Booking confirmation #12345",
    "sender": "guest@example.com",
    "status": "draft_created",
    "timestamp": "2026-03-10T14:30:00.000Z",
    "draft": {
      "id": "660e8400-e29b-41d4-a716-446655440000",
      "subject": "Re: Booking confirmation #12345",
      "body": "Dear Guest,\n\nThank you for your booking...",
      "status": "draft",
      "draft_created_at": "2026-03-10T14:30:05.000Z",
      "sent_at": null
    }
  }
}

Response Fields

Field
Type
Description

id

string

Email log ID

subject

string

Email subject line

sender

string

Sender email address

status

string

Processing status

timestamp

string

When the email was received

draft

object|null

The generated draft, if one exists

Draft Object

Field
Type
Description

id

string

Draft ID

subject

string

Draft subject line

body

string

Draft email body text

status

string

Draft status

draft_created_at

string

When the draft was generated

sent_at

string|null

When the draft was sent (null if unsent)

Errors

Status
Error
Description

404

Email log not found

ID doesn't exist or belongs to another company

Example

Last updated