---
title: "Start Mailbox Oauth"
method: POST
path: "/api/senders/oauth/mailbox-start"
tags: ["senders"]
---

# Start Mailbox Oauth

`POST /api/senders/oauth/mailbox-start`

## Request

- Base URL: `https://platform.verbiflow.com/api/bridge`
- URL: `https://platform.verbiflow.com/api/bridge/api/senders/oauth/mailbox-start`
- Auth: one of:
  - HTTP bearer and API key in header `x-flage-org-id`
  - HTTP bearer and API key in header `x-flage-org-slug`

Create a Unipile hosted-auth link for connecting a Gmail or Microsoft mailbox.

The user opens the returned URL, completes OAuth in Unipile's hosted UI, and
Unipile then POSTs to /api/webhooks/unipile/mailbox-oauth-created — the webhook
creates the sender_account row and (if applicable) creates the $6/mo subscription.

## Request body

- StartMailboxOAuthRequest
  - `sender_id` string, required

## Response `200`

Successful Response

- StartMailboxOAuthResponse
  - `auth_url` string, required
  - `price_cents` integer, required
  - `provider_link_id` string, required
  - `will_be_charged` boolean, required

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/verbiflow/apis/verbiflow-sdk-http-contract.md) - [All operations](https://skmtc.dev/verbiflow/apis/verbiflow-sdk-http-contract/llms.txt) - [OpenAPI document](https://skmtc.dev/verbiflow/apis/verbiflow-sdk-http-contract/revisions/c80e903ef8f3?raw)
