cURL
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>" } }
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
List created successfully
The response is of type object.
object