Content planning sync API: send ideas to Notion, Airtable or Google Sheets and plan them on a calendar
The lulubanana content sync API sends your Fusion opportunities, the content opportunities of the Opportunities page, search opportunities, briefs, approved Mirror drafts and calendar items to Notion, Airtable or Google Sheets, automatically when they are made or approved, or one at a time.
What is the notion, airtable, sheets & calendar API?
The lulubanana content sync API sends your Fusion opportunities, the content opportunities of the Opportunities page, search opportunities, briefs, approved Mirror drafts and calendar items to Notion, Airtable or Google Sheets, automatically when they are made or approved, or one at a time. A changed item updates its page, record or row instead of adding a second one. The content calendar plans any idea on a date, sends a reminder that morning and is a private calendar feed for Google Calendar, Outlook or Apple Calendar. Everything is included: 0 credits, up to 500 pushes a day.
lulubanana is a content research platform and API for short-form video (TikTok, YouTube Shorts and Instagram Reels). It is built for developers, content teams and autonomous AI agents that need evidence-backed answers instead of raw posts: every result keeps its source videos and marks what is measured and what is an AI reading.
8 things you can do with the content planning sync and calendar
- Send every new Fusion opportunity, search opportunity, brief or calendar item to Notion, Airtable or Google Sheets the moment it is made (sync rule on_create)
- Send each Mirror draft you approve (on_approve), or any single item by hand: "Send to Notion / Airtable / Sheets" (POST /sync/push); an opportunity from the Opportunities page (opp_…) is sent by hand
- Let Lulubanana create the database "Lulubanana content plan" under a Notion page you share, or fill your own database or table by property name, with a mapping when names differ
- Append rows to a Google Sheet you share with Lulubanana: a header row on the first push, then one row per item, updated in place when it changes
- Plan ideas, briefs and drafts on dates with a time of day and notes, and mark them published with the post link so your connected channel records the result
- Subscribe to your plan in Google Calendar, Outlook or Apple Calendar with a private feed address, and replace it any time (the old one stops at once)
- Get a calendar.item_due reminder on the morning of each planned day, in your time zone, in the bell and every channel subscribed to it
- See every push with its result in plain words: created, updated, retrying or failed, with why any field was left out and how to fix it (GET /sync/log reason and note)
How it works
- Connect a destination with POST /connections/{provider}/start: Notion with an internal integration token (or sign in), Airtable with a personal access token + {base_id, table}, Google Sheets by sharing the sheet with the address in GET /sync/destinations and sending {spreadsheet_id}.
- Create a rule (POST /sync/rules {connection_id, object, trigger}) or send one item (POST /sync/push {ref, connection_id}; ref is fop_…, opp_… from the Opportunities page, sop_…, brf_…, an approved mdr_… or cal_…). Pushes are paced to each platform's limits, wait when the platform asks (Retry-After) and are logged.
- Plan with POST /calendar/items {date, ref} (ref: fop_…, opp_…, sop_…, brf_… or an approved mdr_…); GET /calendar/feed gives the private feed address once (paste it into your calendar app); PUT /calendar/settings sets the time zone and hour of the morning reminder.
In the dashboard: Calendar · Settings → Integrations
Send new ideas to Notion and plan one on your calendar
Replace lb_YOUR_KEY with a key from Settings → API and con_… with the id of your Notion connection (GET /sync/destinations).
Every new Fusion opportunity to Notion
curl -X POST https://lulubanana.com/api/v3/sync/rules \
-H "Authorization: Bearer lb_YOUR_KEY" -H "Content-Type: application/json" \
-d '{"connection_id":"con_Hk3Wq8Zp2LmTxR4v","object":"fusion_opportunity","trigger":"on_create"}'Plan an opportunity for Friday and get the calendar feed
curl -X POST https://lulubanana.com/api/v3/calendar/items -H "Authorization: Bearer lb_YOUR_KEY" -H "Content-Type: application/json" \
-d '{"date":"2026-11-27","ref":"fop_Hd2Rk8Lw4QxN","slot":"18:00"}'
curl https://lulubanana.com/api/v3/calendar/feed -H "Authorization: Bearer lb_YOUR_KEY"
# → {"data":{"url":"https://lulubanana.com/api/calendar/<private token>.ics", ...}} (shown once)Fill Kind and Slides into your own Notion properties
curl -X PATCH https://lulubanana.com/api/v3/sync/destinations/con_Hk3Wq8Zp2LmTxR4v \
-H "Authorization: Bearer lb_YOUR_KEY" -H "Content-Type: application/json" \
-d '{"mapping":{"kind":"Content kind","slides":"Slide count","yt_format":null}}'
# kind → your "Content kind" property, slides → "Slide count", YouTube format left out;
# your other mappings (e.g. summary → "Notes") stay: the mapping is merged, "" removes one field
Key terms
- Sync rule
- What to send (fusion_opportunity, search_opportunity, brief, mirror_draft, calendar_item), where (a Notion, Airtable or Google Sheets connection) and when: on_create (each new item), on_approve (Mirror drafts when you approve them) or manual. A content opportunity (opp_…) has no rule: send it by hand.
- Fields
- Every destination receives the same fields: Title, Type, Status, Priority, Date, Platform, Format, Hook, Summary, Link, Lulubanana ID, Updated, Kind, Slides, YouTube format. Notion and Airtable match them to your properties by name (the title goes to the title or primary field); Google Sheets uses them as the header row. Kind (Video, Slideshow or Image), Slides and YouTube format (Shorts or Long) come last, in columns M to O, so a sheet you set up earlier keeps its columns: they are added there only when row 1 still has the original 12 labels and those columns are empty, and your own columns are never overwritten. Keep the first 12 columns in their order: if a column is inserted before column L or ours are moved, the push stops and says so instead of writing into the wrong column.
- Update, not duplicate
- Each push remembers the page, record or row it made. Sending the same item again updates it; a page or record you deleted is added again, and a Google Sheets row is found again by its Lulubanana ID.
- Calendar feed
- A private ICS address (RFC 5545) with one all-day event per planned item. It asks calendar apps to refresh every 6 hours; Google Calendar can take up to a day. Stored only as a hash: shown once, replaced with POST /calendar/feed/rotate.
- calendar.item_due
- The reminder event sent once per planned item on the morning of its date (08:00 UTC until you set your time zone and hour). A moved item is reminded again on its new date.
Endpoints
| Endpoint | What it does | Cost |
|---|---|---|
GET /sync | Your Notion, Airtable and Google Sheets connections with where each one writes… | Free |
PATCH /sync | Change where a sync connection writes | Free |
POST /sync | Create a sync rule | Free |
GET /sync | Your sync rules with their connection, object, trigger, settings and the last push | Free |
PATCH /sync | Change a sync rule | Free |
DELETE /sync | Delete a sync rule (its waiting pushes are dropped; what was already sent stays in… | Free |
POST /sync | Send one item now ("Send to Notion / Airtable / Sheets") | Free |
GET /sync | The sync log, newest first | Free |
POST /calendar | Plan something on your content calendar | Free |
GET /calendar | Your content calendar between two dates (default | Free |
GET /calendar | One calendar item | Free |
PATCH /calendar | Change a calendar item | Free |
DELETE /calendar | Remove a calendar item (it leaves your calendar feed at the next refresh) | Free |
GET /calendar | Your private calendar feed (ICS) for Google Calendar, Outlook or Apple Calendar | Free |
POST /calendar | Replace the calendar feed address | Free |
GET /calendar | When calendar reminders arrive | Free |
PUT /calendar | Set when calendar reminders arrive | Free |
Your Notion, Airtable and Google Sheets connections with where each one writes…
Your Notion, Airtable and Google Sheets connections with where each one writes (database, table or sheet), the fields every push fills, the service account address to share Google Sheets with, and how to set each one up. A destination that cannot be connected yet is false in available and explained in not_available. Free.
curl "https://lulubanana.com/api/v3/sync/destinations" \
-H "Authorization: Bearer $LULUBANANA_KEY"import os
from lulubanana import Lulubanana
lb = Lulubanana(os.environ["LULUBANANA_KEY"])
r = lb.get_sync_destinations()import { Lulubanana } from './lulubanana.mjs';
const lb = new Lulubanana(process.env.LULUBANANA_KEY);
const r = await lb.get_sync_destinations();Change where a sync connection writes
Change where a sync connection writes. Notion: parent_page_id (a page shared with the connection; the database is made there on the next push) or data_source_id (your own database; properties matched by name), mapping {field: property}. Airtable: table, mapping. Google Sheets: spreadsheet_id, sheet (checked at once). The mapping is merged into the one stored, field by field: send only the fields to change ({"kind": "Content kind"} keeps your other mappings); a property name sets a field, null leaves that field out, "" removes the field from the mapping (it is matched by name again), and "mapping": null removes the whole mapping. The reply shows the whole stored mapping (target.mapping). Free.
| Parameter | In | Type | Description |
|---|---|---|---|
id required | path | string | The id in the path |
parent_page_id | body | string | Notion: link or id of a page shared with the connection (the database is created under it) |
data_source_id | body | string | Notion: id of an existing data source (database) to write to |
mapping | body | object | Field → your property name, merged into the stored mapping (only the fields you send change), e.g. {"kind": "Content kind", "slides": "Slide count"}; null leaves a field out, "" removes the field from the mapping (matched by name again); "mapping": null removes the whole mapping. Fields: title, type, status, priority, date, platform, format, hook, summary, link, ref, updated, kind, slides, yt_format |
table | body | string | Airtable: table name or id |
spreadsheet_id | body | string | Google Sheets: the sheet link or id |
sheet | body | string | Google Sheets: the tab name |
curl -X PATCH "https://lulubanana.com/api/v3/sync/destinations/con_Hk3Wq8Zp2LmTxR4v" \
-H "Authorization: Bearer $LULUBANANA_KEY" \
-H "Content-Type: application/json" \
-d '{"parent_page_id":"https://www.notion.so/Content-plan-1a2b3c4d5e6f47a8b9c0d1e2f3a4b5c6"}'import os
from lulubanana import Lulubanana
lb = Lulubanana(os.environ["LULUBANANA_KEY"])
r = lb.update_sync_destinations_item("con_Hk3Wq8Zp2LmTxR4v", {"parent_page_id": "https://www.notion.so/Content-plan-1a2b3c4d5e6f47a8b9c0d1e2f3a4b5c6"})import { Lulubanana } from './lulubanana.mjs';
const lb = new Lulubanana(process.env.LULUBANANA_KEY);
const r = await lb.update_sync_destinations_item("con_Hk3Wq8Zp2LmTxR4v", { parent_page_id: "https://www.notion.so/Content-plan-1a2b3c4d5e6f47a8b9c0d1e2f3a4b5c6" });Create a sync rule
Create a sync rule: send every new Fusion opportunity, search opportunity, brief or calendar item (trigger on_create), every Mirror draft you approve (on_approve), or only what you send by hand (manual) to a Notion, Airtable or Google Sheets connection. A changed item updates its page, record or row instead of adding a second one. Free, up to 20 rules and 500 pushes a day.
| Parameter | In | Type | Description |
|---|---|---|---|
connection_id required | body | string | A Notion, Airtable or Google Sheets connection (con_…) |
object required | body | fusion_opportunity | search_opportunity | brief | mirror_draft | calendar_item | What to send |
trigger | body | on_create | on_approve | manual | on_create (new items), on_approve (Mirror drafts when approved) or manual; default: on_create, or on_approve for Mirror drafts |
config | body | object | Optional destination settings for this rule (same settings as PATCH /sync/destinations/{id}): Notion parent_page_id, data_source_id, mapping; Airtable table, mapping; Sheets sheet. A mapping here is used for this rule instead of the destination's mapping: send it whole |
active | body | boolean | false to create it switched off |
curl -X POST "https://lulubanana.com/api/v3/sync/rules" \
-H "Authorization: Bearer $LULUBANANA_KEY" \
-H "Content-Type: application/json" \
-d '{"connection_id":"con_Hk3Wq8Zp2LmTxR4v","object":"fusion_opportunity","trigger":"on_create"}'import os
from lulubanana import Lulubanana
lb = Lulubanana(os.environ["LULUBANANA_KEY"])
r = lb.create_sync_rules({"connection_id": "con_Hk3Wq8Zp2LmTxR4v", "object": "fusion_opportunity", "trigger": "on_create"})import { Lulubanana } from './lulubanana.mjs';
const lb = new Lulubanana(process.env.LULUBANANA_KEY);
const r = await lb.create_sync_rules({ connection_id: "con_Hk3Wq8Zp2LmTxR4v", object: "fusion_opportunity", trigger: "on_create" });Example reply
{
"data": {
"id": "syr_Lm4Qw9Zt2KxP",
"connection_id": "con_Hk3Wq8Zp2LmTxR4v",
"provider": "notion",
"object": "fusion_opportunity",
"trigger": "on_create",
"active": true,
"config": {},
"active_since": "2026-11-24T09:30:00.000Z",
"created_at": "2026-11-24T09:30:00.000Z",
"updated_at": "2026-11-24T09:30:00.000Z",
"last_push": null,
"note": "Each new Fusion opportunity from now on is sent within a minute."
}
}Your sync rules with their connection, object, trigger, settings and the last push
Your sync rules with their connection, object, trigger, settings and the last push. Free.
| Parameter | In | Type | Description |
|---|---|---|---|
object | query | fusion_opportunity | search_opportunity | brief | mirror_draft | calendar_item | Only rules for this object |
curl "https://lulubanana.com/api/v3/sync/rules" \
-H "Authorization: Bearer $LULUBANANA_KEY"import os
from lulubanana import Lulubanana
lb = Lulubanana(os.environ["LULUBANANA_KEY"])
r = lb.get_sync_rules()import { Lulubanana } from './lulubanana.mjs';
const lb = new Lulubanana(process.env.LULUBANANA_KEY);
const r = await lb.get_sync_rules();Change a sync rule
Change a sync rule: active (switching it back on starts from that moment, nothing made meanwhile is sent), trigger, config. Free.
| Parameter | In | Type | Description |
|---|---|---|---|
id required | path | string | The id in the path |
active | body | boolean | On or off |
trigger | body | on_create | on_approve | manual | on_create, on_approve or manual |
config | body | object | Destination settings for this rule (replaces the stored ones; a mapping here is used instead of the destination's mapping: send it whole) |
curl -X PATCH "https://lulubanana.com/api/v3/sync/rules/syr_Lm4Qw9Zt2KxP" \
-H "Authorization: Bearer $LULUBANANA_KEY" \
-H "Content-Type: application/json" \
-d '{"active":false}'import os
from lulubanana import Lulubanana
lb = Lulubanana(os.environ["LULUBANANA_KEY"])
r = lb.update_sync_rules_item("syr_Lm4Qw9Zt2KxP", {"active": False})import { Lulubanana } from './lulubanana.mjs';
const lb = new Lulubanana(process.env.LULUBANANA_KEY);
const r = await lb.update_sync_rules_item("syr_Lm4Qw9Zt2KxP", { active: false });Delete a sync rule (its waiting pushes are dropped; what was already sent stays in…
Delete a sync rule (its waiting pushes are dropped; what was already sent stays in your tool). Free.
| Parameter | In | Type | Description |
|---|---|---|---|
id required | path | string | The id in the path |
curl -X DELETE "https://lulubanana.com/api/v3/sync/rules/syr_Lm4Qw9Zt2KxP" \
-H "Authorization: Bearer $LULUBANANA_KEY"import os
from lulubanana import Lulubanana
lb = Lulubanana(os.environ["LULUBANANA_KEY"])
r = lb.delete_sync_rules_item("syr_Lm4Qw9Zt2KxP")import { Lulubanana } from './lulubanana.mjs';
const lb = new Lulubanana(process.env.LULUBANANA_KEY);
const r = await lb.delete_sync_rules_item("syr_Lm4Qw9Zt2KxP");Send one item now ("Send to Notion / Airtable / Sheets")
Send one item now ("Send to Notion / Airtable / Sheets"): a Fusion opportunity, a content opportunity from the Opportunities page (opp_…), search opportunity, brief, approved Mirror draft or calendar item. Sent before → its page, record or row is updated, never duplicated. Answers a job to poll (GET /analysis/jobs/{id}); GET /sync/log shows the result. Free, up to 200 a day.
| Parameter | In | Type | Description |
|---|---|---|---|
ref required | body | string | fop_…, opp_… (Opportunities page), sop_…, brf_…, mdr_… (approved) or cal_… |
connection_id required | body | string | A Notion, Airtable or Google Sheets connection (con_…) |
config | body | object | Optional destination settings for this push only (a mapping here is used instead of the destination's mapping: send it whole) |
curl -X POST "https://lulubanana.com/api/v3/sync/push" \
-H "Authorization: Bearer $LULUBANANA_KEY" \
-H "Content-Type: application/json" \
-d '{"ref":"fop_Hd2Rk8Lw4QxN","connection_id":"con_Hk3Wq8Zp2LmTxR4v"}'import os
from lulubanana import Lulubanana
lb = Lulubanana(os.environ["LULUBANANA_KEY"])
r = lb.create_sync_push({"ref": "fop_Hd2Rk8Lw4QxN", "connection_id": "con_Hk3Wq8Zp2LmTxR4v"})import { Lulubanana } from './lulubanana.mjs';
const lb = new Lulubanana(process.env.LULUBANANA_KEY);
const r = await lb.create_sync_push({ ref: "fop_Hd2Rk8Lw4QxN", connection_id: "con_Hk3Wq8Zp2LmTxR4v" });Example reply
{
"data": {
"job_id": 1007,
"status": "queued",
"ref": "fop_Hd2Rk8Lw4QxN",
"object": "fusion_opportunity",
"connection_id": "con_Hk3Wq8Zp2LmTxR4v",
"provider": "notion",
"will": "update",
"poll_url": "/api/v3/analysis/jobs/1007",
"log_url": "/api/v3/sync/log?ref=fop_Hd2Rk8Lw4QxN",
"poll_after_seconds": 5,
"credits_used": 0
}
}The sync log, newest first
The sync log, newest first: every push with its result (status ok, retrying, failed or skipped), action (created, updated, or recreated when the earlier page, record or row had been deleted), the link, skipped_fields (the fields left out of this push), reason and note (why they were left out or why a sheet kept columns A to L, and how to get them, in plain words; also what a push added, such as new columns or properties) and any error in plain words. reason is one of your_columns, your_data, not_our_header, grid, header_refused, not_checked, new_fields_refused, no_matching_property, or null. Filter by ref, connection_id, rule_id, status. Free.
| Parameter | In | Type | Description |
|---|---|---|---|
ref | query | string | Only this item |
connection_id | query | string | Only this connection |
rule_id | query | string | Only this rule |
status | query | ok | retrying | failed | skipped | ok, retrying, failed or skipped |
limit | query | string | 1-200, default 50 |
before_id | query | string | next_before_id from the previous page |
curl "https://lulubanana.com/api/v3/sync/log" \
-H "Authorization: Bearer $LULUBANANA_KEY"import os
from lulubanana import Lulubanana
lb = Lulubanana(os.environ["LULUBANANA_KEY"])
r = lb.get_sync_log()import { Lulubanana } from './lulubanana.mjs';
const lb = new Lulubanana(process.env.LULUBANANA_KEY);
const r = await lb.get_sync_log();Example reply
{
"data": [
{
"id": 3120,
"ref": "fop_Hd2Rk8Lw4QxN",
"object": "fusion_opportunity",
"connection_id": "con_Hk3Wq8Zp2LmTxR4v",
"provider": "notion",
"rule_id": "syr_Lm4Qw9Zt2KxP",
"status": "ok",
"action": "updated",
"external_ref": "1f2e3d4c-5b6a-4987-8a7b-6c5d4e3f2a1b",
"url": "https://www.notion.so/1f2e3d4c5b6a49878a7b6c5d4e3f2a1b",
"skipped_fields": [],
"reason": null,
"note": null,
"error": null,
"attempt": 1,
"created_at": "2026-11-24T09:31:02.000Z"
},
{
"id": 3118,
"ref": "brf_Qw7Lm2Zt9KxR",
"object": "brief",
"connection_id": "con_Sx8Pq3Lw7NtV",
"provider": "google_sheets",
"rule_id": null,
"status": "ok",
"action": "updated",
"external_ref": "brf_Qw7Lm2Zt9KxR",
"url": "https://docs.google.com/spreadsheets/d/1AbCdEfGhIjKlMnOpQrStUvWxYz0123456789abcd/edit",
"skipped_fields": [
"kind",
"slides",
"yt_format"
],
"reason": "your_data",
"note": "Columns M to O of your sheet hold data of your own, so rows keep columns A to L and nothing of yours is overwritten; Kind, Slides and YouTube format are left out. To get them, move that data and type Kind, Slides and YouTube format into M1:O1.",
"error": null,
"attempt": 1,
"created_at": "2026-11-24T09:20:44.000Z"
}
],
"next_before_id": null
}Plan something on your content calendar
Plan something on your content calendar: an opportunity (fop_…, opp_… from the Opportunities page, or sop_…), brief or approved draft (ref; its title is used) or a free title, on a date, with an optional time of day (slot), notes and, once it is out, post_url, so "Connect my channel" records the result automatically. A reminder (calendar.item_due) arrives on the morning of the date. Free, up to 300 new items a day and 2000 in all.
| Parameter | In | Type | Description |
|---|---|---|---|
date required | body | string | The day, YYYY-MM-DD |
ref | body | string | What to plan: fop_…, opp_… (Opportunities page), sop_…, brf_… or an approved mdr_… |
title | body | string | Title (default: the title of ref) |
slot | body | string | Time of day as you like to write it, e.g. 18:00 or morning (up to 40 characters) |
notes | body | string | Notes (up to 2,000 characters) |
status | body | planned | published | skipped | planned (default), published or skipped |
post_url | body | string | Link of the published post (lets your connected channel record the result) |
curl -X POST "https://lulubanana.com/api/v3/calendar/items" \
-H "Authorization: Bearer $LULUBANANA_KEY" \
-H "Content-Type: application/json" \
-d '{"date":"2026-11-27","ref":"fop_Hd2Rk8Lw4QxN","slot":"18:00","notes":"Film by the window"}'import os
from lulubanana import Lulubanana
lb = Lulubanana(os.environ["LULUBANANA_KEY"])
r = lb.create_calendar_items({"date": "2026-11-27", "ref": "fop_Hd2Rk8Lw4QxN", "slot": "18:00", "notes": "Film by the window"})import { Lulubanana } from './lulubanana.mjs';
const lb = new Lulubanana(process.env.LULUBANANA_KEY);
const r = await lb.create_calendar_items({ date: "2026-11-27", ref: "fop_Hd2Rk8Lw4QxN", slot: "18:00", notes: "Film by the window" });Example reply
{
"data": {
"id": "cal_Hn2Wq7Lp4XzR",
"date": "2026-11-27",
"slot": "18:00",
"title": "Why your heat protectant is not working",
"notes": "Film by the window",
"status": "planned",
"ref": "fop_Hd2Rk8Lw4QxN",
"ref_kind": "fusion_opportunity",
"post_url": null,
"reminded_at": null,
"sequence": 0,
"created_at": "2026-11-24T09:30:00.000Z",
"updated_at": "2026-11-24T09:30:00.000Z",
"links": {
"item": "/api/v3/calendar/items/cal_Hn2Wq7Lp4XzR",
"ref": "/api/v3/fusion/opportunities/fop_Hd2Rk8Lw4QxN"
}
}
}Your content calendar between two dates (default
Your content calendar between two dates (default: 30 days back to 90 days ahead), oldest first; filter by status or ref. Free.
| Parameter | In | Type | Description |
|---|---|---|---|
from | query | string | First day, YYYY-MM-DD |
to | query | string | Last day, YYYY-MM-DD |
status | query | planned | published | skipped | planned, published or skipped |
ref | query | string | Only items that plan this id |
curl "https://lulubanana.com/api/v3/calendar/items" \
-H "Authorization: Bearer $LULUBANANA_KEY"import os
from lulubanana import Lulubanana
lb = Lulubanana(os.environ["LULUBANANA_KEY"])
r = lb.get_calendar_items()import { Lulubanana } from './lulubanana.mjs';
const lb = new Lulubanana(process.env.LULUBANANA_KEY);
const r = await lb.get_calendar_items();One calendar item
One calendar item. Free.
| Parameter | In | Type | Description |
|---|---|---|---|
id required | path | string | The id in the path |
curl "https://lulubanana.com/api/v3/calendar/items/cal_Hn2Wq7Lp4XzR" \
-H "Authorization: Bearer $LULUBANANA_KEY"import os
from lulubanana import Lulubanana
lb = Lulubanana(os.environ["LULUBANANA_KEY"])
r = lb.get_calendar_items_item("cal_Hn2Wq7Lp4XzR")import { Lulubanana } from './lulubanana.mjs';
const lb = new Lulubanana(process.env.LULUBANANA_KEY);
const r = await lb.get_calendar_items_item("cal_Hn2Wq7Lp4XzR");Change a calendar item
Change a calendar item: move it (a moved item is reminded again on its new date), rename it, add notes, mark it published (add post_url so the result is recorded) or skipped. Items already sent by a sync rule are updated there too. Free.
| Parameter | In | Type | Description |
|---|---|---|---|
id required | path | string | The id in the path |
date | body | string | New day, YYYY-MM-DD |
slot | body | string | Time of day |
title | body | string | Title |
notes | body | string | Notes |
status | body | planned | published | skipped | planned, published or skipped |
post_url | body | string | Link of the published post |
ref | body | string | What it plans (fop_…, opp_…, sop_…, brf_…, mdr_…), or null |
curl -X PATCH "https://lulubanana.com/api/v3/calendar/items/cal_Hn2Wq7Lp4XzR" \
-H "Authorization: Bearer $LULUBANANA_KEY" \
-H "Content-Type: application/json" \
-d '{"status":"published","post_url":"https://www.tiktok.com/@yourhandle/video/7590000000000000000"}'import os
from lulubanana import Lulubanana
lb = Lulubanana(os.environ["LULUBANANA_KEY"])
r = lb.update_calendar_items_item("cal_Hn2Wq7Lp4XzR", {"status": "published", "post_url": "https://www.tiktok.com/@yourhandle/video/7590000000000000000"})import { Lulubanana } from './lulubanana.mjs';
const lb = new Lulubanana(process.env.LULUBANANA_KEY);
const r = await lb.update_calendar_items_item("cal_Hn2Wq7Lp4XzR", { status: "published", post_url: "https://www.tiktok.com/@yourhandle/video/7590000000000000000" });Remove a calendar item (it leaves your calendar feed at the next refresh)
Remove a calendar item (it leaves your calendar feed at the next refresh). Free.
| Parameter | In | Type | Description |
|---|---|---|---|
id required | path | string | The id in the path |
curl -X DELETE "https://lulubanana.com/api/v3/calendar/items/cal_Hn2Wq7Lp4XzR" \
-H "Authorization: Bearer $LULUBANANA_KEY"import os
from lulubanana import Lulubanana
lb = Lulubanana(os.environ["LULUBANANA_KEY"])
r = lb.delete_calendar_items_item("cal_Hn2Wq7Lp4XzR")import { Lulubanana } from './lulubanana.mjs';
const lb = new Lulubanana(process.env.LULUBANANA_KEY);
const r = await lb.delete_calendar_items_item("cal_Hn2Wq7Lp4XzR");Your private calendar feed (ICS) for Google Calendar, Outlook or Apple Calendar
Your private calendar feed (ICS) for Google Calendar, Outlook or Apple Calendar: the first call makes it and shows the address once (it is stored only as a hash); later calls say it exists. Free.
curl "https://lulubanana.com/api/v3/calendar/feed" \
-H "Authorization: Bearer $LULUBANANA_KEY"import os
from lulubanana import Lulubanana
lb = Lulubanana(os.environ["LULUBANANA_KEY"])
r = lb.get_calendar_feed()import { Lulubanana } from './lulubanana.mjs';
const lb = new Lulubanana(process.env.LULUBANANA_KEY);
const r = await lb.get_calendar_feed();Example reply
{
"data": {
"exists": true,
"url": "https://lulubanana.com/api/calendar/<private token>.ics",
"webcal_url": "webcal://lulubanana.com/api/calendar/<private token>.ics",
"created_at": "2026-11-24T09:30:00.000Z",
"rotated_at": null,
"created": true,
"refresh": "Calendar apps refresh it on their own schedule (the feed asks for every 6 hours; Google Calendar can take up to a day).",
"note": "This address is shown once: keep it private, anyone with it can read your plan. POST /calendar/feed/rotate replaces it."
}
}Replace the calendar feed address
Replace the calendar feed address: the old one stops working at once (it answers 404) and the new one is shown once. Free, up to 10 a day.
curl -X POST "https://lulubanana.com/api/v3/calendar/feed/rotate" \
-H "Authorization: Bearer $LULUBANANA_KEY" \
-H "Content-Type: application/json" \
-d '{}'import os
from lulubanana import Lulubanana
lb = Lulubanana(os.environ["LULUBANANA_KEY"])
r = lb.create_calendar_feed_rotate({})import { Lulubanana } from './lulubanana.mjs';
const lb = new Lulubanana(process.env.LULUBANANA_KEY);
const r = await lb.create_calendar_feed_rotate({});When calendar reminders arrive
When calendar reminders arrive: your time zone (UTC until you set one) and the hour (default 8, i.e. 08:00). Free.
curl "https://lulubanana.com/api/v3/calendar/settings" \
-H "Authorization: Bearer $LULUBANANA_KEY"import os
from lulubanana import Lulubanana
lb = Lulubanana(os.environ["LULUBANANA_KEY"])
r = lb.get_calendar_settings()import { Lulubanana } from './lulubanana.mjs';
const lb = new Lulubanana(process.env.LULUBANANA_KEY);
const r = await lb.get_calendar_settings();Set when calendar reminders arrive
Set when calendar reminders arrive: timezone (an IANA name such as America/New_York) and reminder_hour (0-23, default 8). Free.
| Parameter | In | Type | Description |
|---|---|---|---|
timezone | body | string | IANA time zone, e.g. America/New_York |
reminder_hour | body | integer | Hour of the reminder, 0-23 (default 8) |
curl -X PUT "https://lulubanana.com/api/v3/calendar/settings" \
-H "Authorization: Bearer $LULUBANANA_KEY" \
-H "Content-Type: application/json" \
-d '{"timezone":"America/New_York","reminder_hour":8}'import os
from lulubanana import Lulubanana
lb = Lulubanana(os.environ["LULUBANANA_KEY"])
r = lb.set_calendar_settings({"timezone": "America/New_York", "reminder_hour": 8})import { Lulubanana } from './lulubanana.mjs';
const lb = new Lulubanana(process.env.LULUBANANA_KEY);
const r = await lb.set_calendar_settings({ timezone: "America/New_York", reminder_hour: 8 });Notion, Airtable, Sheets & calendar: frequently asked questions
How do I send Lulubanana ideas to Notion?
Create an internal integration in Notion, connect it with its token (POST /connections/notion/start), share a page with it (••• → Connections), then add a sync rule or send items by hand. The database "Lulubanana content plan" is created under that page on the first push; to use your own database set data_source_id with PATCH /sync/destinations/{id}.
How does Google Sheets sync work?
Share your sheet with the Lulubanana service account address shown in GET /sync/destinations (as Editor) and connect it with its link. The first push writes the header row; every item is one row, updated in place when it changes. Values are written as plain text, so nothing is ever run as a formula.
Will a changed opportunity create a duplicate?
No. Every push of the same item to the same destination updates the page, record or row it made earlier.
My sheet was set up before the Kind column existed. What changes?
Nothing moves. If row 1 still has the original 12 labels and columns M to O are empty, Kind, Slides and YouTube format are added there and each row is filled on its next update. If you use those columns for something else, renamed a label in row 1, protected row 1 or the tab has only 12 columns, rows keep the first 12 columns and your data is left alone; Lulubanana checks again after 7 days, and the sync log says why and what to do. Want Kind, Slides and YouTube format straight away? Type those three labels into M1, N1 and O1: the next push fills them. Rows are still found by the Lulubanana ID in column K, so nothing is duplicated; if a column is inserted before column L or ours are moved, the push stops and says so, and nothing is written until the columns are back in place.
Will Lulubanana change my own Notion database?
No property is ever added to it. Your own database is filled by property name, or with a mapping such as {"kind": "Content kind"}; fields it has no property for are left out and listed in the sync log with the reason. Only the database Lulubanana created for you gets new properties, once. Writing a new value into one of your select properties adds that option to it, as Notion always does.
What if my Airtable table refuses Kind, Slides or YouTube format?
The record is saved without them, so nothing is lost. When a field is missing or cannot hold the value (a link, attachment or rating field, a select that does not allow new options), Lulubanana sends the record once more without those three fields and remembers that for the table: for 7 days later pushes leave them out at once, unless you change the mapping, the table or a field's type. A token with schema.bases:read lets Lulubanana fill only fields of a fitting type from the start. Airtable adds a new option to a single or multiple select field when a new value is written (typecast); no field is ever added to your table.
Does a new mapping replace my old one?
No. PATCH /sync/destinations/{id} merges the mapping field by field: send only the fields to change ({"kind": "Content kind"} keeps your other mappings), a property name to set a field, null to leave a field out on purpose, "" to remove a field from the mapping so it is matched by name again, or "mapping": null to start over. A mapping sent with a sync rule or a single push is used instead of the destination's mapping for that rule or push, so send it whole there.
What happens when Notion, Airtable or Google asks us to slow down?
Pushes are paced to each platform's published limits (Notion about 3 a second, Airtable 5 a second, Google Sheets 60 a minute). When a platform still asks to wait, the push waits as long as it says (Retry-After) and tries again, up to 5 times; GET /sync/log shows each try.
How do I add my content calendar to Google Calendar?
GET /calendar/feed shows your private address once. In Google Calendar choose Other calendars → + → From URL and paste it. Outlook (Subscribe from web) and Apple Calendar (New Calendar Subscription) work the same way.
Does content sync cost credits?
No. It is included (0 credits). Fair use: 20 sync rules, 500 pushes a day (200 of them sent by hand), 300 new calendar items a day and 2000 in all, 10 new feed addresses a day.