---
title: "Start a browser sign-in"
method: POST
path: "/v1/integrations/{connector}/authorize"
tags: ["Integrations"]
---

# Start a browser sign-in

`POST /v1/integrations/{connector}/authorize`

## Request

- Base URL: `https://api.talonic.com`
- URL: `https://api.talonic.com/v1/integrations/{connector}/authorize`
- Auth: HTTP bearer

Starts connecting a system that needs a person's consent at the provider (Gmail, Google Drive, Outlook, OneDrive, SharePoint, Microsoft Teams, Notion, HubSpot, Dropbox, Slack, Google Sheets).

1. The call returns `authorize_url`, a Talonic page.
2. The same person the credential acts for opens it in a browser where they are signed in to Talonic in this workspace, confirms, and completes the provider's sign-in.
3. Poll `GET /v1/integrations/authorizations/{id}` until `status` is `connected`, `failed`, `expired` or `cancelled`. A connected source carries `connection_id`.

The handoff expires 30 minutes after it starts. Reconnecting is another authorize; revoking a connection is `DELETE /v1/sources/{id}`. Who may connect what, and the private-by-default rule, are the same as in the app. `send` applies to Gmail and Outlook only; `organize` to Outlook only; `intake` to Gmail, Outlook, Notion and Slack only. A connector that is not connected through a sign-in answers 404 (`GET /v1/integrations/connectors` lists how each connects); one this deployment does not offer answers 503. A key that belongs to no person (one created before keys named their creator) is refused with 403.

**Scope:** `sources:write`. A key holding only the legacy `write` scope does not satisfy it.

## Path parameters

- `connector` string, required

## Request body

- object
  - `send` boolean: Gmail and Outlook: the mailbox may also send mail (for delivery by mail).
  - `organize` boolean: Outlook: processes may also organise the mailbox (move mail into folders, set categories, write reply drafts). Nothing is sent by this.
  - `intake` object: First-read choices applied the moment the connection exists, in the shape `PATCH /v1/sources/connections/{id}/intake` takes.

## Response `201`

The pending handoff with its `authorize_url`.

- IntegrationAuthorization
  - `id` string, uuid, required
  - `object` 'integration_authorization', required
  - `connector` string, required
  - `kind` 'source' | 'destination', required
  - `status` 'pending' | 'connected' | 'failed' | 'expired' | 'cancelled', required: `pending` until the person finishes or abandons the sign-in.
  - `authorize_url` string, uri, nullable: The Talonic page the person opens to confirm and sign in; set while `pending` only.
  - `expires_at` string, date-time, required: 30 minutes after the handoff started.
  - `created_at` string, date-time
  - `completed_at` string, date-time, nullable
  - `connection_id` string, uuid, nullable: The source connection, once connected.
  - `destination_id` string, uuid, nullable: Google Sheets: the destination made from this sign-in.
  - `account` object, nullable: The provider account that signed in.
    - `email` string
  - `error` object, nullable: Why it failed; set when `failed` only.
    - `code` string
    - `message` string
  - `links` object, required
    - `self` string
    - `source` string: The connected source, once connected.
    - `create_destination` string: Google Sheets: where to make the destination, once connected.

## Other responses

- `400`: The request is invalid.
- `401`: Missing or invalid API key.
- `403`: The API key does not have the required scope.
- `404`: The requested resource was not found.
- `429`: Daily rate limit exceeded.
- `503`: This deployment does not offer the connector.

## Changes

- **2026-12-04** `00348acf7135`: 1 info
  - added the new optional request property `organize`
- **2026-11-26** `622d429de7ea`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/talonic/apis/talonic-api/changes/v1/integrations/:connector/authorize/post.md)

---

[API](https://skmtc.dev/talonic/apis/talonic-api.md) - [All operations](https://skmtc.dev/talonic/apis/talonic-api/llms.txt) - [OpenAPI document](https://skmtc.dev/talonic/apis/talonic-api/revisions/9f6d53e2ab5e?raw)
