Trello Developer

Trello Developer

Last updatedFeb 20, 2020

Rate this page:

Understanding Nested Resources

The Trello API provides a number of ways to access data throughout Trello. Because of the nested nature of the Trello experience (cards are in lists that are in boards), a number of resources are accessible as nested entities. Additionally, the API allows you to get at nested resources as URL parameters as well as query parameters.

For instance, if you wanted to get all of the cards for a board you could use: https://api.trello.com/1/boards/{boardId}/cards or https://api.trello.com/1/boards/{boardId}/?cards=all

Because a lot of the fields and values are duplicative, we've included a section of documentation for each resource that outlines how it can be accessed as a nested resource either via the URL or a query parameter.

A number of the parameters accept a comma-seperated list of fields for the given object. You should refer to the

Actions Nested Resource

Actions are often included as nested resources within the Trello API. Their highly-nested nature is due to the fact that actions are created within the context of other resources. For instance, when a user adds another user to a board, Trello creates an addMemberToBoard action that references the board. Therefore, it makes sense to be able to access all of the actions within the context of an object from which they were created.

Nested Actions with Query Params

ParameterValid ValuesDefaultDescription
actions_entities booleantrue, falsefalseBoolean to return actions' entities or not.
actions_display booleantrue, falsefalseBoolean to return actions' display or not.
actions_format stringOne of: count, list, or minimallistThe format that actions should be returned in.
actions_since stringISO Datetime or Mongo IDnoneThe maximum date for when the actions were created. For more information on using since to page responses.
actions_limit integernumberInRange 0,100050The number of action objects to be returned.
action_fields stringComma-separated list of Action Object Fields.allA comma-separated list of Action Object Fields to be included in the returned action objects.
action_member booleantrue, falsetrueDetermines whether to return the member object for the action.
action_member_fields stringStringavatarHash, fullName, initials, usernameThe fields to be returned if the member object is being returned.
action_memberCreator booleanBooltrueDetermines whether to return the memberCreator object for the action.
action_memberCreator_fields stringavatarHash,fullName,initials,usernameThe fields to be returned if the memberCreator object is being returned.

Example Request

1
curl https://api.trello.com/1/boards/BdarzfKF/?fields=id&actions=addAttachmentToCard&actions_limit=2&action_fields=idMemberCreator&action_memberCreator_fields=fullName

And the result of the above request:

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
{
  "id": "54a17d76d4a5072e3931736b",
  "actions": [
    {
      "id": "54a1b7c3a6ea7c2b1eaa5cdf",
      "idMemberCreator": "53baf533e697a982248cd73f",
      "memberCreator": {
        "id": "53baf533e697a982248cd73f",
        "fullName": "Lauren Moon"
      }
    },
    {
      "id": "54a1b73f030916211e718516",
      "idMemberCreator": "53baf533e697a982248cd73f",
      "memberCreator": {
        "id": "53baf533e697a982248cd73f",
        "fullName": "Lauren Moon"
      }
    }
  ]
}

Nested Actions via URL Params

/object/{id}/actions

KeyValue
entities booleanDefault: false
display booleanDefault: false
filter stringDefault: commentCard, updateCard:idList
fields stringDefault: all
all or a comma-separated list of:
- data
- date
- idMemberCreator
- type
limit integerDefault: 50
0 - 1000
format stringDefault: list
One of: count, list, minimal
since dateISO-Formatted Date (2017-12-07T15:07:08.977Z) or MongoID (5a6029d00000000000000000)
before dateISO-Formatted Date (2017-12-07T15:07:08.977Z) or MongoID (5a6029d00000000000000000)
page integerDefault: 0
idModels stringComma-separated list of model IDs
member booleanDefault: true
member_fields stringDefault: avatarHash,fullName,initials,username
all or a comma-separated list of:
- avatarHash
- bio
- bioData
- confirmed
- fullName
- idPremOrgsAdmin
- initials
- memberType
- products
- status
- url
- username
memberCreator booleanDefault: true
memberCreator_fields stringDefault: avatarHash,fullName,initials,username
all or a comma-separated list of:
- avatarHash
- bio
- bioData
- confirmed
- fullName
- idPremOrgsAdmin
- initials
- memberType
- products
- status
- url
- username

Boards Nested Resource

Boards are accessible as nested resources via a number of other resources.

Nested Boards via Query Params

For objects that can contain multiple boards, like organizations and members

/1/{object}/{id}?boards=open

