cURL
curl --request POST \ --url https://api.tryarchitect.com/v0/page_groups/{page_group_id}/pages/{page_id}/versions \ --header 'Content-Type: application/json' \ --data '{ "operationKey": "<string>" }'
{ "createdAt": "<string>", "id": "<string>", "status": "pending", "versionNumber": 123 }
Create a new version of the specified page with automatic type-safe Zod validation
page_group_id parameter
page_id parameter
PageVersion created successfully
pending
queued
processing
draft
published
archived
cancelled
Was this page helpful?