Skip to main content
GET
/
api
/
v1
/
admin
/
email
/
logs
/
{log_id}
Get Email Log
curl --request GET \
  --url https://api.example.com/api/v1/admin/email/logs/{log_id}
{
  "id": "<string>",
  "account_id": "<string>",
  "template_type": "<string>",
  "recipient_email": "<string>",
  "provider": "<string>",
  "status": "<string>",
  "sent_at": "2023-11-07T05:31:56Z",
  "error_message": "<string>",
  "variables": {}
}

Headers

authorization
string | null

Path Parameters

log_id
string
required

Response

Successful Response

Response schema for email log data.

Attributes: id: Log ID (UUID string). account_id: Account ID this log belongs to. template_type: Template type used (e.g., 'email_verification'). recipient_email: Email address of the recipient. provider: Email provider used (e.g., 'smtp', 'ses', 'resend'). status: Delivery status ('sent', 'failed', 'pending'). error_message: Error message if status is 'failed' (nullable). variables: Template variables used for rendering (nullable). sent_at: Timestamp when the email was sent or attempted.

id
string
required
account_id
string
required
template_type
string
required
recipient_email
string
required
provider
string
required
status
string
required
sent_at
string<date-time>
required
error_message
string | null
variables
Variables · object