APIOnboarding
Ensure the default project
Create the organization's default project unless it already has an active one, and return whichever applies. Atomic per organization, so concurrent onboarding surfaces cannot create duplicates. Requires settings write permission.
POST https://api.sazabi.com/v1/onboarding/ensure-default-project
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
curl -X POST "https://example.com/onboarding/ensure-default-project" \ -H "Content-Type: application/json" \ -d '{}'{ "project": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "organizationId": "string", "name": "string", "region": "us-east-1" }, "created": true}