Need help with your APIs? I offer API discovery, governance & evangelism services. Explore services →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

WhatsApp Lifecycle API

Publish and deprecate flows

WhatsApp Lifecycle API is one of 17 APIs that WhatsApp publishes on the APIs.io network, described by a machine-readable OpenAPI specification and an AsyncAPI event-driven specification.

This API exposes 2 JSON Schema definitions.

Tagged areas include Lifecycle. The published artifact set on APIs.io includes an OpenAPI specification, API documentation, authentication docs, an AsyncAPI specification, an API reference, a getting-started guide, and 2 JSON Schemas.

This API exposes 2 operations across 2 paths, and defines 1 schema. It is described by OpenAPI 3.1.0, at version 21.0.

Requests are made against a single base URL, https://graph.facebook.com/v21.0.

2 operations 2 paths 1 schemas 2 POST

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.1.0
API Version
21.0
Base URL
https://graph.facebook.com/v21.0
Authentication
HTTP Bearer
Terms of Service
Resource Areas
1

Authentication & Security 1

WhatsApp Lifecycle API declares 1 security scheme for authenticating requests. It accepts HTTP bearer tokens (bearerAuth). By default, every request must be authenticated.

  • bearerAuth — System User Token with whatsappbusinessmanagement permission

Paths & Operations 2

Across 2 paths, the API surfaces 2 operations — 2 POST. Each is listed below with its method, path, parameters, and response codes.

Lifecycle 2

Publish and deprecate flows

POST
/{flow-id}/publish
WhatsApp Publish Flow
publishFlow 1 param → 200
POST
/{flow-id}/deprecate
WhatsApp Deprecate Flow
deprecateFlow 1 param → 200

Schemas 1

The contract defines 1 schema that model the data the API accepts and returns. The most detailed is SuccessResponse (1 property). Each schema is shown below with its type and property counts.

SuccessResponse
object
1 property

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

whatsapp-lifecycle-api-openapi.yml Raw ↑

Other APIs WhatsApp publishes across the network.

WhatsApp Flows API
WhatsApp On-Premises API
WhatsApp Analytics API
WhatsApp Assets API
WhatsApp Assigned Users API
WhatsApp Business Accounts API
WhatsApp Business Profile API
WhatsApp Media API
WhatsApp Message Templates API
WhatsApp Messages API
WhatsApp Phone Numbers API
WhatsApp Product Catalogs API