cURL
curl --request POST \ --url https://api.polpo.sh/v1/projects \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "orgId": "550e8400-e29b-41d4-a716-446655440000", "name": "My Project", "slug": "my-project" } '
{ "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "orgId": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "name": "<string>", "slug": "<string>", "status": "active", "createdAt": "<string>", "updatedAt": "<string>" }
Session token from Better Auth
"550e8400-e29b-41d4-a716-446655440000"
1 - 100
"My Project"
1 - 50
^[a-z0-9-]+$
"my-project"
Project created
active
suspended
deleted