---
title: "POST /v1/availability-grants"
method: POST
path: "/v1/availability-grants"
tags: ["Human Calendar Grants"]
---

# POST /v1/availability-grants

`POST /v1/availability-grants`

## Request

- Base URL: `https://api.chronary.ai`
- URL: `https://api.chronary.ai/v1/availability-grants`
- Auth: API key in cookie `chronary_session`

## Request body

- object
  - `external_calendar_ids` string[], required
  - `audience` 'selected_agents' | 'all_current_agents' | 'all_org_agents', required
  - `agent_ids` string[]

## Response `201`

Availability grant created

- AvailabilityGrant
  - `id` string, required
  - `audience` 'selected_agents' | 'all_current_agents' | 'all_org_agents', required
  - `audience_cutoff_at` string, date-time, nullable, required
  - `active` boolean, required
  - `external_calendar_ids` string[], required
  - `agent_ids` string[], required
  - `created_at` string, date-time, required

## Other responses

- `400`: Validation error — invalid request body or query parameters

---

[API](https://skmtc.dev/chronary/apis/chronary-api.md) · [All operations](https://skmtc.dev/chronary/apis/chronary-api/llms.txt) · [OpenAPI document](https://skmtc.dev/chronary/apis/chronary-api/revisions/0d1a330294ae?raw)
