CMS Development

silvacarl
Member

POST /cms/v3/pages/site-pages minimum number or required parameters?

SOLVE

Does anyone have an example of the minimum number or required parameters for POST /cms/v3/pages/site-pages?  or for POST/cms/v3/pages/site-pages/batch/create?

 

We want to prepopulate a site for a client with pages based on a sitemap they created so they can then fill in the content, etc.

 

Any assistance is greatly appreciated!

1 Accepted solution
RomanGruit
Solution
Top Contributor

POST /cms/v3/pages/site-pages minimum number or required parameters?

SOLVE

Hey there. Thanks, @dennisedson, and great question @silvacarl !

The bare minimum for cms/v3/pages/site-pages endpoint is to send one parameter - name.
Like that

{
"name": "Products"
}


Hope that's helpful. Feel free to reach out with any other questions!
Roman

View solution in original post

4 Replies 4
silvacarl
Member

POST /cms/v3/pages/site-pages minimum number or required parameters?

SOLVE

perfect will try it out.  thx!!

RomanGruit
Solution
Top Contributor

POST /cms/v3/pages/site-pages minimum number or required parameters?

SOLVE

Hey there. Thanks, @dennisedson, and great question @silvacarl !

The bare minimum for cms/v3/pages/site-pages endpoint is to send one parameter - name.
Like that

{
"name": "Products"
}


Hope that's helpful. Feel free to reach out with any other questions!
Roman

JamesCarr
Member

POST /cms/v3/pages/site-pages minimum number or required parameters?

SOLVE

It would be cool to see what it takes to just put a simple "Hello World" on the page too. And then, using templates. 

 

I cannot find any good examples so it makes it challenging. 

0 Upvotes
dennisedson
HubSpot Product Team
HubSpot Product Team

POST /cms/v3/pages/site-pages minimum number or required parameters?

SOLVE

@RomanGruit knows a thing or two about the cms API endpoints.  Maybe he can help out here!


Join us on March 27th at 12 PM for the Digital Essentials Lab, an interactive session designed to redefine your digital strategy!
Engage with expert Jourdan Guyton to gain actionable insights, participate in live Q&A, and learn strategies to boost your business success.
Don't miss this opportunity to connect and grow—reserve your spot today!