Lodol Docs

Trello

API actions for the Trello integration.

Trello

Manage Trello boards, lists, and cards with an API key and token.


Add a card comment

Add a text comment to a Trello card.

Parameters

ParameterTypeRequiredDescription
card_idstringYesCard ID.
textstringYesComment text.

Response

{
  "comment": {
    "data": {
      "text": "This is a comment on the card"
    },
    "id": "5e8b9d1234567890abcdef05",
    "type": "commentCard"
  }
}

Create a card

Create a new Trello card in a list with optional description, due date, and labels.

Parameters

ParameterTypeRequiredDescription
list_idstringYesList ID.
namestringYesCard name.
descriptionstringNoCard description.
duestringNoDue date.
label_idsarrayNoLabel IDs.

Response

{
  "card": {
    "id": "5e8b9d1234567890abcdef03",
    "idList": "5e8b9d1234567890abcdef02",
    "name": "New Task",
    "url": "https://trello.com/c/xyz789/new-task"
  }
}

Create a checklist

Create a new checklist on a Trello card.

Parameters

ParameterTypeRequiredDescription
card_idstringYesCard ID.
namestringYesChecklist name.

Response

{
  "checklist": {
    "id": "5e8b9d1234567890abcdef06",
    "idCard": "5e8b9d1234567890abcdef03",
    "name": "Tasks Checklist"
  }
}

List boards

Retrieve all open Trello boards for the authenticated user.

Response

{
  "boards": [
    {
      "id": "5e8b9d1234567890abcdef01",
      "name": "My Project Board",
      "url": "https://trello.com/b/abc123/my-project-board"
    }
  ]
}

List lists on a board

Retrieve lists for a given Trello board.

Parameters

ParameterTypeRequiredDescription
board_idstringYesBoard ID.

Response

{
  "lists": [
    {
      "id": "5e8b9d1234567890abcdef02",
      "idBoard": "5e8b9d1234567890abcdef01",
      "name": "To Do"
    }
  ]
}

Move a card

Move a Trello card to a different list.

Parameters

ParameterTypeRequiredDescription
card_idstringYesCard ID.
list_idstringYesDestination list ID.

Response

{
  "card": {
    "id": "5e8b9d1234567890abcdef03",
    "idList": "5e8b9d1234567890abcdef04",
    "name": "Task Name"
  }
}

Update a card

Update card name, description, or due date for an existing Trello card.

Parameters

ParameterTypeRequiredDescription
card_idstringYesCard ID.
namestringNoCard name.
descriptionstringNoCard description.
duestringNoDue date.

Response

{
  "card": {
    "desc": "Updated task description",
    "due": "2025-02-01T12:00:00.000Z",
    "id": "5e8b9d1234567890abcdef03",
    "name": "Updated Task Name"
  }
}

On this page