Skip to content

Add a page to an issue

POST
/cms/print/v2/issues/{id}/subpages
curl --request POST \
--url https://api.example.com/cms/print/v2/issues/1/subpages \
--header 'API-Key: <API-Key>' \
--header 'Content-Type: application/json' \
--header 'Token-User: <Token-User>' \
--data '{ "number": "example", "name": "example", "templateId": 1 }'

A new draft page laid out with one of the publication’s templates: the template’s file is the page’s first layout revision. number is free text as in the CMS (“4”, or “4-5” for two pages in one file); pages are ordered by it.

id
required
integer
Media typeapplication/json
object
number
required
string
name
string
templateId
required
integer

Example generated

{
"number": "example",
"name": "example",
"templateId": 1
}

The new page, as in the issue snapshot