Create a list
Adds a list to the board. name is required (at most 80 characters).
Without placement the list goes to the end.
Requires the board:list:write scope.
Authorization
Parameters
Path parameters
boardIDstring requiredThe board's ID.
Request body required
namestring requiredplacementPlacementShow Placement properties
afterstringThe ID of the item it should follow. Empty means the top.beforestringThe ID of the item it should precede. Empty means the bottom.tostringAn end of the list. Any other value is ignored.
Responses
201
The list was created.
dataobjectlistListShow List properties
idstringboard_idstringnamestringis_review_listbooleanis_done_listbooleancelebrationCelebrationcreated_bystringcreated_atstring (date-time)updated_atstring (date-time)cardsarray of CardThe first page of the list's cards.Show Card properties
idstringboard_idstringlist_idstringnumberintegerThe card's number on its board, from 1. With the board'scard_prefixit is the card's reference.titlestringdescriptionstringcolorstringA hex colour, or""for none.due_atstring (date-time)Absent when the card has no due date.reviewReviewShow Review properties
statestringapproved_bystringapproved_atstring (date-time)
completed_atstring (date-time)When the card entered a done list. Absent while it is not in one.created_bystringcreated_atstring (date-time)updated_atstring (date-time)versionintegerGoes up by one on every edit of the title or description.assignee_idsarray of string | nullWho the card is on. Filled in when a board or list is read;nullwhen one card is read on its own.label_idsarray of string | nullThe labels the card carries. Filled in when a board or list is read;nullwhen one card is read on its own.
card_countintegerHow many cards the list holds, under the filters.has_moreboolean
400
The body is not JSON for this endpoint, or carries a field it does not
know (INVALID_BODY), or a field breaks a rule (VALIDATION_ERROR;
the message says which).
errorobject requiredcodestring requiredmessagestring requiredrequest_idstring
401
No API key was sent, or it is unknown, revoked or expired (UNAUTHORIZED).
errorobject requiredcodestring requiredmessagestring requiredrequest_idstring
403
The key lacks the scope this endpoint needs (FORBIDDEN).
errorobject requiredcodestring requiredmessagestring requiredrequest_idstring
404
It does not exist, or it is on a board the caller cannot see (NOT_FOUND).
errorobject requiredcodestring requiredmessagestring requiredrequest_idstring
409
The neighbours named in placement are no longer next to each other (STALE_PLACEMENT). Read the board again and retry.
errorobject requiredcodestring requiredmessagestring requiredrequest_idstring
429
Too many requests (RATE_LIMITED). Wait for Retry-After seconds.
Retry-AfterintegerSeconds to wait before retrying.
errorobject requiredcodestring requiredmessagestring requiredrequest_idstring
500
Something went wrong on EvoHub's side (INTERNAL_ERROR). Retry later.
errorobject requiredcodestring requiredmessagestring requiredrequest_idstring
Example request
curl -X POST 'https://evohub.io/api/v1/board/boards/brd_5b0c8e1a2f3d4c6b9a7e0d1f2c3b4a59/lists' \
-H 'Content-Type: application/json' \
-H 'Authorization: Bearer <TOKEN>' \
-d '{
"name": "Blocked",
"placement": {
"after": "lst_2b3c4d5e6f7a48b9c0d1e2f3a4b5c6d7"
}
}'
