sites
Create Site
Creates a new site by creating a create_site workflow with deploy_product parameter. This triggers a single workflow that creates the site and deploys the specified upstream.
post/v0/sites
Request body
Example request
{
"label": "My Awesome Site",
"organization_id": "org-uuid-123",
"region": "us-east-1",
"site_name": "my-awesome-site",
"upstream_id": "e8fe8550-1ab9-4964-8838-2b9abdccf4bf"
}Response
Example response
{
"active_description": "Starting workflow",
"created_at": 1234567890,
"id": "12345678-90ab-cdef-1234-567890abcdef",
"number_of_tasks": 5,
"type": "add_site_user_membership"
}