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
Community Manager
Community Manager

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

 

Thanks,

Dennis




HubSpot Community Developer ShowMake sure to subscribe to our YouTube channel
where you can find the HubSpot Community Developer Show

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
Community Manager
Community Manager

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

 

Thanks,

Dennis




HubSpot Community Developer ShowMake sure to subscribe to our YouTube channel
where you can find the HubSpot Community Developer Show
0 Upvotes