WordPress · Example Payload

Wordpress Media Item Example

CMSContent ManagementOpen SourceWordPress

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

Top-level fields

iddatestatustypemime_typetitlealt_textsource_urlmedia_typemedia_details

Example Payload

Raw ↑
{
  "id": 45,
  "date": "2026-03-10T09:00:00",
  "status": "inherit",
  "type": "attachment",
  "mime_type": "image/jpeg",
  "title": {
    "rendered": "Sample Title"
  },
  "alt_text": "A sample photo",
  "source_url": "https://example.com/wp-content/uploads/2026/03/photo.jpg",
  "media_type": "image",
  "media_details": {
    "width": 1920,
    "height": 1080,
    "file": "2026/03/photo.jpg"
  }
}