---
title: "Poll a Gmail inbox connection"
method: GET
path: "/mailboxes/connections/{connectionId}"
tags: ["Mailboxes"]
---

# Poll a Gmail inbox connection

`GET /mailboxes/connections/{connectionId}`

## Request

- Base URL: `https://api.mobilerun.ai`
- URL: `https://api.mobilerun.ai/mailboxes/connections/{connectionId}`
- Auth: HTTP bearer

Reports pending, active (with the Gmail address), expired, or removed. connectionId is the mailbox id.

## Path parameters

- `connectionId` string, uuid, required

## Response `200`

Gmail connection status

- MailboxConnection
  - `connectionId` string, uuid, required
  - `mailboxId` string, uuid, required
  - `redirectUrl` string, nullable, required
  - `status` 'pending' | 'active' | 'expired' | 'removed', required
  - `address` string, nullable, required

## Other responses

- `400`: Bad Request
- `401`: Unauthorized
- `404`: Not Found
- `500`: Internal Server Error
- `503`: Mailboxes disabled or temporarily unavailable

## Changes

- **2026-10-21** `559a12449213`: 2 warning
  - added the new `integration_forbidden` enum value to the `code` response property for the response status `503`
  - added the new `provider_error` enum value to the `code` response property for the response status `503`
- **2026-10-16** `4ad548c528a8`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/droidrun/apis/droidrun-cloud/changes/mailboxes/connections/:connectionId/get.md)

---

[API](https://skmtc.dev/droidrun/apis/droidrun-cloud.md) - [All operations](https://skmtc.dev/droidrun/apis/droidrun-cloud/llms.txt) - [OpenAPI document](https://skmtc.dev/droidrun/apis/droidrun-cloud/revisions/1cc95586c933?raw)
