AgentController

Get latest scoped inbox email for an agent

Waits for and returns the latest email in one scoped inbox. This is the agent-shaped equivalent of latest-message polling.

get/agent/inboxes/{inboxId}/emails/latest

Request

  • Base URL: https://api.mailslurp.com
  • URL: https://api.mailslurp.com/agent/inboxes/{inboxId}/emails/latest
  • Auth: API key in header x-api-key

Path parameters

inboxIdstring uuid required

ID of inbox the agent may read

Query parameters

timeoutMillisinteger

Timeout milliseconds to wait for latest email

unreadOnlyboolean

Only return unread emails

sincestring date-time

Only return email received at or after this time

beforestring date-time

Only return email received before this time

Response

OK

Changes

No recorded changes to this operation across all 1 revision of this API.