Skip to main content
Returns the connection health for the SDR linked to the API key.
curl https://app.leadterra.co/v1/sdr/gmail/status \
  -H "Authorization: Bearer sk_live_your_key"

Response

{
  "data": {
    "connected": true,
    "email": "jordan.sdr@gmail.com",
    "healthState": "active",
    "lastSyncedAt": "2026-06-28T18:00:00.000Z"
  }
}
data.connected
boolean
Whether the Gmail connection is active.
data.email
string
The connected Gmail address.
data.healthState
string
Connection state: active, needs_reauth, rate_limited, or disconnected.
data.lastSyncedAt
string
Timestamp of the last successful Gmail sync.
data.lastSyncError
string
Last sync error message, if any.