KeyValue
boardsDefault: none
all or a comma-separated list of:
- open - Returns all boards that are open.
- closed - Returns all boards that have been closed.
- members - Returns all boards that have visibility set to Private.
- organization - Returns all boards that have visibility set to Team.
- public - Returns all boards that have visibility set to Public.
- starred - Returns all boards that have been starred.
board_fieldsDefault: all
all or a comma-separated list of board fields
board_actionsall or a comma-separated list of:
- addAttachmentToCard
- addChecklistToCard
- addMemberToBoard
- addMemberToCard
- addMemberToOrganization
- addToOrganizationBoard
- commentCard
- convertToCardFromCheckItem
- copyBoard
- copyCard
- copyCommentCard
- createBoard
- createCard
- createList
- createOrganization
- deleteAttachmentFromCard
- deleteBoardInvitation
- deleteCard
- deleteOrganizationInvitation
- disablePowerUp
- emailCard
- enablePowerUp
- makeAdminOfBoard
- makeNormalMemberOfBoard
- makeNormalMemberOfOrganization
- makeObserverOfBoard
- memberJoinedTrello
- moveCardFromBoard
- moveCardToBoard
- moveListFromBoard
- moveListToBoard
- removeChecklistFromCard
- removeFromOrganizationBoard
- removeMemberFromCard
- unconfirmedBoardInvitation
- unconfirmedOrganizationInvitation
- updateBoard
- updateCard
- updateCard:closed
- updateCard:desc
- updateCard:idList
- updateCard:name
- updateCheckItemStateOnCard
- updateChecklist
- updateList
- updateList:closed
- updateList:name
- updateMember
- updateOrganization
board_actions_entitiesDefault: false
true or false
board_actions_displayDefault: false
true or false
board_actions_formatDefault: list
One of: count, list, minimal
board_actions_sinceA date, null, or lastView
board_actions_limitDefault: 50
Max: 1000
board_action_fieldsall or a comma-separated list of action fields
board_listsDefault: none
One of: all, closed, none, open

Cards Nested Resource

Cards are available as nested resources within many of the other Trello resources. Below are the parameters that are available to cards as nested resources.

Nested Cards as Query Params

Don't get confused!

Cards can be nested as query params and as URL params.

If your route looks like 1/boards/{boardId}/cards you're going to want to head down to Nested Cards as URL Params.

If your route looks like 1/boards/{boardId}?cards you're in the right spot! The parameters directly below are available to you.

