Skip to main content
Share
Trends

Graph API v21.0 Shuts Off on 21 January 2027: Messenger, Instagram and WhatsApp Bot Checklist

Meta removes Graph API v21.0 on 21 January 2027. What happens to calls that still say /v21.0/, which version to move to, the changes between v21 and v26 that touch Messenger, Instagram and WhatsApp bots, and a step-by-step upgrade and retest checklist.

Content & Engineering
Nov 25, 2026
9 min read
Last verified October 2026
graph api v21 deprecationgraph api version expirationfacebook graph api latest versionmessenger api version upgradewhatsapp cloud api version
TL;DR

Meta removes Graph API v21.0 on 21 January 2027. What happens to calls that still say /v21.0/, which version to move to, the changes between v21 and v26 that touch Messenger, Instagram and WhatsApp bots, and a step-by-step upgrade and retest checklist.

Key Takeaways
  • Graph API v21.0 stops being available on 21 January 2027.
  • Any Messenger, Instagram or WhatsApp integration that hard-codes /v21.0/ in its URLs should move to a current version now, then retest webhooks and permissions.
  • Last verified: 25 October 2026 against Meta's Graph API changelog, versioning guide and the v26.0 launch post on developers.facebook.com.
  • Meta's announcement of v26.0 on 29 July 2026 states it plainly: "January 21, 2027: Graph API v21.0 will be deprecated and removed from the platform.

The short answer

Graph API v21.0 stops being available on 21 January 2027. Any Messenger, Instagram or WhatsApp integration that hard-codes /v21.0/ in its URLs should move to a current version now, then retest webhooks and permissions.

Last verified: 25 October 2026 against Meta's Graph API changelog, versioning guide and the v26.0 launch post on developers.facebook.com.

Meta's announcement of v26.0 on 29 July 2026 states it plainly: "January 21, 2027: Graph API v21.0 will be deprecated and removed from the platform. To avoid disruption, migrate all calls to the latest API version." The same post notes that the Facebook Platform SDK v21.0 is deprecated in January 2027 as well.

Here is the current version table from the Graph API changelog:

VersionReleasedAvailable until
v26.0 (latest)29 July 2026TBD
v25.018 February 202629 July 2028
v24.08 October 202518 February 2028
v23.029 May 20258 October 2027
v22.021 January 202520 May 2027
v21.02 October 202421 January 2027
v20.021 May 202424 September 2026 (expired)

Notice that v22.0 is next, and it expires only four months later, on 20 May 2027. Moving from v21.0 to v22.0 is the smallest change but buys you almost nothing. Plan to land on v25.0 or v26.0.

What actually happens on 21 January 2027

The answer is less dramatic than "shuts off", and that is exactly what makes it risky. Meta's versioning guide says: "For APIs, once a version is no longer usable, any calls made to it will be defaulted to the next oldest, usable version."

So a call to https://graph.facebook.com/v21.0/me/messages on 22 January will most likely not return a clean "version expired" error. It will be served by the next oldest available version, which on that date is v22.0. Your code keeps sending v21-shaped requests and gets v22-shaped behaviour. Anything that changed between those versions changes for you on that day, without a deploy on your side.

Meta's other guarantees, from the same guide:

  • Two-year life. "Each version is guaranteed to operate for at least two years. A version will no longer be usable two years after the date that the subsequent version is released."
  • Unversioned calls (no /vXX.0/ in the path) "use the version set in the app dashboard Upgrade API Version card under Settings > Advanced." Meta recommends you "always specify the version where possible."
  • Older versions can be called "as long as they are available and your app has made calls to that version." In other words, an app can only fall back to older versions it has already called, so make your first calls to the new version well before the deadline.

The Marketing API has its own, separate version schedule. If your bot also manages ads (for example Click-to-Messenger or Click-to-WhatsApp campaigns), check that schedule separately; the dates in this article are Graph API dates.

Which bots are affected

