Skip to main content
GET
/
api
/
email
/
accounts
List email accounts for the current user
curl --request GET \
  --url https://your-instance.example.com/api/email/accounts \
  --header 'Authorization: Bearer <token>'
{
  "accounts": [
    {
      "_id": "665f1a0c0e0a4b001a2c9f50",
      "provider": "gmail",
      "emailAddress": "ops@acme.example",
      "isActive": true
    }
  ]
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Response

Email accounts list

Response from GET /api/email/accounts.

accounts
object[]
required

Active connected mailboxes for the authenticated user, newest-first.