ParameterOptions
cardsDefault: None
Options: one of:
- all
- closed
-none
- open - Includes cards that are open in lists that have been archived.
- visible - Only returns cards in lists that are not closed.
card_fieldsDefault: all
Options: all or a comma-separated list of card fields
card_membersDefault: false
Options: true or false
card_member_fieldsDefault: id,avatarHash,avatarUrl,initials,fullName,username,confirmed,memberType
Options: all or a comma-separated list of member fields
card_attachmentsOptions: true, false, or cover
card_attachment_fieldsDefault: url,previews
Options: all or a comma-separated list of attachment fields
card_stickersDefault: false
Options: true or false
card_modifiedSinceDefault: none
Options: ISO Timestamp (eg: 2018-08-07T17:02:24.030Z or MongoID
card_customFieldItemsDefault: false
Options: false or true to include customFieldItems in the response

Nested Cards as URL Params

Cards are also available as nested resources via URL parameters. For instance, you may want just the cards belonging to a specific resource like a list or a board; in that case you'd use the route /1/boards/{id}/cards with any of the options below as query parameters.

ParameterOptions
actionsall or a comma-separated list of:
- addAttachmentToCard
- addChecklistToCard
- addMemberToBoard
- addMemberToCard
- addMemberToOrganization
- addToOrganizationBoard
- commentCard
- convertToCardFromCheckItem
- copyBoard
- copyCard
- copyCommentCard
- createBoard
- createCard
- createList
- createOrganization
- deleteAttachmentFromCard
- deleteBoardInvitation
- deleteCard
- deleteOrganizationInvitation
- disablePowerUp
- emailCard
- enablePowerUp
- makeAdminOfBoard
- makeNormalMemberOfBoard
- makeNormalMemberOfOrganization
- makeObserverOfBoard
- memberJoinedTrello
- moveCardFromBoard
- moveCardToBoard
- moveListFromBoard
- moveListToBoard
- removeChecklistFromCard
- removeFromOrganizationBoard
- removeMemberFromCard
- unconfirmedBoardInvitation
- unconfirmedOrganizationInvitation
- updateBoard
- updateCard
- updateCard:closed
- updateCard:desc
- updateCard:idList
- updateCard:name
- updateCheckItemStateOnCard
- updateChecklist
- updateList
- updateList:closed
- updateList:name
- updateMember
- updateOrganization

Note: If you ask for actions, Trello limits the number returned to 300.
attachmentsDefault: false
Either a boolean value or cover for only cover attachments
attachment_fieldsDefault: all
all or a comma-separated list of:
- bytes
- date
- edgeColor
- idMember
- isUpload
- mimeType
- name
- previews
- url
customFieldItemsDefault: false
One of: true, false

Check out Getting Started With Custom Fields for more on Custom Fields.
stickersDefault: false
One of: true, false
membersDefault: false
One of: true, false
member_fieldsDefault: avatarHash,fullName,initials,username
all or a comma-separated list of:
- avatarHash
- bio
- bioData
- confirmed
- fullName
- idPremOrgsAdmin
- initials
- memberType
- products
- status
- url
- username
checkItemStatesDefault: false
One of: true, false
checklistsDefault: none
One of: all, none
limitA number from 1 to 1000
sortDefault: none
One of: -id
sinceA date, or null
beforeA date, or null
filterDefault: visible
One of: all, closed, none, open, visible
fieldsDefault: all
all or a comma-separated list of:
- badges
- checkItemStates
- closed
- dateLastActivity
- desc
- descData
- due
- idAttachmentCover
- idBoard
- idChecklists
- idLabels
- idList
- idMembers
- idMembersVoted
- idShort
- labels
- limits
- manualCoverAttachment
- name
- pos
- shortLink
- shortUrl
- subscribed
- url
pluginDataDefault: false
One of: true, false

Example Request

Here's an example using the cards nested resource to get the visible cards in a list:

1
curl https://api.trello.com/1/lists/560bf44ea68b16bd0fc2a9a9/cards?fields=id,name,badges,labels
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
[
  {
    "id": "560bf4dd7139286471dc009c",
    "name": "Grand Canyon National Park",
    "badges": {
      "votes": 0,
      "viewingMemberVoted": false,
      "subscribed": false,
      "fogbugz": "",
      "checkItems": 0,
      "checkItemsChecked": 0,
      "comments": 0,
      "attachments": 2,
      "description": false,
      "due": null,
      "dueComplete": false
    },
    "labels": [
      {
        "id": "560bf42919ad3a5dc29f33c5",
        "idBoard": "560bf4298b3dda300c18d09c",
        "name": "Visited",
        "color": "green"
      }
    ]
  },
  {
    "id": "560bf4e25d93437b729482e0",
    "name": "Petrified Forest National Park",
    "badges": {
      "votes": 0,
      "viewingMemberVoted": false,
      "subscribed": false,
      "fogbugz": "",
      "checkItems": 0,
      "checkItemsChecked": 0,
      "comments": 0,
      "attachments": 1,
      "description": false,
      "due": null,
      "dueComplete": false
    },
    "labels": [

    ]
  },
  {
    "id": "560bf4e5ea91d2880f5dd840",
    "name": "Saguaro National Park",
    "badges": {
      "votes": 0,
      "viewingMemberVoted": false,
      "subscribed": false,
      "fogbugz": "",
      "checkItems": 0,
      "checkItemsChecked": 0,
      "comments": 0,
      "attachments": 1,
      "description": false,
      "due": null,
      "dueComplete": false
    },
    "labels": [
      {
        "id": "560bf42919ad3a5dc29f33c5",
        "idBoard": "560bf4298b3dda300c18d09c",
        "name": "Visited",
        "color": "green"
      }
    ]
  }
]

Checklists Nested Resource

Checklists are available as nested resources within many of the other Trello resources. Below are the parameters that are available to Checklists as nested resources.

Nested Checklists as Query Params

The table below shows query params available when accessing cards as a nested resource via query params. For instance, the query params are available when you are accessing cards via: /object/{id}?checklists=all.

ParameterOptions
checklistsOne of: none or all
checklist_fieldsDefault: all
all or a comma separated list of checklist fields as documented on the Checklist Object.
checkItemsDefault: all
checkItems are always returned.
checkItem_fieldsDefault: name, nameData, pos, state
all or a comma-separated list of:
- name
- nameDat
- type
- pos
- state
- creationMethod

Example Request

Here's an example using the checklists nested resource to get all of the checklists on a board:

1
curl https://api.trello.com/1/boards/v5sRYGdh/?fields=name&checklists=all

And the response:

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
{
  "id": "544a947a60022d7de4d28187",
  "name": "Connor's 8th Birthday Bash",
  "checklists": [
    {
      "id": "544a947b60022d7de4d281f1",
      "name": "Chores",
      "idBoard": "544a947a60022d7de4d28187",
      "idCard": "544a947b60022d7de4d281aa",
      "pos": 16384,
      "checkItems": [
        {
          "idChecklist": "544a947b60022d7de4d281f1",
          "state": "incomplete",
          "id": "544a947b60022d7de4d281f2",
          "name": "Vacuum carpet",
          "nameData": null,
          "pos": 16683
        },
        {
          "idChecklist": "544a947b60022d7de4d281f1",
          "state": "incomplete",
          "id": "544a947b60022d7de4d281f3",
          "name": "Clean stove",
          "nameData": null,
          "pos": 33312
        },
        {
          "idChecklist": "544a947b60022d7de4d281f1",
          "state": "incomplete",
          "id": "544a947b60022d7de4d281f4",
          "name": "Arrange coat closet",
          "nameData": null,
          "pos": 50543
        },
        {
          "idChecklist": "544a947b60022d7de4d281f1",
          "state": "incomplete",
          "id": "544a947b60022d7de4d281f5",
          "name": "Clean out fridge",
          "nameData": null,
          "pos": 67424
        }
      ]
    }
  ]
}

Nested Checklists as URL Params

Checklists are also available as nested resources via URL parameters. For instance, you may want just the Checklists belonging to a specific resource like a list or a card; in that case you'd use the route /1/cards/{id}/checklists with any of the options below as query parameters.

URL ParameterOptions
fieldsDefault: all
all or a comma separated list of checklist fields.
cardsValues outlined in Cards Nested Resource documentation above.
filterDefault: all
One of: none or all
checkItemsDefault: all
One of: none or all
checkItem_fieldsDefault: name, nameData, pos, state
all or a comma-separated list of:
- name
- nameDat
- type
- pos
- state
- creationMethod

Example Request

Here's an example using the checklists nested resource to get all of the checklists on a board:

1
curl https://api.trello.com/1/boards/v5sRYGdh/checklists?fields=all

And the response:

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
[
  {
    "id": "544a947b60022d7de4d281f1",
    "name": "Chores",
    "idBoard": "544a947a60022d7de4d28187",
    "idCard": "544a947b60022d7de4d281aa",
    "pos": 16384,
    "limits": {
      "checkItems": {
        "perChecklist": {
          "status": "ok",
          "disableAt": 200,
          "warnAt": 180
        }
      }
    },
    "creationMethod": null,
    "checkItems": [
      {
        "idChecklist": "544a947b60022d7de4d281f1",
        "state": "incomplete",
        "id": "544a947b60022d7de4d281f2",
        "name": "Vacuum carpet",
        "nameData": null,
        "pos": 16683
      },
      {
        "idChecklist": "544a947b60022d7de4d281f1",
        "state": "incomplete",
        "id": "544a947b60022d7de4d281f3",
        "name": "Clean stove",
        "nameData": null,
        "pos": 33312
      },
      {
        "idChecklist": "544a947b60022d7de4d281f1",
        "state": "incomplete",
        "id": "544a947b60022d7de4d281f4",
        "name": "Arrange coat closet",
        "nameData": null,
        "pos": 50543
      },
      {
        "idChecklist": "544a947b60022d7de4d281f1",
        "state": "incomplete",
        "id": "544a947b60022d7de4d281f5",
        "name": "Clean out fridge",
        "nameData": null,
        "pos": 67424
      }
    ]
  }
]

Custom Fields Nested Resource

Custom fields can be included as a nested resource. The only parameter is whether to include the custom fields.

ParameterOptions
customFieldsDefault: false
true: include the custom fields.

Labels Nested Resource

Labels are often included as a nested resource in Trello. Below you will find parameters available when working with labels as nested resources.

Nested Labels as Query Params

Query ParameterDefaultValid Values
labelsnoneOne of: all or none
label_fieldsallall or a comma-seperated list of: color, idBoard, name, uses.
labels_limit50A number from 0 to 1000.

Example Request

1
curl https://api.trello.com/1/boards/kpPww9qv/?labels=all&label_fields=color&labels_limit=2&fields=id

And the response:

1
2
3
4
5
6
7
8
9
10
11
12
13
{
  "id": "543efd0c05d2a3ebc06a6534",
  "labels": [
    {
      "id": "546689ef74d650d567ffdd87",
      "color": "green"
    },
    {
      "id": "546689ef74d650d567ffdd8a",
      "color": "purple"
    }
  ]
}

Nested Labels as URL Params

URL ParameterDefaultValid Values
label_fieldsallall or a comma-seperated list of: color, idBoard, name, uses.
labels_limit50A number from 0 to 1000.

Example Request

1
https://api.trello.com/1/boards/kpPww9qv/labels/?fields=color&limit=2

And the response:

1
2
3
4
5
6
7
8
9
10
[
  {
    "id": "546689ef74d650d567ffdd87",
    "color": "green"
  },
  {
    "id": "546689ef74d650d567ffdd8a",
    "color": "purple"
  }
]

Lists Nested Resource

Lists are available as nested resources within many of the other Trello resources. Below are the parameters that are available to lists as nested resources.

Nested Lists as Query Params

The table below shows query params available when accessing lists as a nested resource via query params. For instance, the query params are available when you are accessing lists via: /object/{id}?lists=open.

Query ParameterValid ValuesDescription
lists
Default: none
One of: all, closed, none, openWhich types lists should be returned.
list_fields
Default: all
all or a comma separated list of list object fieldsWhich fields from the list object should be returned

Example Request

Here is an example of using the lists nested resource on the boards endpoint:

1
curl https://api.trello.com/1/boards/k7hfpqQm/?fields=name&lists=all&list_fields=all

And the response:

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
{
  "id": "5ac61a2e05fae550b0d45c93",
  "name": "VR Education Academic Paper Tracker",
  "lists": [
    {
      "id": "5ac61a2e05fae550b0d45c94",
      "name": "Prompts",
      "closed": false,
      "idBoard": "5ac61a2e05fae550b0d45c93",
      "pos": 98303,
      "subscribed": false,
      "limits": {
        "cards": {
          "openPerList": {
            "status": "ok",
            "disableAt": 5000,
            "warnAt": 4500
          },
          "totalPerList": {
            "status": "ok",
            "disableAt": 1000000,
            "warnAt": 900000
          }
        }
      },
      "creationMethod": null
    }
  ]
}

Nested Lists as URL Params

Lists are also available as nested resources via URL parameters. For instance, you may want just the lists belonging to a specific resource like a board; in that case you'd use the route /1/boards/{id}/lists with any of the options below as query parameters.

URL ParameterValid ValuesDescription
filter
Default: none
One of: all, closed, none, openWhich types lists should be returned.
list_fields
Default: all
all or a comma separated list of list object fieldsWhich fields from the list object should be returned

Example Request

Here is an example of using the lists nested resource on the boards endpoint:

1
curl https://api.trello.com/1/boards/k7hfpqQm/lists?fields=all&filter=all

And the response:

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
[
  {
    "id": "5ac61a2e05fae550b0d45c94",
    "name": "Prompts",
    "closed": false,
    "idBoard": "5ac61a2e05fae550b0d45c93",
    "pos": 98303,
    "subscribed": null,
    "limits": {
      "cards": {
        "openPerList": {
          "status": "ok",
          "disableAt": 5000,
          "warnAt": 4500
        },
        "totalPerList": {
          "status": "ok",
          "disableAt": 1000000,
          "warnAt": 900000
        }
      }
    },
    "creationMethod": null
  }
]

Members Nested Resource

Members are available as nested resources within many of the other Trello resources. Below are the parameters that are available to members as nested resources.

Nested Members as Query Params

The table below shows query params available when accessing members as a nested resource via query params. For instance, the query params are available when you are accessing boards via: /1/boards/{id}?members=all.

Query ParameterValid ValuesDescription
members
Default: none
One of: none, normal, admins, owners, allWhich types of members should be returned.

| member_fields
Default: id,avatarHash,avatarUrl,initials,fullName,username,confirmed,memberType | all or a comma separated list of list Member fields | Which fields from the member object should be returned |

Members on cards

When accessing members on cards, there is no differentiation and you will instead want to use ?members=true to include them in the response.

Nested Members as URL Params

Members are also available as nested resources via URL parameters. For instance, you may want just the members belonging to a specific board; in that case you'd use the route /1/boards/{id}/members with any of the options below as query parameters.

URL ParameterValid ValuesDescription
fields
Default: id,fullName,username
all or a comma-separated list of:
- avatarHash
- avatarUrl
- bio
- bioData
- confirmed
- fullName
- idEnterprisesDeactivated
- idPremOrgsAdmin
- initials
- memberType
- products
- status
- url
- username
Which fields from the member object should be returned.

Notifications Nested Resource

Notifications as Query Params

/object/{id}?notifications=all...

Query ParameterDefaultOptions
notificationsall or a comma-separated list of:
- addAdminToBoard
- addAdminToOrganization
- addedAttachmentToCard
- addedMemberToCard
- addedToBoard
- addedToCard
- addedToOrganization
- cardDueSoon
- changeCard
- closeBoard
- commentCard
- createdCard
- declinedInvitationToBoard
- declinedInvitationToOrganization
- invitedToBoard
- invitedToOrganization
- makeAdminOfBoard
- makeAdminOfOrganization
- memberJoinedTrello
- mentionedOnCard
- removedFromBoard
- removedFromCard
- removedFromOrganization
- removedMemberFromCard
- unconfirmedInvitedToBoard
- unconfirmedInvitedToOrganization
- updateCheckItemStateOnCard
notifications_entities
boolean
falsetrue or false
notifications_display
boolean
falsetrue or false
notifications_limit50Max: 1000
notification_fieldsallall or a comma-separated list of:
- data
- date
- idMemberCreator
- type
- unread
notification_memberCreatortruetrue or false
notification_memberCreator_fieldsavatarHash,fullName,initials,usernameall or a comma-separated list of member fields
notification_beforeAn ID or null
notification_sinceAn ID or null

Reactions Nested Resource

Reactions are often included as nested resources within the Trello API. Their highly-nested nature is due to the fact that reactions are created within the context of actions.

For instance, when a user reacts to a comment on a card, Trello creates a reaction that references the action. Therefore, it makes sense to be able to access all of the reactions within the context of the action on which they were created.

Nested Reactions with Query Params

ParameterValid ValuesDefaultDescription
reactions
boolean
true, falsefalseBoolean to return reactions entities or not.
reactionsSummary
boolean
true, falsefalseBoolean to return reactions summary entities or not.
reactions_member
boolean
true, falsetrueBoolean to return nested member entities for reactions or not.
reactions_member_fields
string
StringavatarHash,avatarUrl,fullName,initials,usernameThe fields to be returned if the member object is being returned.
reactions_emoji
boolean
true, falsetrueBoolean to return nested emoji entities for reactions or not.

Example Request

1
2
curl --request GET \
  --url https://api.trello.com/1/actions/id?reactions=true

And the response:

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
{
  "id": "5afc2c98bb0aa3d078e30be4",
  "reactions": [
    {
      "id": "5afeec8fb0850e36938e465b",
      "idMember": "54f8181e733cf3c45ec056be",
      "idModel": "5afc2c98bb0aa3d078e30be4",
      "idEmoji": "1F64C",
      "member": {
        "id": "54f8181e733cf3c45ec056be",
        "avatarHash": "0fdb1227362c631f7dddaebedbe13f07",
        "avatarUrl": "https://trello-avatars.s3.amazonaws.com/0fdb1227362c631f7dddaebedbe13f07",
        "fullName": "Felix Haehnel",
        "initials": "FH",
        "username": "fhaehnel"
      },
      "emoji": {
        "unified": "1F64C",
        "native": "🙌",
        "name": "PERSON RAISING BOTH HANDS IN CELEBRATION",
        "skinVariation": null,
        "shortName": "raised_hands"
      }
    }
  ]
}
1
2
curl --request GET \
  --url https://api.trello.com/1/cards/id?actions=commentCard&action_reactions=true
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
{
  "id": "5a2ee8e4c0fddff47c596129",
  "actions": [
    {
      "id": "5afc2c98bb0aa3d078e30be4",
      "reactions": [
        {
          "id": "5afeec8fb0850e36938e465b",
          "idMember": "54f8181e733cf3c45ec056be",
          "idModel": "5afc2c98bb0aa3d078e30be4",
          "idEmoji": "1F64C",
          "member": {
            "id": "54f8181e733cf3c45ec056be",
            "avatarHash": "0fdb1227362c631f7dddaebedbe13f07",
            "avatarUrl": "https://trello-avatars.s3.amazonaws.com/0fdb1227362c631f7dddaebedbe13f07",
            "fullName": "Felix Haehnel",
            "initials": "FH",
            "username": "fhaehnel"
          },
          "emoji": {
            "unified": "1F64C",
            "native": "🙌",
            "name": "PERSON RAISING BOTH HANDS IN CELEBRATION",
            "skinVariation": null,
            "shortName": "raised_hands"
          }
        }
      ]
    }
  ]
}

Rate this page: