v1

latestOpenAPI 3.1.02026-07-2665153355.3 KB
Portal Content

Get Content

Retrieves a list of all content items.

get/v1/portal-content

Headers

x-publisher-tokenstring required

Publisher token.

Response

Content retrieved successfully.

Example response

{
  "items": [
    {
      "id": "507f1f77bcf86cd799439011",
      "title": "Welcome to Our Game",
      "subTitle": "Everything you need to know",
      "bodyText": "This is the main content body with detailed information...",
      "headerImage": "https://cdn.example.com/images/header.jpg",
      "thumbnailImage": "https://media.appcharge.com/media/25cb4861ec8924a6b69a0f59/book-shelf1920.jpg",
      "labels": [
        "tutorial",
        "beginner"
      ],
      "state": "hidden",
      "contentType": "article",
      "publishDate": "2025-10-20T00:00:00.000Z",
      "slug": "welcome-to-our-game",
      "visibility": "public",
      "tag": "spring2025",
      "createdAt": "2025-10-15T10:30:00.000Z",
      "updatedAt": "2025-10-19T14:20:00.000Z",
      "pages": [
        {
          "id": "68b0249eb5bd5c59b9bab7e2",
          "pageName": "FAQs"
        },
        {
          "id": "692eb70d0293e07ab4895518",
          "pageName": "Events"
        }
      ]
    }
  ]
}