Saltar al contenido
Iniciar sesión Empieza gratis

What is Postlane's API?

11min read

Postlane's API lets you connect your Postlane account to other tools so you can create and schedule posts automatically, instead of adding them by hand inside Postlane. It's available on every Postlane plan, including the Free plan, and many people use it without writing any code.

There are two ways to use it. You can connect Postlane to ready-made tools like Zapier, Make, n8n, Claude, ChatGPT, and other supported AI clients, with little or no code. Or you can build your own custom agents, scripts, and apps on top of the API.

This article explains what Postlane's API is, who it's for, what it can and can't do, and which channels it supports, so you can decide whether it's the right fit. When you're ready to set it up and start building, the resources at the end take it from there.

Note: This article covers Postlane's current API (a GraphQL API at api.postlane.me) for connecting your own Postlane account to automation tools and AI assistants. It is not the same as Postlane's older/legacy API, and it isn't a social network's own API (like the Instagram or X API). When you use Postlane's API, we still handle publishing to each connected social channel for you. For technical reference docs, code samples, and schema details, head to the Postlane API Developer Documentation.

What is Postlane's API?

Postlane's API is a way for other tools to talk to your Postlane account directly. An API (application programming interface) is simply a connection that lets one app send instructions to another. Instead of opening Postlane to create a post by hand, you can let another app, an automation workflow, or an AI assistant create and manage posts in your Postlane account for you.

In practice, it connects Postlane to the tools you already use, so repetitive posting tasks happen automatically. We still handle publishing to each social channel; the API is how your other tools hand content to Postlane.

Do I need to know how to code to use Postlane's API?

No, many people use Postlane's API without writing any code. You can connect Postlane to no-code automation tools like Zapier, Make, IFTTT, or n8n, or to AI assistants like Claude and ChatGPT, using a visual setup. Some tools connect with a Connect button and no key at all, and others ask you to paste your API key. Developers who want to build a custom integration or their own agents can also work with the API directly.

Postlane's API is a good fit if you're:

  • a creator or marketer who wants to cut down on copy-and-paste work, like turning blog posts, files, or form submissions into Postlane posts
  • a team that wants content to flow into Postlane from one central place, such as a content calendar or planning doc
  • someone who wants to create or schedule posts by talking to an AI assistant in plain language
  • a developer or builder who wants to create your own agents, scripts, or apps that work with Postlane

Can I build my own agents, scripts, or apps with Postlane's API?

Yes. Beyond connecting Postlane to ready-made automation tools, you can build your own agents, scripts, and apps on top of Postlane's API. At a high level, there are three approaches:

  • Your own AI agents, through Postlane's MCP server. Postlane has ready-made setups for Claude and Claude Code, ChatGPT and Codex, Cursor, Notion, Perplexity, Manus, Antigravity, Grok, Raycast, n8n, and Zapier. If your AI tool is on that list, use its dedicated setup rather than MCP. If it isn't listed but supports MCP (the protocol AI tools use to connect to outside services), you can still connect it using a Postlane API key instead of Postlane's MCP server.
  • Scripts and quick automations, from your terminal. If you prefer working in the command line, Postlane offers a CLI for running API commands without building a full integration. See the Postlane CLI guide for setup.
  • Custom integrations, on the GraphQL API. For full control, you can build directly against Postlane's API in the language of your choice. The Postlane API Developer Documentation covers authentication, the full API reference, and code examples. Building an app for other people to connect their Postlane accounts to? Our guide for building third-party apps on Postlane covers best practices, and the Postlane sample apps repository has an example app you can run locally or point your coding AI agent to for reference.

💡 Your AI agent will let you know if it's nearing Postlane's API rate limit. When you connect Postlane through an MCP client (Cursor, Antigravity, etc.), your agent gets a heads-up as it approaches the limit, so it can pace itself instead of hitting an error. If your agent says it's slowing down or waiting, that's expected. It'll pick back up once the limit resets.

For step-by-step setup of MCP and AI tools, see Connecting Postlane to automation tools and AI assistants.

Which Postlane plans include API access?

API access is included on every Postlane plan. What changes by plan is how many API keys you can create and how many requests your API keys can make. All of your API keys share the same limits, and paid plans have access to more API keys and higher request limits.

Plan API keys App clients Requests per 30 days
Free 1 1 1,000 per channel, up to 3,000
Essentials 3 3 3,000 per channel, up to 30,000
Team 5 5 10,000 per channel, up to 100,000

Good to knows

  • API keys are personal, not shared across your team. They're tied to your user account, not the organization.
  • Currently, only an organization owner can create API keys. Members who try will be prompted to switch to an organization where they're an owner.
  • Limits are shared by all of your API keys and MCP connections. They aren't applied per key. Alongside the 30-day limit, there are shorter 15-minute and 24-hour windows. See Troubleshooting Postlane’s API for the full details.
  • Each app client has its own limits, separate from your plan. They grow with the number of Postlane users who authorize the app. See the rate limits guide in our developer docs.
  • Are you a developer building an integration for multiple users and need higher limits? Email our developer support team at hello@postlane.me with a detailed overview of what you're building.

What can I do with Postlane's API?

