Skip to main content
POST
/
project
Create a project
curl --request POST \
  --url https://app.myhero.so/project \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "name": "<string>",
  "workspaceId": "<string>",
  "orgId": "<string>",
  "reference": "<string>",
  "description": "<string>"
}
'
{
  "data": {
    "_id": "<string>",
    "userId": "<string>",
    "workspaceId": "<string>",
    "name": "<string>",
    "createdAt": 123,
    "updatedAt": 123,
    "originId": "<string>",
    "icon": {
      "name": "<string>",
      "color": "<string>"
    },
    "emoji": {
      "unified": "<string>",
      "emojiStyle": "<string>"
    },
    "reference": "<string>",
    "description": "<string>",
    "published": [
      {
        "slug": "<string>",
        "domain": "<string>",
        "homepage": "<string>",
        "password": "<string>",
        "disabled": true
      }
    ],
    "publishedBranding": {
      "company": {
        "name": "<string>",
        "logo": "<string>",
        "url": "<string>"
      },
      "callToAction": {
        "icon": {
          "name": "<string>",
          "color": "<string>"
        },
        "text": "<string>",
        "url": "<string>"
      }
    }
  }
}

Authorizations

Authorization
string
header
required

HERO personal access token

Body

application/json
name
string
required
Minimum string length: 1
workspaceId
string
required
Minimum string length: 1
orgId
string
required
Minimum string length: 1
reference
string
description
string

Response

200 response

data
object
required