Skip to main content
POST
/
api
/
v1
/
projects
Criar projeto
curl --request POST \
  --url https://app.switchkanban.com.br/api/v1/projects \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "project": {
    "name": "Novo nome do projeto",
    "color": "#FF5733",
    "client_name": "Novo nome do cliente",
    "has_kanban": true,
    "scope": "Fixed",
    "start_period": "2025-01-15",
    "end_period": "2025-06-15",
    "number_of_hours_per_sprint": 80,
    "number_of_sprints": 10,
    "cost_cents": 500000
  }
}
'
{
  "data": {
    "id": 123,
    "name": "<string>",
    "color": "<string>",
    "client_name": "<string>",
    "has_kanban": true,
    "scope": "fixed",
    "cost_cents": 123,
    "start_period": "<string>",
    "end_period": "<string>",
    "number_of_hours_per_sprint": 123,
    "number_of_sprints": 123,
    "discarded_at": "<string>"
  }
}

Authorizations

Authorization
string
header
required

API token no formato Bearer. Exemplo: Bearer YOUR_API_TOKEN

Body

application/json
project
object
required

Response

Project created successfully

data
object
required