---
title: "Authorize"
method: POST
path: "/v1/organizations/{organization_id}/accounts/authorize"
tags: ["Organizations"]
---

# Authorize

`POST /v1/organizations/{organization_id}/accounts/authorize`

## Request

- Base URL: `https://api.usealmanac.com`
- URL: `https://api.usealmanac.com/v1/organizations/{organization_id}/accounts/authorize`
- Auth: HTTP bearer

## Path parameters

- `organization_id` string, required

## Request body

- AuthorizeAccount
  - `label` string, nullable
  - `ownership` 'personal' | 'shared'
  - `provider` 'granola', required

## Response `200`

Successful Response

- AccountAuthorization
  - `account` Account, required
    - `account_id` string, required
    - `created_at` string, date-time, required
    - `identity` string, nullable
    - `label` string, required
    - `ownership` 'personal' | 'shared', required
    - `provider` 'granola' | 'gmail' | 'slack', required
    - `status` 'pending' | 'connected' | 'needs_attention' | 'disconnected', required
    - `updated_at` string, date-time, required
    - `updates_wiki` boolean, nullable
  - `connect_url` string, required
  - `expires_at` string, date-time, required

## Other responses

- `400`: Invalid request

---

[API](https://skmtc.dev/usealmanac/apis/almanac-v1-api.md) - [All operations](https://skmtc.dev/usealmanac/apis/almanac-v1-api/llms.txt) - [OpenAPI document](https://skmtc.dev/usealmanac/apis/almanac-v1-api/revisions/2874ff06ed74?raw)
