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
| Parameter | Type | Required | Description |
|---|---|---|---|
card_id | string | Yes | Card ID. |
text | string | Yes | Comment 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
| Parameter | Type | Required | Description |
|---|---|---|---|
list_id | string | Yes | List ID. |
name | string | Yes | Card name. |
description | string | No | Card description. |
due | string | No | Due date. |
label_ids | array | No | Label 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
| Parameter | Type | Required | Description |
|---|---|---|---|
card_id | string | Yes | Card ID. |
name | string | Yes | Checklist 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
| Parameter | Type | Required | Description |
|---|---|---|---|
board_id | string | Yes | Board ID. |
Response
{
"lists": [
{
"id": "5e8b9d1234567890abcdef02",
"idBoard": "5e8b9d1234567890abcdef01",
"name": "To Do"
}
]
}Move a card
Move a Trello card to a different list.
Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
card_id | string | Yes | Card ID. |
list_id | string | Yes | Destination 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
| Parameter | Type | Required | Description |
|---|---|---|---|
card_id | string | Yes | Card ID. |
name | string | No | Card name. |
description | string | No | Card description. |
due | string | No | Due date. |
Response
{
"card": {
"desc": "Updated task description",
"due": "2025-02-01T12:00:00.000Z",
"id": "5e8b9d1234567890abcdef03",
"name": "Updated Task Name"
}
}