FoPost Whats App API

Templates, flows, groups, profile and commerce on a WhatsApp Business number

GitHub OpenAPI

Operations 39

GET /v1/accounts/{id}/whatsapp/profile Get the WhatsApp business profile #
PATCH /v1/accounts/{id}/whatsapp/profile Update the WhatsApp business profile #
POST /v1/accounts/{id}/whatsapp/profile/display-name Request a new WhatsApp display name #
PUT /v1/accounts/{id}/whatsapp/profile/username Set the WhatsApp username #
GET /v1/accounts/{id}/whatsapp/templates List WhatsApp message templates #
POST /v1/accounts/{id}/whatsapp/templates Create a WhatsApp message template #
GET /v1/accounts/{id}/whatsapp/templates/library List the WhatsApp template library #
POST /v1/accounts/{id}/whatsapp/templates/import Import a library template #
GET /v1/accounts/{id}/whatsapp/templates/{templateId} Get a WhatsApp message template #
PATCH /v1/accounts/{id}/whatsapp/templates/{templateId} Update a WhatsApp message template #
DELETE /v1/accounts/{id}/whatsapp/templates/{templateId} Delete a WhatsApp message template #
GET /v1/accounts/{id}/whatsapp/groups List WhatsApp groups #
POST /v1/accounts/{id}/whatsapp/groups Create a WhatsApp group #
GET /v1/accounts/{id}/whatsapp/groups/{groupId} Get a WhatsApp group #
PATCH /v1/accounts/{id}/whatsapp/groups/{groupId} Update a WhatsApp group #
DELETE /v1/accounts/{id}/whatsapp/groups/{groupId} Delete a WhatsApp group #
DELETE /v1/accounts/{id}/whatsapp/groups/{groupId}/participants Remove WhatsApp group participants #
GET /v1/accounts/{id}/whatsapp/block List blocked WhatsApp users #
POST /v1/accounts/{id}/whatsapp/block Block WhatsApp users #
DELETE /v1/accounts/{id}/whatsapp/block Unblock WhatsApp users #
GET /v1/accounts/{id}/whatsapp/commerce Get WhatsApp commerce settings #
PATCH /v1/accounts/{id}/whatsapp/commerce Update WhatsApp commerce settings #
POST /v1/accounts/{id}/whatsapp/commerce/catalog Link a product catalog #
GET /v1/accounts/{id}/whatsapp/flows List WhatsApp flows #
POST /v1/accounts/{id}/whatsapp/flows Create a WhatsApp flow #
GET /v1/accounts/{id}/whatsapp/flows/responses List WhatsApp flow answers #
GET /v1/accounts/{id}/whatsapp/flows/encryption-key Get the flow encryption key status #
PUT /v1/accounts/{id}/whatsapp/flows/encryption-key Register the flow encryption public key #
GET /v1/accounts/{id}/whatsapp/flows/{flowId} Get a WhatsApp flow #
PATCH /v1/accounts/{id}/whatsapp/flows/{flowId} Update a WhatsApp flow #
DELETE /v1/accounts/{id}/whatsapp/flows/{flowId} Delete a WhatsApp flow #
PUT /v1/accounts/{id}/whatsapp/flows/{flowId}/json Upload a WhatsApp flow definition #
POST /v1/accounts/{id}/whatsapp/flows/{flowId}/publish Publish a WhatsApp flow #
POST /v1/accounts/{id}/whatsapp/flows/{flowId}/deprecate Deprecate a WhatsApp flow #
GET /v1/accounts/{id}/whatsapp/events Get WhatsApp account state #
GET /v1/whatsapp/sandbox/sessions List WhatsApp sandbox sessions #
POST /v1/whatsapp/sandbox/sessions Invite a tester to the WhatsApp sandbox #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/fopost-com:fopost-com-whats-app-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

fopost-com-whats-app-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: FoPost WhatsApp API
  version: 1.0.0
  description: 'REST API for FoPost — schedule, publish, and analyze social media content across every connected platform.


    ## Authentication


    Programmatic access uses an API key sent in the `X-API-Key` header. Keys are created in the FoPost dashboard under **Developers → API Keys** and are limited to the scopes granted at creation. Requests from the FoPost dashboard use a JWT bearer token instead (`Authorization: Bearer `), which implicitly carries all scopes. Either method works on every endpoint in this document unless noted otherwise.


    ## Scopes


    Each operation lists its required scope (also machine-readable as `x-fopost-scope`): `posts` (includes publishing, deliveries, and media), `workspaces`, `accounts`, `labels`, `webhooks`, `analytics`, `automations`.


    ## Responses


    Every key in a response body and every query parameter is snake_case; request bodies keep the field names documented on each operation. The ads endpoints (`/v1/ads/*`) are the one exception and keep camelCase keys. A single resource is returned as the object itself (`201` on create); a collection is `{ "data": [...], "meta": {...} }`. A success with nothing to return is `204` with an empty body.


    ## Errors


    Errors return `{ "error": "", "message": "" }` with a matching HTTP status, including an unknown route (`404 not_found`) and a server fault (`500 internal_error`). `error` is a stable snake_case code; `message` is for humans and may change. Some errors include additional context fields. A feature that is not set up on this deployment answers `503 not_configured`; a malformed answer from an upstream provider answers `502 upstream_error`.


    ## Request ids


    Every response carries an `X-Request-Id` header. Quote it when contacting support about a specific request.


    ## Rate limiting


    Requests are rate limited per API key, per minute, with a ceiling set by the plan behind the key. Every response carries `X-RateLimit-Limit`, `X-RateLimit-Remaining` and `X-RateLimit-Reset`; exceeding the limit returns `429` with error code `too_many_requests`, a `retry_after` field and a `Retry-After` header. Mutating endpoints additionally require an active subscription and return `403` with error code `subscription_required` without one.


    ## Pagination


    Offset-paged lists accept `page` and `per_page` (1 to 100) and return `meta: { page, per_page, total, total_pages }`. Cursor-paged lists return `meta: { next_cursor, has_more }`; pass `next_cursor` back in the cursor parameter the operation documents until `has_more` is false. Lists that do not paginate return `{ "data": [...] }` with no `meta`.'
  contact:
    name: FoPost Support
    url: https://fopost.com/contact
  license:
    name: Proprietary
    url: https://fopost.com/terms
servers:
- url: https://api.fopost.com
  description: Production
security:
- ApiKeyAuth: []
- BearerAuth: []
- OAuth2: []
tags:


# --- truncated at 32 KB (75 KB total) ---
# Full source: https://artifacts.apis.io/fopost-com/openapi/fopost-com-whats-app-api-openapi.yml