All three messaging products sit on the Graph API, so the same deadline applies to each:

ProductTypical host and pathWhere v21.0 hides
Messenger Platformgraph.facebook.com/v21.0/me/messagesSend API calls, Page subscriptions, user profile lookups
Instagram messaging (Facebook Login)graph.facebook.com/v21.0/<IG_ID>/messagesSend API, conversations, media lookups
Instagram API with Instagram Logingraph.instagram.com/...Check the version segment in every call
WhatsApp Cloud APIgraph.facebook.com/v21.0/<PHONE_NUMBER_ID>/messagesSend, templates, media upload, phone number registration

Meta's Messenger changelog says the Messenger Platform "follows Graph API Versioning", and the WhatsApp changelog ties its changes to Graph API versions (for example, changes that apply "for version 24.0 and newer requests"). For graph.instagram.com, Meta's docs confirm the host but we could not find an explicit statement of its version policy, so treat it the same way and test it.

You are probably affected if any of these are true:

  • Your code, environment variables or config contain the literal string v21.0.
  • You pinned a Graph SDK or the Facebook JavaScript SDK (FB.init({ version: 'v21.0' })) in late 2024 or early 2025.
  • Your app was built between October 2024 and January 2025, when v21.0 was the newest version, and nobody has touched the version since.
  • You make unversioned calls and your app dashboard default is v21.0.

If you connect your Page or number through a hosted chatbot builder or a WhatsApp Business Solution Provider, the API version is the vendor's code, not yours. Ask them which version they call; you do not need to change anything yourself.

Try it yourself
Build your first chatbot free
Free plan, no credit card required. Live on your site in about 10 minutes.
Start building free

Changes between v21 and v26 that touch messaging bots

Most version-to-version changes are about ads, insights and Pages, not messaging. These are the ones we found in Meta's changelogs that a Messenger, Instagram or WhatsApp bot can trip over:

ChangeApplies fromWho it hits
WhatsApp status webhooks no longer include the conversation objectv24.0+ requestsBilling or analytics code that reads statuses[].conversation.id
WhatsApp messaging_limit_tier returns the business portfolio limit; new whatsapp_business_manager_messaging_limit fieldv24.0+Dashboards that track messaging limits per number
New WhatsApp error code 132018v23.0+Template error handling with an exhaustive switch
Instagram v1.0 API endpoints deprecated; metrics such as impressions and plays deprecatedv22.0+Instagram integrations that also pull insights
Page recommendations deprecated, Page ratings webhooks no longer sentv22.0+Bots that reacted to Page reviews
Legacy protocol features removed: pretty/debug ignored, date_format and GET /?ids= return errors, ETag/304 removedAll versions from 27 October 2026Older HTTP clients and batch lookups

Two dated changes also matter, though they are not tied to v21: Meta's new webhooks mTLS certificate (servers that pinned the old trust store "will stop receiving all webhooks events" after 31 March 2026), and the Messenger changelog's removal of Handover Protocol support for Instagram (23 October 2025). If your webhooks went quiet in 2026 and you are reading this while debugging, start there.

If you jump straight from v21.0 to v26.0, all of the above applies at once. That is fine, but read the per-version changelog pages for v22.0 to v26.0 before you switch, and search them for the endpoints you actually call.

