Integrations API: connect YouTube, TikTok, Instagram, Slack, Notion and more to short-form research
The lulubanana connections API is one secure gateway between your account and the platforms you already use: it lists every integration in 7 categories (social analytics, Slack app, automation, content planning sync, messaging, AI assistants and publishing hand-off), starts a sign-in with YouTube, Instagram, TikTok, Slack, Notion, Google or Buffer (OAuth with state and PKCE where the platform supports it), or checks a pasted Notion, Airtable, Buffer or Metricool token live, and stores every token sealed (AES-256-GCM), refreshed before it expires and revoked when you disconnect.
What is the connections & integrations API?
The lulubanana connections API is one secure gateway between your account and the platforms you already use: it lists every integration in 7 categories (social analytics, Slack app, automation, content planning sync, messaging, AI assistants and publishing hand-off), starts a sign-in with YouTube, Instagram, TikTok, Slack, Notion, Google or Buffer (OAuth with state and PKCE where the platform supports it), or checks a pasted Notion, Airtable, Buffer or Metricool token live, and stores every token sealed (AES-256-GCM), refreshed before it expires and revoked when you disconnect. Connecting is included: 0 credits.
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 integrations API
- See every integration in one catalog, grouped by category, with what each one unlocks and whether it is ready for your account now
- Connect your own YouTube, TikTok or Instagram account by signing in, so your channel numbers and audience feed your research
- Install the Slack app into your workspace with one sign-in
- Paste a Notion, Airtable, Buffer or Metricool token: it is checked live before it is stored
- List your connections with their status (active, needs_reauth, error) and when each was last used
- Test a connection with one small read at the platform; an expired sign-in is refreshed first
- Disconnect: access is revoked at the platform where it supports that, and every stored token is wiped
- Trust that tokens never come back in a reply, are sealed at rest, and are refreshed before they expire
How it works
- GET /integrations/providers to see what you can connect and what is ready now.
- POST /connections/{provider}/start: sign-in platforms answer with authorize_url; open it in a browser where you are signed in to Lulubanana, approve, and you return to the dashboard with the connection stored. Token platforms take {token, config} and answer with the stored connection.
- GET /connections to see your connections; POST /connections/{id}/test to check one; DELETE /connections/{id} to disconnect.
In the dashboard: Settings → Integrations · My channel
See the catalog, connect Notion with a token, start a sign-in
Replace lb_YOUR_KEY with a key from Settings → API. A token is checked live at the platform before it is stored; a sign-in answers with an address to open in a browser where you are signed in to Lulubanana.
The catalog: every integration, grouped by category, with what it unlocks
curl https://lulubanana.com/api/v3/integrations/providers -H "Authorization: Bearer lb_YOUR_KEY"Connect Notion with an internal integration token
curl -X POST https://lulubanana.com/api/v3/connections/notion/start -H "Authorization: Bearer lb_YOUR_KEY" -H "Content-Type: application/json" \
-d '{"token":"ntn_YOUR_NOTION_TOKEN"}'
# → {"data":{"provider":"notion","mode":"token","connection":{"id":"con_Hk3Wq8Zp2LmTxR4v","provider":"notion","status":"active",...}}} (the token never comes back)Start a YouTube sign-in, then test and list your connections
curl -X POST https://lulubanana.com/api/v3/connections/youtube/start -H "Authorization: Bearer lb_YOUR_KEY" -H "Content-Type: application/json" -d '{}'
# → {"data":{"authorize_url":"https://accounts.google.com/o/oauth2/v2/auth?...","state_expires_at":"..."}} (open it; the link works once, for 10 minutes)
curl -X POST https://lulubanana.com/api/v3/connections/con_Hk3Wq8Zp2LmTxR4v/test -H "Authorization: Bearer lb_YOUR_KEY"
curl https://lulubanana.com/api/v3/connections -H "Authorization: Bearer lb_YOUR_KEY"
Key terms
- Connection
- A link between your account and one account on another platform (a YouTube channel, a Slack workspace, a Notion workspace). Its id starts with con_.
- Provider
- A platform you can connect, such as youtube, tiktok, instagram, slack, notion, airtable, google_sheets or buffer.
- Sign-in (OAuth)
- You approve access on the platform's own page; we receive a token, never your password. The sign-in link works once, for 10 minutes.
- PKCE
- A one-time proof that the sign-in that comes back is the one that started; used with every platform that supports it.
- needs_reauth
- The platform no longer accepts the sign-in (it expired or was revoked). Connect again to carry on; nothing else is lost.
- Sealed token
- A token encrypted with AES-256-GCM before it is stored. It is opened only in memory when it is used and never returned by the API.
Endpoints
| Endpoint | What it does | Cost |
|---|---|---|
GET /integrations | The catalog of integrations in 7 categories (social analytics, Slack app, automation,… | Free |
GET /connections | Your connections to outside platforms, newest first | Free |
GET /connections | One connection (no tokens) | Free |
DELETE /connections | Disconnect | Free |
POST /connections | Check that a connection still works with one small read at the platform (a token close… | Free |
POST /connections | Connect a platform | Free |
The catalog of integrations in 7 categories (social analytics, Slack app, automation,…
The catalog of integrations in 7 categories (social analytics, Slack app, automation, content planning sync, messaging, AI assistants, publishing hand-off): what each unlocks, how it connects, whether it is ready now and how many you have connected. Free.
| Parameter | In | Type | Description |
|---|---|---|---|
category | query | social_analytics | slack_app | automation | content_sync | messaging | ai_assistants | publishing | Only this category |
curl "https://lulubanana.com/api/v3/integrations/providers" \
-H "Authorization: Bearer $LULUBANANA_KEY"import os
from lulubanana import Lulubanana
lb = Lulubanana(os.environ["LULUBANANA_KEY"])
r = lb.get_integrations_providers()import { Lulubanana } from './lulubanana.mjs';
const lb = new Lulubanana(process.env.LULUBANANA_KEY);
const r = await lb.get_integrations_providers();Example reply
{
"data": {
"categories": [
{
"id": "social_analytics",
"name": "Social analytics",
"about": "Connect your own TikTok, YouTube and Instagram accounts so your channel numbers, audience and results feed your research.",
"providers": [
{
"id": "youtube",
"name": "YouTube",
"category": "social_analytics",
"category_name": "Social analytics",
"auth": "oauth",
"available": true,
"status": "available",
"status_text": "Ready to connect",
"modes": [
{
"mode": "oauth",
"available": true
},
{
"mode": "public",
"available": true
}
],
"needs_setup": [],
"scopes": [
"https://www.googleapis.com/auth/youtube.readonly",
"https://www.googleapis.com/auth/yt-analytics.readonly"
],
"unlocks": [
"Sign in to add watch time, average view percentage, retention, subscribers gained, traffic sources and your top YouTube search terms"
],
"price": "included",
"credits": 0,
"setup_minutes": 2,
"redirect_uri": "https://lulubanana.com/api/connect/youtube/callback",
"connected": 1
}
]
}
],
"providers": 19,
"available": 19,
"price": "included",
"credits": 0
}
}Your connections to outside platforms, newest first
Your connections to outside platforms, newest first: provider, account, status (active, needs_reauth, error, revoked, pending), scopes and last use. Tokens are never returned. Free.
| Parameter | In | Type | Description |
|---|---|---|---|
provider | query | youtube | instagram | tiktok | slack | zapier | make | n8n | notion | airtable | google_sheets | calendar | teams | telegram | whatsapp | mcp | buffer | metricool | later | webhook | Only this provider, e.g. youtube |
curl "https://lulubanana.com/api/v3/connections" \
-H "Authorization: Bearer $LULUBANANA_KEY"import os
from lulubanana import Lulubanana
lb = Lulubanana(os.environ["LULUBANANA_KEY"])
r = lb.get_connections()import { Lulubanana } from './lulubanana.mjs';
const lb = new Lulubanana(process.env.LULUBANANA_KEY);
const r = await lb.get_connections();Example reply
{
"data": [
{
"id": "con_Hk3Wq8Zp2LmTxR4v",
"provider": "youtube",
"provider_name": "YouTube",
"category": "social_analytics",
"mode": "oauth",
"external_id": "UCx2Lm8Qp4Rt7Wv9Zk3Nh5Ty",
"display_name": "Skincare on a Budget",
"handle": "skincareonabudget",
"scopes": [
"https://www.googleapis.com/auth/youtube.readonly",
"https://www.googleapis.com/auth/yt-analytics.readonly"
],
"status": "active",
"needs_reauth": false,
"expires_at": "2026-11-24T10:30:00.000Z",
"config": {
"subscribers": 48200,
"videos": 312
},
"has_token": true,
"last_used_at": "2026-11-24T09:31:00.000Z",
"last_sync_at": null,
"last_refresh_at": "2026-11-24T09:30:00.000Z",
"last_error": null,
"created_at": "2026-11-20T15:02:00.000Z",
"updated_at": "2026-11-24T09:30:00.000Z"
}
]
}One connection (no tokens)
One connection (no tokens). Free.
| Parameter | In | Type | Description |
|---|---|---|---|
id required | path | string | The id in the path |
curl "https://lulubanana.com/api/v3/connections/con_Hk3Wq8Zp2LmTxR4v" \
-H "Authorization: Bearer $LULUBANANA_KEY"import os
from lulubanana import Lulubanana
lb = Lulubanana(os.environ["LULUBANANA_KEY"])
r = lb.get_connections_item("con_Hk3Wq8Zp2LmTxR4v")import { Lulubanana } from './lulubanana.mjs';
const lb = new Lulubanana(process.env.LULUBANANA_KEY);
const r = await lb.get_connections_item("con_Hk3Wq8Zp2LmTxR4v");Example reply
{
"data": {
"id": "con_Hk3Wq8Zp2LmTxR4v",
"provider": "youtube",
"provider_name": "YouTube",
"category": "social_analytics",
"mode": "oauth",
"external_id": "UCx2Lm8Qp4Rt7Wv9Zk3Nh5Ty",
"display_name": "Skincare on a Budget",
"handle": "skincareonabudget",
"scopes": [
"https://www.googleapis.com/auth/youtube.readonly",
"https://www.googleapis.com/auth/yt-analytics.readonly"
],
"status": "active",
"needs_reauth": false,
"expires_at": "2026-11-24T10:30:00.000Z",
"config": {
"subscribers": 48200,
"videos": 312
},
"has_token": true,
"last_used_at": "2026-11-24T09:31:00.000Z",
"last_sync_at": null,
"last_refresh_at": "2026-11-24T09:30:00.000Z",
"last_error": null,
"created_at": "2026-11-20T15:02:00.000Z",
"updated_at": "2026-11-24T09:30:00.000Z"
}
}Disconnect
Disconnect: the access is revoked at the platform where it supports that, the stored tokens are wiped and the alerts and sync rules that used this connection are removed. A verified channel goes back to public numbers. Free.
| Parameter | In | Type | Description |
|---|---|---|---|
id required | path | string | The id in the path |
curl -X DELETE "https://lulubanana.com/api/v3/connections/con_Hk3Wq8Zp2LmTxR4v" \
-H "Authorization: Bearer $LULUBANANA_KEY"import os
from lulubanana import Lulubanana
lb = Lulubanana(os.environ["LULUBANANA_KEY"])
r = lb.delete_connections_item("con_Hk3Wq8Zp2LmTxR4v")import { Lulubanana } from './lulubanana.mjs';
const lb = new Lulubanana(process.env.LULUBANANA_KEY);
const r = await lb.delete_connections_item("con_Hk3Wq8Zp2LmTxR4v");Example reply
{
"data": {
"id": "con_Hk3Wq8Zp2LmTxR4v",
"provider": "youtube",
"deleted": true,
"revoked_at_provider": true
}
}Check that a connection still works with one small read at the platform (a token close…
Check that a connection still works with one small read at the platform (a token close to expiry is refreshed first). A refused sign-in sets status needs_reauth. Free, up to 100 a day.
| Parameter | In | Type | Description |
|---|---|---|---|
id required | path | string | The id in the path |
curl -X POST "https://lulubanana.com/api/v3/connections/con_Hk3Wq8Zp2LmTxR4v/test" \
-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_connections_test("con_Hk3Wq8Zp2LmTxR4v", {})import { Lulubanana } from './lulubanana.mjs';
const lb = new Lulubanana(process.env.LULUBANANA_KEY);
const r = await lb.create_connections_test("con_Hk3Wq8Zp2LmTxR4v", {});Example reply
{
"data": {
"ok": true,
"checked": true,
"detail": {
"display_name": "Skincare on a Budget",
"handle": "skincareonabudget"
},
"connection": {
"id": "con_Hk3Wq8Zp2LmTxR4v",
"provider": "youtube",
"provider_name": "YouTube",
"category": "social_analytics",
"mode": "oauth",
"external_id": "UCx2Lm8Qp4Rt7Wv9Zk3Nh5Ty",
"display_name": "Skincare on a Budget",
"handle": "skincareonabudget",
"scopes": [
"https://www.googleapis.com/auth/youtube.readonly",
"https://www.googleapis.com/auth/yt-analytics.readonly"
],
"status": "active",
"needs_reauth": false,
"expires_at": "2026-11-24T10:30:00.000Z",
"config": {
"subscribers": 48200,
"videos": 312
},
"has_token": true,
"last_used_at": "2026-11-24T09:31:00.000Z",
"last_sync_at": null,
"last_refresh_at": "2026-11-24T09:30:00.000Z",
"last_error": null,
"created_at": "2026-11-20T15:02:00.000Z",
"updated_at": "2026-11-24T09:30:00.000Z"
}
}
}Connect a platform
Connect a platform. Sign-in platforms answer {authorize_url, state_expires_at}: open the address, approve, and the connection is stored when you come back (PKCE where the platform supports it). Token platforms (Notion, Airtable, Buffer, Metricool) take {token, config}: the token is checked live and stored sealed. Free, up to 50 a day.
| Parameter | In | Type | Description |
|---|---|---|---|
provider required | path | string | provider |
mode | body | oauth | token | oauth (sign in) or token (paste a token); chosen for you when left out |
return_to | body | string | Dashboard page to open after the sign-in, e.g. #/settings/integrations (default) or #/channel |
token | body | string | For token platforms: the integration token, personal access token or API key (stored sealed, never shown again) |
config | body | object | Platform settings: Airtable {base_id, table}, Metricool {user_id, blog_id}, Buffer {channel_id}, Google Sheets {spreadsheet_id, sheet} |
curl -X POST "https://lulubanana.com/api/v3/connections/youtube/start" \
-H "Authorization: Bearer $LULUBANANA_KEY" \
-H "Content-Type: application/json" \
-d '{"return_to":"#/settings/integrations"}'import os
from lulubanana import Lulubanana
lb = Lulubanana(os.environ["LULUBANANA_KEY"])
r = lb.create_connections_by_provider_start("youtube", {"return_to": "#/settings/integrations"})import { Lulubanana } from './lulubanana.mjs';
const lb = new Lulubanana(process.env.LULUBANANA_KEY);
const r = await lb.create_connections_by_provider_start("youtube", { return_to: "#/settings/integrations" });Example reply
{
"data": {
"provider": "youtube",
"mode": "oauth",
"authorize_url": "https://accounts.google.com/o/oauth2/v2/auth?client_id=…&scope=…&redirect_uri=https%3A%2F%2Flulubanana.com%2Fapi%2Fconnect%2Fyoutube%2Fcallback&response_type=code&state=…&access_type=offline&prompt=consent&code_challenge=…&code_challenge_method=S256",
"state_expires_at": "2026-11-24T09:40:00.000Z",
"redirect_uri": "https://lulubanana.com/api/connect/youtube/callback",
"pkce": true,
"next": "Open authorize_url in a browser where you are signed in to Lulubanana, approve, and you come back to the dashboard with the connection stored. The link works once, for 10 minutes."
}
}Connections & integrations: frequently asked questions
Which platforms can I connect to lulubanana?
YouTube, TikTok and Instagram (your own accounts), Slack, Zapier, Make, n8n, Notion, Airtable, Google Sheets, a calendar feed, Microsoft Teams, Telegram, WhatsApp, AI assistants over MCP, Buffer, Metricool, Later (through an automation tool) and your own webhook. GET /integrations/providers lists them with what each unlocks and whether it is ready for your account now.
Does connecting cost credits?
No. Connecting, testing and disconnecting are included (0 credits), with a daily fair use of 50 new connections and 100 tests per account, and up to 50 connections.
How are my tokens stored?
Sealed with AES-256-GCM and bound to your account and the platform, opened only in memory when used, refreshed before they expire, and wiped when you disconnect. The API never returns a token.
What does "being set up by Lulubanana" mean?
The platform needs a one-time registration on our side before anyone can sign in with it. Until then you can add public YouTube, TikTok and Instagram accounts by handle.
Can a read-only key connect a platform?
No. A read-only key can list the catalog and your connections; starting, testing and removing a connection need a full-access key.
Where do I connect platforms in the app?
Settings → Integrations shows the same catalog with a status for each platform: Connected, Ready to connect, or Being set up by Lulubanana. Your own TikTok, YouTube and Instagram accounts are added under My channel.