POST
luma_organizations_calendars_create.py
import asyncio
from charter.packs import luma
result = asyncio.run(luma.organizations_calendars_create.ainvoke({"name": ...}))
Body
| Field | Type | Description |
|---|---|---|
name * | string | Name of the calendar. |
slug | string | URL slug for the calendar page (e.g. ‘my-community’ → lu.ma/my-community). |
description | string | Short description of the calendar. |
avatarUrl | string | Specify an image that has been uploaded to the Luma CDN. If not provided, a random default avatar will be used. |
tintColor | string | Tint color for the calendar in hex format (e.g. ‘#E3CBEF’). If not provided, a random color matching the default avatar will be used. |
launchStatus | LaunchStatus | Defaults to launched (Active). Use coming-soon to show a placeholder page while you set the calendar up. |
website | string | Website URL. https:// is added if missing. |
instagramHandle | string | Instagram handle or profile URL (e.g. ‘luma’ or ‘https://instagram.com/luma’). |
twitterHandle | string | X (Twitter) handle or profile URL (e.g. ‘@luma’ or ‘https://x.com/luma’). |
youtubeHandle | string | YouTube handle or channel URL (e.g. ‘@luma’ or ‘https://youtube.com/@luma’). |
tiktokHandle | string | TikTok handle or profile URL (e.g. ‘@luma’ or ‘https://tiktok.com/@luma’). |
linkedinHandle | string | LinkedIn company or profile URL (e.g. ‘https://linkedin.com/company/luma’). |
location | LocationGoogle | LocationLookup | City the calendar is based in. Use { type: 'lookup', query } to search Google Maps for a city, or { type: 'google', place_id } with a city’s Google Places ID. The calendar’s timezone and coordinate come from the city. |