PlatformsPlatforms

Platforms

The platforms Koil serves, and how platform content is named across the API.

Every platform below is generated from the same catalog GET /v1/platforms and GET /v1/collections serve, so a platform or collection appears here exactly when the API serves it. Each platform's page lists its collections, what you can do with each, the events they emit, and the args each publish takes.

PlatformIssuersSurfaces and resources
Facebook (facebook)facebookdm (conversations, messages, reactions); media (comments, mentions, posts, reactions); stories (posts)
Google Business Profile (google_business_profile)googlelocations (review_replies, reviews)
Instagram (instagram)facebookdm (conversations, messages, reactions); media (comments, mentions, posts); stories (posts)
LinkedIn (linkedin)linkedinfeed (comments, mentions, posts, reactions)
TikTok (tiktok)tiktokdm (conversations, messages); videos (comments, mentions, posts)
WhatsApp (whatsapp)facebookdm (messages, reactions, statuses); groups (conversations, messages, statuses)
YouTube (youtube)googlevideos (comments, posts)

What a given Profile can do also depends on the scopes its credential carries; GET /v1/profiles/{profileId}/capabilities answers for one profile, as the same collections with each operation, the events, and backfill marked for that credential, and the missing scopes named where one is refused.

Not supported

  • X is not supported. Its developer agreement forbids making API credentials available to a third party, which rules out operating on your own X app through Koil.
  • Other platforms (Threads, Pinterest, Bluesky, and others) are not built yet. If one blocks your integration, tell us.

Where a listed platform can't do something yet, its page says so and why.

Naming

Koil names platform content the same way on every platform:

  • Platform — the upstream platform: instagram, facebook, youtube.
  • Surface — a product area a user of that platform would recognize: media, dm, videos, posts.
  • Resource — a feed inside a surface: posts, comments, messages, mentions.
  • Collection — one platform feed, named {platform}.{surface}.{resource}, such as instagram.media.posts. Every item it delivers names it in kind. The name is the path segment of content reads (/v1/profiles/{profileId}/content/{collection}), the collection of a publish request, and the middle of every content event topic (content.{collection}.{action}).
  • Variant — a subtype inside a collection, such as feed or reel, chosen when you publish.
  • Profile setting — an account setting that is not content, such as the greeting and ice breakers Messenger shows before a first message, named {platform}.{setting} (facebook.dm_welcome), read and set at /v1/profiles/{profileId}/settings/{setting}. Each platform's page lists its own.

Surfaces follow the platform rather than forcing one vocabulary: Instagram's posts live under media, LinkedIn's under feed, and YouTube's and TikTok's under videos. Every comment and message names where it lives as containerId and what it responds to as target, on every platform, so an inbox spanning platforms reads the same fields. Content explains these fields and the rest of the content model.

On this page