CMS Development

silvacarl
Member

parameters for POST /cms/v3/pages/site-pages/batch/read

SOLVE

does anyone know what the format or inputs are for this:

 

--data '{ "inputs": [ "string" ] ????

 

curl --request POST \
--url 'https://api.hubapi.com/cms/v3/pages/site-pages/batch/read?hapikey=xxx' \
--header 'content-type: application/json' \
--data '{
"inputs": [
"string"
]
}'

0 Upvotes
1 Accepted solution
dennisedson
Solution
HubSpot Product Team
HubSpot Product Team

parameters for POST /cms/v3/pages/site-pages/batch/read

SOLVE

@silvacarl 

You would insert the ids of the pages in question.

{
  "inputs": [
    "52294274345",
    "52220902567"
  ]
}

eg

 

View solution in original post

0 Upvotes
2 Replies 2
silvacarl
Member

parameters for POST /cms/v3/pages/site-pages/batch/read

SOLVE

very cool will check it out!

dennisedson
Solution
HubSpot Product Team
HubSpot Product Team

parameters for POST /cms/v3/pages/site-pages/batch/read

SOLVE

@silvacarl 

You would insert the ids of the pages in question.

{
  "inputs": [
    "52294274345",
    "52220902567"
  ]
}

eg

 

0 Upvotes