Add a page to a siteCopy Pagepost https://{endpoint}/v1/b2b/content/sites/{siteId}/pageThis API allows us to add a page to a sitePath ParamssiteIdstringrequiredThe ID of the site to add a page toQuery ParamsactionstringenumrequiredThe action to perform on the pagepublishsaveDraftAllowed:publishsaveDraftBody ParamscontentSubTypestringenumrequiredType of content being creatednewsknowledgeAllowed:newsknowledgelistOfFilesarray of objectsArray of file attachmentslistOfFilesADD objectpublishAtdate-timeDate and time when the content should be published (required when publishingStatus is 'schedule'). Must be in ISO 8601 UTC format (e.g. 2025-04-09T18:30:00.000Z)publishTodate-time | nullDate and time when the content should expire/unpublish. Must be in ISO 8601 UTC formatbodyHtmlstringrequiredMain content of the page in HTML formatpublishingStatusstringenumrequiredPublishing status of the contentimmediatescheduleAllowed:immediatescheduleimgLayoutstringenumLayout style for the featured imagesmallfullscreenhiddenwideAllowed:smallfullscreenhiddenwideimgCaptionstring | nullCaption for the featured imageimgLandscapeFileuuid | nullUUID of the landscape image fileimgFileuuid | nullUUID of the main image fileimgOriginalFileuuid | nullUUID of the original image fileimgLandscapestring | nullURL of the landscape imagetitlestringrequiredlength ≤ 255Title of the pageisMaximumWidthbooleanWhether to use maximum width layouttruefalseisFeedEnabledbooleanWhether the page appears in feedstruefalseisQuestionAnswerEnabledbooleanWhether question and answer feature is enabledtruefalselistOfTopicsarray of objects | nullArray of topics associated with the pagelistOfTopicsADD objectcategoryobjectrequiredCategory information for the pagecategory objectsummarystring | nullSummary of the page contentlanguagestringLanguage of the contentmanualTransEnabledbooleanWhether manual translation is enabledtruefalsecreatedByuuidrequiredUUID of the user creating the pageisRestrictedbooleanWhether the content is restricted to specific audiencestruefalsetargetAudiencearray of uuidsList of UUIDs identifying the target audiencestargetAudienceADD uuidResponses 200Success 400Error 401Authorize error 403Forbidden errorUpdated 8 days ago