POST
/
company
/
projects
curl --request POST \
  --url https://api.altera.co/company/projects \
  --header 'Authorization: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '{
  "tagId": 1,
  "name": "Marketing",
  "enabled": false,
  "color": 4286963618
}'
{
  "result": "OK",
  "data": [
    {
      "tagId": 1,
      "name": "Marketing",
      "color": 4286963618,
      "enabled": false
    },
    {
      "tagId": 2,
      "name": "IT",
      "color": 4294933887,
      "enabled": false
    },
    {
      "tagId": 3,
      "name": "new",
      "color": 4281667055,
      "enabled": true
    },
    {
      "tagId": 4,
      "name": "new 2",
      "color": 4281667055,
      "enabled": true
    },
    {
      "tagId": 5,
      "name": "new3",
      "color": 4284816155,
      "enabled": true
    },
    {
      "tagId": 9,
      "name": "Testttt",
      "color": 4281954268,
      "enabled": true
    },
    {
      "tagId": 10,
      "name": "Nowy test",
      "color": 4278430196,
      "enabled": true
    },
    {
      "tagId": 11,
      "name": "Test 2",
      "color": 4288423856,
      "enabled": true
    },
    {
      "tagId": 12,
      "name": "Haha test 3",
      "color": 4288423856,
      "enabled": true
    },
    {
      "tagId": 23,
      "name": "Analfabeta",
      "color": 4293467747,
      "enabled": true
    },
    {
      "tagId": 26,
      "name": "Test odświeżania",
      "color": 4280391411,
      "enabled": true
    },
    {
      "tagId": 27,
      "name": "Test odświeżania 2",
      "color": 4284513675,
      "enabled": true
    },
    {
      "tagId": 28,
      "name": "Test odświeżania 3",
      "color": 4280391411,
      "enabled": true
    },
    {
      "tagId": 161,
      "name": "Bardzo długa nazwa projektu",
      "color": 4294961979,
      "enabled": true
    }
  ]
}

Authorizations

Authorization
string
header
required

OpenApi Key created within Altera.app for a certain company

Body

application/json

Response

200 - application/json

OK

The response is of type object.