The upgrade checklist

  1. Find every version string. Search code, infrastructure config and secrets managers: grep -rnE "v2[0-1]\.0|graph\.(facebook|instagram)\.com" . Do not forget serverless functions, cron jobs, Zapier or n8n HTTP steps, and Postman collections that someone runs in production.
  2. Centralise it. Replace scattered literals with one constant or environment variable (for example GRAPH_API_VERSION=v26.0) so the next upgrade is a one-line change.
  3. Run Meta's API Upgrade Tool. "The API Upgrade Tool shows the API calls from your app that may be affected by changes in newer versions of the API." Select your app, choose upgrade from v21.0 and to your target version, and work through the list.
  4. Check the dashboard default. In the App Dashboard, open Settings > Advanced and find Upgrade API Version. This controls unversioned calls. Meta offers two steps: upgrading developers and admins first, then all calls. Use the first one as your staging step.
  5. Move the webhook subscriptions. Webhooks are versioned too: since v2.9, "Webhooks versions are now the same as Graph API." Each subscribed field shows its version in the app's webhook settings. Change it to the target version so payloads match what your parser expects, then send a test event.
  6. Retest tokens and permissions. Call GET /debug_token with each Page, system user and Instagram token you hold and confirm the scopes are still granted: pages_messaging, instagram_manage_messages, whatsapp_business_messaging and whatsapp_business_management as applicable.
  7. Run your message matrix. For each channel: receive a text, send a text, send media, send a template (WhatsApp), handle a postback or quick reply, and receive a delivery status. Compare payloads against what you logged under v21.0.
  8. Ship before 21 January. Ideally in early January, with time to roll back. A rollback to v21.0 after the deadline is not possible.
WhatsApp API Cost Calculator
Free tool - no signup, runs in your browser.
Open free tool

A worked example: one constant, three channels

The most common shape we see in older bots is a version string copied into every file that talks to Meta. Here is what that looks like, and the change that makes this the last painful upgrade.

// before: three copies of the version, one per channelawait fetch(`https://graph.facebook.com/v21.0/me/messages?access_token=${PAGE_TOKEN}`, ...);await fetch(`https://graph.facebook.com/v21.0/${IG_ID}/messages`, ...);await fetch(`https://graph.facebook.com/v21.0/${PHONE_NUMBER_ID}/messages`, ...);// after: one version, token in a header instead of the query stringconst GRAPH = `https://graph.facebook.com/${process.env.GRAPH_API_VERSION || "v26.0"}`;const headers = (t) => ({ Authorization: `Bearer ${t}`, "Content-Type": "application/json" });await fetch(`${GRAPH}/me/messages`, { method: "POST", headers: headers(PAGE_TOKEN), body });await fetch(`${GRAPH}/${IG_ID}/messages`, { method: "POST", headers: headers(PAGE_TOKEN), body });await fetch(`${GRAPH}/${PHONE_NUMBER_ID}/messages`, { method: "POST", headers: headers(WA_TOKEN), body });

Moving the token out of the query string is not required by the version change, but it is worth doing in the same pass: query strings end up in proxy logs, error trackers and browser history, and an upgrade is the one time everyone is already reading this code.

Then roll out in two steps. Set GRAPH_API_VERSION to the new version in staging and run the message matrix from the checklist. Once that passes, change it in production and leave the old value noted in the deploy log so a rollback is one variable away (until 21 January, when v21.0 is no longer a rollback target). Keep a log line that prints the version on startup; when Meta's next deadline arrives, you will know in seconds which services still run the old one.

Finally, add a test that fails the build if a literal /v2 version string appears anywhere outside the constant. It is a crude check, and it is the one that stops the next copy-paste from undoing all of this.

Errors you might see after upgrading

Version upgrades rarely produce new error codes; they surface old ones because a field or permission moved. The usual suspects:

