local BoardID = 'w0j1CQz2'
local ListID = ListsAPI:GetListID(BoardID, 'Example List')
local CardName = 'Example Card'
local ExtraData = {
Description = 'Example Description',
Labels = {'Label1', 'Label2', 'Label3'}
}
--[[
@param CardName string -- The name of the card.
@param ListID string -- The list's ID.
@param ExtraData array -- Extra data to add to the card.
@return table or false -- Returns a table of all cards, or false if fails.
--]]
local Card = CardsAPI:CreateCard(CardName, ListID, ExtraData)
print(Card.name)