Skip to main content
POST
/
api
/
v1
/
projects
Create project
curl --request POST \
  --url https://api.dualship.run/api/v1/projects \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --header 'X-Workspace-Id: <x-workspace-id>' \
  --data '
{
  "name": "<string>",
  "slug": "<string>",
  "description": "<string>"
}
'
{
  "created_at": "2024-01-15T10:30:00Z",
  "description": "API backend for mobile app",
  "id": "550e8400-e29b-41d4-a716-446655440000",
  "name": "My API Project",
  "organization_id": "550e8400-e29b-41d4-a716-446655440001",
  "slug": "my-api-project",
  "status": "active",
  "updated_at": "2024-01-15T10:30:00Z"
}

Authorizations

Authorization
string
header
required

JWT Bearer token authentication

Headers

X-Workspace-Id
string
required

Workspace ID

Body

application/json

Project details

name
string
required
Required string length: 2 - 100
slug
string
required
Required string length: 2 - 50
description
string
Maximum string length: 500

Response

Project created

Project information

created_at
string
Example:

"2024-01-15T10:30:00Z"

description
string
Example:

"API backend for mobile app"

id
string
Example:

"550e8400-e29b-41d4-a716-446655440000"

name
string
Example:

"My API Project"

organization_id
string
Example:

"550e8400-e29b-41d4-a716-446655440001"

slug
string
Example:

"my-api-project"

status
string
Example:

"active"

updated_at
string
Example:

"2024-01-15T10:30:00Z"