Skip to main content
POST
/
v0
/
page_groups
/
{page_group_id}
/
pages
Create a new page in a page group
curl --request POST \
  --url https://api.tryarchitect.com/v0/page_groups/{page_group_id}/pages \
  --header 'Content-Type: application/json' \
  --data '{
  "pageTemplateId": "pagetemplate_01j5k9m7n8p9q2r3s4t5v6w7x8",
  "supplementaryContext": "Target enterprise buyers. Emphasize security, compliance, and ROI."
}'
{
  "createdAt": "2023-11-07T05:31:56Z",
  "pageGroupId": "page_01j5k9m7n8p9q2r3s4t5v6w7x8",
  "pageId": "pagevar_01j5k9m7n8p9q2r3s4t5v6w7x8",
  "pageTemplateId": "pagetemplate_01j5k9m7n8p9q2r3s4t5v6w7x8",
  "supplementaryContext": "Target enterprise buyers. Emphasize security, compliance, and ROI.",
  "tenantId": "tenant_01j5k9m7n8p9q2r3s4t5v6w7x8"
}

Path Parameters

page_group_id
string
required

page_group_id parameter

Body

application/json
pageTemplateId
string
Examples:

"pagetemplate_01j5k9m7n8p9q2r3s4t5v6w7x8"

supplementaryContext
string

Optional supplementary context added to page group context

Minimum length: 1
Examples:

"Target enterprise buyers. Emphasize security, compliance, and ROI."

Response

201 - application/json

PageToGroup created successfully

createdAt
string<date-time>
required
pageGroupId
string
required

TypeID string identifier for the page group, always starts with "page_"

Examples:

"page_01j5k9m7n8p9q2r3s4t5v6w7x8"

pageId
string
required

TypeID string identifier for the newly created page

Examples:

"pagevar_01j5k9m7n8p9q2r3s4t5v6w7x8"

pageTemplateId
string | null
required
Examples:

"pagetemplate_01j5k9m7n8p9q2r3s4t5v6w7x8"

tenantId
string
required

TypeID string identifier for the tenant this page group belongs to

Examples:

"tenant_01j5k9m7n8p9q2r3s4t5v6w7x8"

supplementaryContext
string | null

Optional supplementary context added to page group context

Minimum length: 1
Examples:

"Target enterprise buyers. Emphasize security, compliance, and ROI."