---
title: "Fetch scheduled email by messageId"
method: GET
path: "/smtp/emailStatus/{messageId}"
tags: ["Transactional emails"]
---

# Fetch scheduled email by messageId

`GET /smtp/emailStatus/{messageId}`

Fetch scheduled email by messageId (Can retrieve data upto 30 days old)

## Path parameters

- `messageId` string, required

## Query parameters

- `startDate` string, date
- `endDate` string, date

## Response `200`

Scheduled email

- GetScheduledEmailByMessageId
  - `scheduledAt` string, date-time, required — Datetime for which the email was scheduled
  - `createdAt` string, date-time, required — Datetime on which the email was scheduled
  - `status` 'inProgress' | 'queued' | 'processed' | 'error', required — Current status of the scheduled email

## Other responses

- `400` — Invalid parameters passed
- `404` — Record for messageId not found

---

[API](https://skmtc.net/getbrevo/apis/brevo-api.md) · [All operations](https://skmtc.net/getbrevo/apis/brevo-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/getbrevo/brevo-api/versions/2aec3cf66501/schema)
