Organizations API
Create a project
POST
Needs the project create permission in the organization (owners and admins). Counts against the plan's project limit (403) and needs an active plan on hosted installations (402). Returns 403 with code ORG_PENDING_DELETION while the organization is pending deletion. Requires an interactive browser session; project-scoped CLI tokens receive 403.
sessionCookiecookie
better-auth.session_token<token>Interactive Better Auth browser session. Secure deployments may use the __Secure- cookie prefix.
application/json- body
name*stringLength
1 <= length <= 255slug?|Length
length <= 100description?|Length
length <= 2000organizationId?stringDefaults to the active organization.
Project created
application/json- response
success?booleandata?curl -X POST 'https://app.supercheck.io/api/projects' \ -H 'Content-Type: application/json' \ -d '{ "name": "string"}'Example Response
{ "success": true, "data": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "name": "string", "slug": "string", "description": "string", "organizationId": "string", "isDefault": true, "status": "string", "createdAt": "2019-08-24T14:15:22Z", "updatedAt": "2019-08-24T14:15:22Z", "role": "string" }}