Get IMAP polling status

Returns the current polling status and masked inbound configuration for an email surface.

Authentication

AuthorizationBearer
API key or Clerk session token

Path parameters

surfaceIdstringRequired

Response

Polling status
activeboolean
configobject
consecutiveErrorsinteger
lastErrorstring or null
lastPollAtstring or null
lastUidinteger
mailboxstring
messagesProcessedinteger
nextPollAtstring or null
pollIntervalMinutesinteger
pollStatusenum

Errors

400
Bad Request Error
401
Unauthorized Error
403
Forbidden Error
404
Not Found Error
500
Internal Server Error