WordPress · Example Payload

Wordpress Post Example

12

Wordpress Post Example is an example object payload from WordPress, with 20 top-level fields. It illustrates the shape of data this provider's APIs accept or return.

Top-level fields

iddatedate_gmtmodifiedslugstatustypelinktitlecontentexcerptauthorfeatured_mediacomment_statusping_statusstickytemplateformatcategoriestags

Example Payload

Raw ↑
{
  "id": 123,
  "date": "2026-04-15T10:30:00",
  "date_gmt": "2026-04-15T10:30:00",
  "modified": "2026-04-20T14:00:00",
  "slug": "my-first-wordpress-post",
  "status": "publish",
  "type": "post",
  "link": "https://example.com/2026/04/my-first-post/",
  "title": {
    "rendered": "Sample Title"
  },
  "content": {
    "rendered": "<p>Sample content.</p>",
    "protected": false
  },
  "excerpt": {
    "rendered": "<p>Sample excerpt.</p>",
    "protected": false
  },
  "author": 1,
  "featured_media": 45,
  "comment_status": "open",
  "ping_status": "open",
  "sticky": false,
  "template": "",
  "format": "standard",
  "categories": [
    1
  ],
  "tags": [
    12
  ]
}