Create a site with a generated address under the platform domain
post/hosting/sites
Before you call
- Credential
Authorization: Bearer $KEY- Scope
hosting:write- Mcp
rivier_hosting_site_create- Graphql
Mutation.hostingSiteCreate- Sdk
hosting.site.create- Cli
hosting site create- Events
hosting.site.created
Request bodyapplication/json, required
- namestringrequiredAt most 120 characters.
- slugstringrequiredAt most 16 characters.
- tierstringrequiredOne of: static, next.
- regionstringAt most 24 characters.
Responses
- 201application/jsonSuccess
- idstring (uuid)required
- slugstringrequired
- namestringrequired
- tierstringrequiredOne of: static, next.
- statestringrequired
- hoststringrequired
- productionDeploymentIdstring (uuid) or nullrequired
- retainedUntilstring or nullrequired
- regionstring
- createdAtstringrequired
- updatedAtstringrequired
- 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