POST
/
api
/
v1
/
createList
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
headerrequired

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

201 - application/json
id
string
page
object