Postlane's API is currently focused on creating content and managing ideas in your Postlane account. Here's what it supports today:

  • Create and edit posts, including text, media (images and videos via public link, not direct upload), and channel-specific features like first comment and threaded posts.
  • Create and list ideas: add ideas to your Postlane account to review later, and list your existing ideas and idea groups.
  • Fetch your data: retrieve information from your account programmatically, such as your organizations, channels, scheduled posts, and sent posts. Starting January 2027, the API returns sent posts from the last two years.
  • Create, edit, and delete Tags (early preview): manage Tags directly through the API, no need to use the Postlane interface. This is an early preview, so the shape of inputs and responses may still change before it's finalized.

Note: You can look up a specific Tag's details or fetch a paginated list of your Tags with the tagsV2 query, and you can now create, update, and delete Tags with the createTag, updateTag, and deleteTag mutations. These mutations are an early preview, so treat them as experimental and expect possible changes before they're finalized. See the Tag guides in the Postlane API Developer Documentation for examples.

You can browse every available action in the Postlane API reference. For concrete workflow examples, like auto-sharing your blog or posting through an AI assistant, see What can I build with Postlane’s API?

Note: Posts created via the API respect your channel permissions. If you're set to Requires Approval on a channel, posts created via the API are saved as drafts awaiting approval, just like in the Postlane dashboard.

Can I get my analytics or post insights through Postlane's API?

Not in a full or reliable way yet. We don't currently offer your analytics or insights data through the API the way the Insights section of Postlane does, and there's no analytics CSV export through the API. There is an early, experimental set of post-metrics queries in the Postlane API Developer Documentation, but because it's experimental the data can change, so we don't recommend relying on it for reporting or production tools. It's also personal use only: you read post metrics with your own API key, so it isn't available to apps that connect on someone else's behalf. If analytics access through the API matters to you, we'd love to hear about it at suggestions.postlane.me.

Which social channels does Postlane's API support?

Postlane's API supports creating posts for Instagram, Threads, LinkedIn, X/Twitter, Facebook, TikTok, Google Business Profiles, Mastodon, YouTube, Pinterest, and Bluesky.

We don't support Start Page through the API, so you can't create or edit Start Page posts programmatically.

What's not supported yet?

A few things Postlane's API doesn't support today, so you can plan around them:

  • Full analytics and insights. Only an experimental set of post metrics is available through the API today, and we don't recommend relying on it for reporting.
  • Reading or replying to comments. Engagement happens inside Postlane's engagement tools, not through the API.
  • Start Page. You can't create or edit Start Page posts through the API.
  • Custom video thumbnails. You can't supply your own thumbnail image for a video post. On Instagram, TikTok, and Pinterest, you can choose a moment from the video itself to use as the thumbnail instead.
  • Native media uploads. You can attach media to the Postlane posts created through our API, and each media upload must be hosted at a public URL. When you include an image or video, Postlane retrieves it from a public link rather than a direct file upload. The link also needs to stay reachable until the post publishes, not just when you create it. See Troubleshooting Postlane's API for hosting requirements.

We're always expanding the API. If something you need isn't here yet, we'd love to hear about it at suggestions.postlane.me.

How do I get started with Postlane's API?

Getting started takes two steps:

  1. Create your Postlane API key. See How to create your Postlane API key.
  2. Connect Postlane to your tool, or start building. See Connecting Postlane to automated tools and AI assistants.

For ideas on what to build once you're set up, see What can I build with Postlane’s API? If you want to build a custom or more advanced integration, the Postlane API Developer Documentation covers authentication, the full API reference, and code examples.

How do I get help with Postlane's API?

For general questions about the API, email us at hello@postlane.me and our Advocacy team will be happy to help. If you're building something and want technical help, the Postlane developer Discord is a great place to ask other builders and the Postlane team. For reference material, the Postlane API Developer Documentation covers authentication, the full API reference, and code examples.

FAQ

Does Postlane have an API?

Yes. Postlane has a current API (a GraphQL API) available on all plans, including the Free plan. You can use it to create and schedule posts, manage ideas, fetch data from your account, and create, edit, or delete Tags (an early preview feature), whether through no-code tools, an AI assistant, or a custom integration you build yourself.

Is Postlane's API free?

API access is included on every Postlane plan, including the Free plan. The Free plan allows 1 API key and 1,000 requests per connected channel every 30 days, up to 3,000. Paid plans allow more keys and higher request limits.

Can I post Stories, Reels, or use channel-specific features through the API?

Many of them, yes. On Instagram you can set the post type, so posts, stories, and reels are all supported. Threaded posts work on X/Twitter, Bluesky, Threads, and Mastodon, and you can add a first comment on LinkedIn, Facebook, and Instagram. Other channel-specific fields work too, like attaching a board to a Pinterest pin or tagging Instagram accounts on an image. Support still varies by channel and is expanding over time, so check the Postlane API reference for the exact fields each channel accepts.

Can I reply to comments or manage engagement through the API?

Not through the API. You can set a post's first comment when you create it, but reading and replying to comments happens inside Postlane's engagement tools rather than through the API.

Can I use Postlane's API to post to my clients' channels?

Yes. You can post to the client channels connected to your own Postlane account using your personal API key, like any other automation. If you're building an app that other people connect their own Postlane accounts to, use OAuth instead of a personal key, so your users can grant access without sharing credentials. See the authentication guide in the Postlane API Developer Documentation.

More resources