Posts API Reference

WordPress-like content API for managing posts, pages and custom post types programmatically.

Base URL
https://wapify.me/api/team/posts

This endpoint uses team token authentication.

Authentication
Authorization: Bearer YOUR_API_TOKEN
List posts
curl -X GET "https://wapify.me/api/team/posts?post_type=post&post_status=publish&per_page=10" \
  -H "Authorization: Bearer YOUR_API_TOKEN"

Filters: post_type, post_status, slug, parent, term, search, page, per_page.

Get a single post
curl -X GET "https://wapify.me/api/team/posts/123" \
  -H "Authorization: Bearer YOUR_API_TOKEN"
Create a post
curl -X POST "https://wapify.me/api/team/posts" \
  -H "Authorization: Bearer YOUR_API_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
    "post_type": "post",
    "post_title": "Hello world",
    "post_content": "

My first post

", "post_status": "publish", "terms": [1, 2], "meta": {"_humano_subtitle_en": "Subtitle"} }'
Public read-only API

Anonymous access (no token) for teams that enabled cms_public_enabled:

curl -X GET "https://wapify.me/api/public/your-team-slug/posts?post_type=post"
curl -X GET "https://wapify.me/api/public/your-team-slug/posts/page/about-us"