Skip to content

Quickstart

Get from zero to your first calendar event in 5 minutes.

Every calendar belongs to an agent. Create one first:

Terminal window
curl -X POST https://api.chronary.ai/v1/agents \
-H "Authorization: Bearer chr_sk_test_your_key_here" \
-H "Content-Type: application/json" \
-d '{
"name": "Sales Agent - Acme Corp",
"type": "ai",
"description": "Handles meeting scheduling for the sales team"
}'
Terminal window
curl -X POST https://api.chronary.ai/v1/agents/agt_a1b2c3d4/calendars \
-H "Authorization: Bearer chr_sk_test_your_key_here" \
-H "Content-Type: application/json" \
-d '{
"name": "Sales Meetings",
"timezone": "America/New_York"
}'

The ical_url in the response is a live feed — paste it into Google Calendar, Apple Calendar, or Outlook to see events as they’re created.

Terminal window
curl -X POST https://api.chronary.ai/v1/calendars/cal_x1y2z3/events \
-H "Authorization: Bearer chr_sk_test_your_key_here" \
-H "Content-Type: application/json" \
-d '{
"title": "Strategy sync with Acme Corp",
"start_time": "2026-04-07T14:00:00Z",
"end_time": "2026-04-07T14:30:00Z",
"description": "Quarterly strategy alignment"
}'
Terminal window
curl "https://api.chronary.ai/v1/agents/agt_a1b2c3d4/availability?start=2026-04-07T09:00:00Z&end=2026-04-07T17:00:00Z&slot_duration=30m" \
-H "Authorization: Bearer chr_sk_test_your_key_here"