POST
/
api
/
v1
/
createList
Create a new List in a specified Space
curl --request POST \
  --url https://hero.page/api/v1/createList \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "spaceId": "<string>",
  "name": "<string>",
  "color": "<string>"
}'
{
  "id": "<string>",
  "page": {
    "name": "<string>",
    "color": "<string>",
    "spaceID": "<string>",
    "sortIndex": 123,
    "createdAt": "2023-11-07T05:31:56Z",
    "workflow_type": "<string>"
  }
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
spaceId
string
required

The ID of the space

name
string
required

The name of the list

color
string
required

The color code for the list

Response

List created successfully

id
string
page
object