Hosting site page widget
post/hosting/sites/{id}/pages/{page}/widgets
Place a widget block (form, newsletter, reviews, ratings, booking, buy button, cookie consent, language switcher, chat) on a page. The answer says whether the widget is live yet.
Before you call
- Credential
Authorization: Bearer $KEY- Scope
hosting:write- Mcp
rivier_site_widget_place- Graphql
Mutation.hostingSitePageWidget- Sdk
hosting.sitePage.widget- Cli
hosting site page widget
Parameters
- idstring (uuid)requiredIn the path
- pagestring (uuid)requiredIn the path
Request bodyapplication/json, required
- baseintegerrequiredAt least 0.
- widgetstringrequiredAt most 40 characters.
- parentstring or null
- slotstringAt most 24 characters.
- indexintegerAt least 0.
- idstringAt most 40 characters.
- propsobject
- bindingsobject
- notestringAt most 300 characters.
Responses
- 200application/jsonSuccess
- 400application/jsonThe request was malformed
- errorstringrequired
- messagestring
- 401application/jsonNo valid credential
- errorstringrequired
- messagestring
- 403application/jsonThe credential lacks the scope, origin or address
- errorstringrequired
- messagestring
- 429application/jsonOver the key's rate limit; see Retry-After
- errorstringrequired
- messagestring