Supercheck LogoSupercheck
Organizations API

Create a project

POST
/api/projects

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.

Authorization

sessionCookie
cookiebetter-auth.session_token<token>

Interactive Better Auth browser session. Secure deployments may use the __Secure- cookie prefix.

Request Body

application/json
  1. body
name*string
Length1 <= length <= 255
slug?|
Lengthlength <= 100
description?|
Lengthlength <= 2000
organizationId?string

Defaults to the active organization.

Response Body

Project created

application/json
  1. response
success?boolean
data?
Example Request
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"  }}