ErrorUsually means after an upgradeReference
(#100) Invalid parameterA field or parameter you send was renamed or removed in the new versionMessenger 100
(#10) permission errorsA permission is now required, or Advanced Access is missingMessenger 10
(#190) invalid OAuth tokenToken expired or was revoked while you were changing appsMessenger 190, Instagram 190
(#200) permissions errorThe token lacks a scope the endpoint now checksMessenger 200
WhatsApp 131000, 131009Generic send failure, or a parameter value is invalidWhatsApp 131009

Full lists with fixes: the Messenger error code reference, the Instagram error code reference and the WhatsApp Cloud API error codes. If the upgrade is clean but your bot is still silent, work through our Messenger bot not responding guide, which covers Page subscriptions and the webhook checks that a version change can disturb.

Also watch your sending volume during the switch. A retry loop on a failing endpoint can push you into rate limits; the Messenger limits and WhatsApp limits pages list what applies.

Which version should you move to?

Pick by how often you want to do this again:

  • v26.0 is the latest ("The latest Graph API version is: v26.0"). Its end date is not yet set, but under the two-year rule it will run until two years after v27.0 ships. Choose it if you are testing anyway.
  • v25.0 has a published end date of 29 July 2028. Choose it if your change control prefers a version that has been out longer.
  • v22.0 to v24.0 are not worth it. You would be back on this checklist within 4 to 16 months.

Whatever you pick, put the next deadline in a calendar. Meta has shipped two or three Graph API versions a year, so a bot that pins a version needs someone who owns the upgrade on a schedule. If no one in your team will own that, a hosted platform that tracks Meta's versions for you is worth considering. The Messenger chatbot, Instagram chatbot and WhatsApp chatbot pages show how Conferbot connects each channel, and the Free plan covers 600 conversations a month.

Share this article:

Was this article helpful?

Ready to build your chatbot?

Join the businesses. Deploy on website, WhatsApp, and 11 more channels in minutes. Free forever plan available.

No credit cardNo coding13+ channels
Start Building Free

Get chatbot insights delivered weekly

Join 5,000+ professionals getting actionable AI chatbot strategies, industry benchmarks, and product updates.

🎯Automate this with a free chatbot

Build and deploy in 10 minutes. No coding needed.

❓FAQ

Graph API v21.0 Shuts Off on 21 January 2027 FAQ

Everything you need to know about chatbots for graph api v21.0 shuts off on 21 january 2027.

🔍
Popular:

Meta's changelog lists v21.0 as available until 21 January 2027, and the v26.0 launch post says v21.0 will be deprecated and removed from the platform on that date.

Meta's versioning guide says calls to a version that is no longer usable are defaulted to the next oldest usable version, which will be v22.0. Your requests keep working but with v22.0 behaviour, so any changes between the versions apply without warning.

v26.0, released on 29 July 2026. Its end date is not yet published. v25.0, released on 18 February 2026, is available until 29 July 2028.

Yes in practice. Cloud API calls go to graph.facebook.com with the same version segment, and Meta's WhatsApp changelog ties its changes to Graph API versions, for example status webhooks dropping the conversation object for version 24.0 and newer requests.

Search your code and config for the version in the URL path, such as /v21.0/. For unversioned calls, the version is the one set under Settings > Advanced > Upgrade API Version in the App Dashboard. Meta's API Upgrade Tool lists the calls your app makes that newer versions affect.

Yes. Meta made webhook versions follow Graph API versions in v2.9, and each subscribed field carries a version you can change in the App Dashboard. Move it to your target version and test, so payloads match what your parser expects.

Only as a stopgap. v22.0 expires on 20 May 2027, four months after v21.0. Moving to v25.0 (available until 29 July 2028) or v26.0 saves you a second migration within the year.

About the Author

Content & Engineering

The Conferbot team writes about building, deploying, and improving AI chatbots.

View all articles
Skip the blank canvas
Start from one of 250+ free chatbot templates for lead generation, support, e-commerce, and 20+ industries - customize and launch in minutes.
Browse free templates

Related Articles

From the reference shelf

Fact-checked reference pages and free tools for the platform this article covers.

Omnichannel Platform

One Chatbot,
Every Channel

Your chatbot works seamlessly across WhatsApp, Messenger, Slack, and 6 more platforms. Build once, deploy everywhere.

View All Channels
Conferbot
online
Hi! How can I help you today?
I need pricing info
Conferbot
Active now
Welcome! What are you looking for?
Book a demo
Sure! Pick a time slot:
#support
Conferbot
New ticket from Sarah: "Can't access dashboard"
Auto-resolved. Password reset link sent.