Trello API
  1. board
Trello API
  • action
    • deleteActionsByIdAction()
    • getActionsByIdAction()
    • updateActionsByIdAction()
    • getActionsBoardByIdAction()
    • getActionsBoardByIdActionByField()
    • getActionsCardByIdAction()
    • getActionsCardByIdActionByField()
    • getActionsDisplayByIdAction()
    • getActionsEntitiesByIdAction()
    • getActionsListByIdAction()
    • getActionsListByIdActionByField()
    • getActionsMemberByIdAction()
    • getActionsMemberByIdActionByField()
    • getActionsMemberCreatorByIdAction()
    • getActionsMemberCreatorByIdActionByField()
    • getActionsOrganizationByIdAction()
    • getActionsOrganizationByIdActionByField()
    • updateActionsTextByIdAction()
    • getActionsByIdActionByField()
  • batch
    • getBatch()
  • board
    • addBoards()
      POST
    • getBoardsByIdBoard()
      GET
    • updateBoardsByIdBoard()
      PUT
    • getBoardsActionsByIdBoard()
      GET
    • getBoardsBoardStarsByIdBoard()
      GET
    • addBoardsCalendarKeyGenerateByIdBoard()
      POST
    • getBoardsCardsByIdBoard()
      GET
    • getBoardsCardsByIdBoardByFilter()
      GET
    • getBoardsCardsByIdBoardByIdCard()
      GET
    • getBoardsChecklistsByIdBoard()
      GET
    • addBoardsChecklistsByIdBoard()
      POST
    • updateBoardsClosedByIdBoard()
      PUT
    • getBoardsDeltasByIdBoard()
      GET
    • updateBoardsDescByIdBoard()
      PUT
    • addBoardsEmailKeyGenerateByIdBoard()
      POST
    • updateBoardsIdOrganizationByIdBoard()
      PUT
    • updateBoardsLabelNamesBlueByIdBoard()
      PUT
    • updateBoardsLabelNamesGreenByIdBoard()
      PUT
    • updateBoardsLabelNamesOrangeByIdBoard()
      PUT
    • updateBoardsLabelNamesPurpleByIdBoard()
      PUT
    • updateBoardsLabelNamesRedByIdBoard()
      PUT
    • updateBoardsLabelNamesYellowByIdBoard()
      PUT
    • getBoardsLabelsByIdBoard()
      GET
    • addBoardsLabelsByIdBoard()
      POST
    • getBoardsLabelsByIdBoardByIdLabel()
      GET
    • getBoardsListsByIdBoard()
      GET
    • addBoardsListsByIdBoard()
      POST
    • getBoardsListsByIdBoardByFilter()
      GET
    • addBoardsMarkAsViewedByIdBoard()
      POST
    • getBoardsMembersByIdBoard()
      GET
    • updateBoardsMembersByIdBoard()
      PUT
    • getBoardsMembersByIdBoardByFilter()
      GET
    • deleteBoardsMembersByIdBoardByIdMember()
      DELETE
    • updateBoardsMembersByIdBoardByIdMember()
      PUT
    • getBoardsMembersCardsByIdBoardByIdMember()
      GET
    • getBoardsMembersInvitedByIdBoard()
      GET
    • getBoardsMembersInvitedByIdBoardByField()
      GET
    • getBoardsMembershipsByIdBoard()
      GET
    • getBoardsMembershipsByIdBoardByIdMembership()
      GET
    • updateBoardsMembershipsByIdBoardByIdMembership()
      PUT
    • getBoardsMyPrefsByIdBoard()
      GET
    • updateBoardsMyPrefsEmailPositionByIdBoard()
      PUT
    • updateBoardsMyPrefsIdEmailListByIdBoard()
      PUT
    • updateBoardsMyPrefsShowListGuideByIdBoard()
      PUT
    • updateBoardsMyPrefsShowSidebarByIdBoard()
      PUT
    • updateBoardsMyPrefsShowSidebarActivityByIdBoard()
      PUT
    • updateBoardsMyPrefsShowSidebarBoardActionsByIdBoard()
      PUT
    • updateBoardsMyPrefsShowSidebarMembersByIdBoard()
      PUT
    • updateBoardsNameByIdBoard()
      PUT
    • getBoardsOrganizationByIdBoard()
      GET
    • getBoardsOrganizationByIdBoardByField()
      GET
    • addBoardsPowerUpsByIdBoard()
      POST
    • deleteBoardsPowerUpsByIdBoardByPowerUp()
      DELETE
    • updateBoardsPrefsBackgroundByIdBoard()
      PUT
    • updateBoardsPrefsCalendarFeedEnabledByIdBoard()
      PUT
    • updateBoardsPrefsCardAgingByIdBoard()
      PUT
    • updateBoardsPrefsCardCoversByIdBoard()
      PUT
    • updateBoardsPrefsCommentsByIdBoard()
      PUT
    • updateBoardsPrefsInvitationsByIdBoard()
      PUT
    • updateBoardsPrefsPermissionLevelByIdBoard()
      PUT
    • updateBoardsPrefsSelfJoinByIdBoard()
      PUT
    • updateBoardsPrefsVotingByIdBoard()
      PUT
    • updateBoardsSubscribedByIdBoard()
      PUT
    • getBoardsByIdBoardByField()
      GET
  • card
    • addCards()
    • deleteCardsByIdCard()
    • getCardsByIdCard()
    • updateCardsByIdCard()
    • getCardsActionsByIdCard()
    • addCardsActionsCommentsByIdCard()
    • deleteCardsActionsCommentsByIdCardByIdAction()
    • updateCardsActionsCommentsByIdCardByIdAction()
    • getCardsAttachmentsByIdCard()
    • addCardsAttachmentsByIdCard()
    • deleteCardsAttachmentsByIdCardByIdAttachment()
    • getCardsAttachmentsByIdCardByIdAttachment()
    • getCardsBoardByIdCard()
    • getCardsBoardByIdCardByField()
    • getCardsCheckItemStatesByIdCard()
    • updateCardsChecklistCheckItemByIdCardByIdChecklistCurrentByIdCheckItem()
    • addCardsChecklistCheckItemByIdCardByIdChecklist()
    • deleteCardsChecklistCheckItemByIdCardByIdChecklistByIdCheckItem()
    • addCardsChecklistCheckItemConvertToCardByIdCardByIdChecklistByIdCheckItem()
    • updateCardsChecklistCheckItemNameByIdCardByIdChecklistByIdCheckItem()
    • updateCardsChecklistCheckItemPosByIdCardByIdChecklistByIdCheckItem()
    • updateCardsChecklistCheckItemStateByIdCardByIdChecklistByIdCheckItem()
    • getCardsChecklistsByIdCard()
    • addCardsChecklistsByIdCard()
    • deleteCardsChecklistsByIdCardByIdChecklist()
    • updateCardsClosedByIdCard()
    • updateCardsDescByIdCard()
    • updateCardsDueByIdCard()
    • updateCardsIdAttachmentCoverByIdCard()
    • updateCardsIdBoardByIdCard()
    • addCardsIdLabelsByIdCard()
    • deleteCardsIdLabelsByIdCardByIdLabel()
    • updateCardsIdListByIdCard()
    • addCardsIdMembersByIdCard()
    • updateCardsIdMembersByIdCard()
    • deleteCardsIdMembersByIdCardByIdMember()
    • addCardsLabelsByIdCard()
    • updateCardsLabelsByIdCard()
    • deleteCardsLabelsByIdCardByColor()
    • getCardsListByIdCard()
    • getCardsListByIdCardByField()
    • addCardsMarkAssociatedNotificationsReadByIdCard()
    • getCardsMembersByIdCard()
    • getCardsMembersVotedByIdCard()
    • addCardsMembersVotedByIdCard()
    • deleteCardsMembersVotedByIdCardByIdMember()
    • updateCardsNameByIdCard()
    • updateCardsPosByIdCard()
    • getCardsStickersByIdCard()
    • addCardsStickersByIdCard()
    • deleteCardsStickersByIdCardByIdSticker()
    • getCardsStickersByIdCardByIdSticker()
    • updateCardsStickersByIdCardByIdSticker()
    • updateCardsSubscribedByIdCard()
    • getCardsByIdCardByField()
  • checklist
    • addChecklists()
    • deleteChecklistsByIdChecklist()
    • getChecklistsByIdChecklist()
    • updateChecklistsByIdChecklist()
    • getChecklistsBoardByIdChecklist()
    • getChecklistsBoardByIdChecklistByField()
    • getChecklistsCardsByIdChecklist()
    • getChecklistsCardsByIdChecklistByFilter()
    • getChecklistsCheckItemsByIdChecklist()
    • addChecklistsCheckItemsByIdChecklist()
    • deleteChecklistsCheckItemsByIdChecklistByIdCheckItem()
    • getChecklistsCheckItemsByIdChecklistByIdCheckItem()
    • updateChecklistsIdCardByIdChecklist()
    • updateChecklistsNameByIdChecklist()
    • updateChecklistsPosByIdChecklist()
    • getChecklistsByIdChecklistByField()
  • label
    • addLabels()
    • deleteLabelsByIdLabel()
    • getLabelsByIdLabel()
    • updateLabelsByIdLabel()
    • getLabelsBoardByIdLabel()
    • getLabelsBoardByIdLabelByField()
    • updateLabelsColorByIdLabel()
    • updateLabelsNameByIdLabel()
  • list
    • addLists()
    • getListsByIdList()
    • updateListsByIdList()
    • getListsActionsByIdList()
    • addListsArchiveAllCardsByIdList()
    • getListsBoardByIdList()
    • getListsBoardByIdListByField()
    • getListsCardsByIdList()
    • addListsCardsByIdList()
    • getListsCardsByIdListByFilter()
    • updateListsClosedByIdList()
    • updateListsIdBoardByIdList()
    • addListsMoveAllCardsByIdList()
    • updateListsNameByIdList()
    • updateListsPosByIdList()
    • updateListsSubscribedByIdList()
    • getListsByIdListByField()
  • member
    • getMembersByIdMember()
    • updateMembersByIdMember()
    • getMembersActionsByIdMember()
    • addMembersAvatarByIdMember()
    • updateMembersAvatarSourceByIdMember()
    • updateMembersBioByIdMember()
    • getMembersBoardBackgroundsByIdMember()
    • addMembersBoardBackgroundsByIdMember()
    • deleteMembersBoardBackgroundsByIdMemberByIdBoardBackground()
    • getMembersBoardBackgroundsByIdMemberByIdBoardBackground()
    • updateMembersBoardBackgroundsByIdMemberByIdBoardBackground()
    • getMembersBoardStarsByIdMember()
    • addMembersBoardStarsByIdMember()
    • deleteMembersBoardStarsByIdMemberByIdBoardStar()
    • getMembersBoardStarsByIdMemberByIdBoardStar()
    • updateMembersBoardStarsByIdMemberByIdBoardStar()
    • updateMembersBoardStarsIdBoardByIdMemberByIdBoardStar()
    • updateMembersBoardStarsPosByIdMemberByIdBoardStar()
    • getMembersBoardsByIdMember()
    • getMembersBoardsByIdMemberByFilter()
    • getMembersBoardsInvitedByIdMember()
    • getMembersBoardsInvitedByIdMemberByField()
    • getMembersCardsByIdMember()
    • getMembersCardsByIdMemberByFilter()
    • getMembersCustomBoardBackgroundsByIdMember()
    • addMembersCustomBoardBackgroundsByIdMember()
    • deleteMembersCustomBoardBackgroundsByIdMemberByIdBoardBackground()
    • getMembersCustomBoardBackgroundsByIdMemberByIdBoardBackground()
    • updateMembersCustomBoardBackgroundsByIdMemberByIdBoardBackground()
    • getMembersCustomEmojiByIdMember()
    • addMembersCustomEmojiByIdMember()
    • getMembersCustomEmojiByIdMemberByIdCustomEmoji()
    • getMembersCustomStickersByIdMember()
    • addMembersCustomStickersByIdMember()
    • deleteMembersCustomStickersByIdMemberByIdCustomSticker()
    • getMembersCustomStickersByIdMemberByIdCustomSticker()
    • getMembersDeltasByIdMember()
    • updateMembersFullNameByIdMember()
    • updateMembersInitialsByIdMember()
    • getMembersNotificationsByIdMember()
    • getMembersNotificationsByIdMemberByFilter()
    • addMembersOneTimeMessagesDismissedByIdMember()
    • getMembersOrganizationsByIdMember()
    • getMembersOrganizationsByIdMemberByFilter()
    • getMembersOrganizationsInvitedByIdMember()
    • getMembersOrganizationsInvitedByIdMemberByField()
    • updateMembersPrefsColorBlindByIdMember()
    • updateMembersPrefsLocaleByIdMember()
    • updateMembersPrefsMinutesBetweenSummariesByIdMember()
    • getMembersSavedSearchesByIdMember()
    • addMembersSavedSearchesByIdMember()
    • deleteMembersSavedSearchesByIdMemberByIdSavedSearch()
    • getMembersSavedSearchesByIdMemberByIdSavedSearch()
    • updateMembersSavedSearchesByIdMemberByIdSavedSearch()
    • updateMembersSavedSearchesNameByIdMemberByIdSavedSearch()
    • updateMembersSavedSearchesPosByIdMemberByIdSavedSearch()
    • updateMembersSavedSearchesQueryByIdMemberByIdSavedSearch()
    • getMembersTokensByIdMember()
    • updateMembersUsernameByIdMember()
    • getMembersByIdMemberByField()
  • notification
    • addNotificationsAllRead()
    • getNotificationsByIdNotification()
    • updateNotificationsByIdNotification()
    • getNotificationsBoardByIdNotification()
    • getNotificationsBoardByIdNotificationByField()
    • getNotificationsCardByIdNotification()
    • getNotificationsCardByIdNotificationByField()
    • getNotificationsDisplayByIdNotification()
    • getNotificationsEntitiesByIdNotification()
    • getNotificationsListByIdNotification()
    • getNotificationsListByIdNotificationByField()
    • getNotificationsMemberByIdNotification()
    • getNotificationsMemberByIdNotificationByField()
    • getNotificationsMemberCreatorByIdNotification()
    • getNotificationsMemberCreatorByIdNotificationByField()
    • getNotificationsOrganizationByIdNotification()
    • getNotificationsOrganizationByIdNotificationByField()
    • updateNotificationsUnreadByIdNotification()
    • getNotificationsByIdNotificationByField()
  • organization
    • addOrganizations()
    • deleteOrganizationsByIdOrg()
    • getOrganizationsByIdOrg()
    • updateOrganizationsByIdOrg()
    • getOrganizationsActionsByIdOrg()
    • getOrganizationsBoardsByIdOrg()
    • getOrganizationsBoardsByIdOrgByFilter()
    • getOrganizationsDeltasByIdOrg()
    • updateOrganizationsDescByIdOrg()
    • updateOrganizationsDisplayNameByIdOrg()
    • deleteOrganizationsLogoByIdOrg()
    • addOrganizationsLogoByIdOrg()
    • getOrganizationsMembersByIdOrg()
    • updateOrganizationsMembersByIdOrg()
    • getOrganizationsMembersByIdOrgByFilter()
    • deleteOrganizationsMembersByIdOrgByIdMember()
    • updateOrganizationsMembersByIdOrgByIdMember()
    • deleteOrganizationsMembersAllByIdOrgByIdMember()
    • getOrganizationsMembersCardsByIdOrgByIdMember()
    • updateOrganizationsMembersDeactivatedByIdOrgByIdMember()
    • getOrganizationsMembersInvitedByIdOrg()
    • getOrganizationsMembersInvitedByIdOrgByField()
    • getOrganizationsMembershipsByIdOrg()
    • getOrganizationsMembershipsByIdOrgByIdMembership()
    • updateOrganizationsMembershipsByIdOrgByIdMembership()
    • updateOrganizationsNameByIdOrg()
    • deleteOrganizationsPrefsAssociatedDomainByIdOrg()
    • updateOrganizationsPrefsAssociatedDomainByIdOrg()
    • updateOrganizationsPrefsBoardVisibilityRestrictOrgByIdOrg()
    • updateOrganizationsPrefsBoardVisibilityRestrictPrivateByIdOrg()
    • updateOrganizationsPrefsBoardVisibilityRestrictPublicByIdOrg()
    • updateOrganizationsPrefsExternalMembersDisabledByIdOrg()
    • updateOrganizationsPrefsGoogleAppsVersionByIdOrg()
    • deleteOrganizationsPrefsOrgInviteRestrictByIdOrg()
    • updateOrganizationsPrefsOrgInviteRestrictByIdOrg()
    • updateOrganizationsPrefsPermissionLevelByIdOrg()
    • updateOrganizationsWebsiteByIdOrg()
    • getOrganizationsByIdOrgByField()
  • search
    • getSearch()
    • getSearchMembers()
  • session
    • addSessions()
    • getSessionsSocket()
    • updateSessionsByIdSession()
    • updateSessionsStatusByIdSession()
  • token
    • deleteTokensByToken()
    • getTokensByToken()
    • getTokensMemberByToken()
    • getTokensMemberByTokenByField()
    • getTokensWebhooksByToken()
    • addTokensWebhooksByToken()
    • updateTokensWebhooksByToken()
    • deleteTokensWebhooksByTokenByIdWebhook()
    • getTokensWebhooksByTokenByIdWebhook()
    • getTokensByTokenByField()
  • type
    • getTypesById()
  • webhook
    • addWebhooks()
    • updateWebhooks()
    • deleteWebhooksByIdWebhook()
    • getWebhooksByIdWebhook()
    • updateWebhooksByIdWebhook()
    • updateWebhooksActiveByIdWebhook()
    • updateWebhooksCallbackURLByIdWebhook()
    • updateWebhooksDescriptionByIdWebhook()
    • updateWebhooksIdModelByIdWebhook()
    • getWebhooksByIdWebhookByField()
  1. board

addBoards()

POST
/boards
board
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://api.trello.com/boards?key&token' \
--header 'Content-Type: application/json' \
--data-raw '{
    "closed": "string",
    "desc": "string",
    "idBoardSource": "string",
    "idOrganization": "string",
    "keepFromSource": "string",
    "labelNames/blue": "string",
    "labelNames/green": "string",
    "labelNames/orange": "string",
    "labelNames/purple": "string",
    "labelNames/red": "string",
    "labelNames/yellow": "string",
    "name": "string",
    "powerUps": "string",
    "prefs/background": "string",
    "prefs/calendarFeedEnabled": "string",
    "prefs/cardAging": "string",
    "prefs/cardCovers": "string",
    "prefs/comments": "string",
    "prefs/invitations": "string",
    "prefs/permissionLevel": "string",
    "prefs/selfJoin": "string",
    "prefs/voting": "string",
    "prefs_background": "string",
    "prefs_cardAging": "string",
    "prefs_cardCovers": "string",
    "prefs_comments": "string",
    "prefs_invitations": "string",
    "prefs_permissionLevel": "string",
    "prefs_selfJoin": "string",
    "prefs_voting": "string",
    "subscribed": "string"
}'
响应示例响应示例
200 - 示例 1
{}

请求参数

Query 参数
key
string 
必需
Generate your application key
token
string 
必需
Getting a token from a user
Body 参数application/json
closed
string 
可选
true or false
desc
string 
可选
a string with a length from 0 to 16384
idBoardSource
string 
可选
The id of the board to copy into the new board
idOrganization
string 
可选
The id or name of the organization to add the board to.
keepFromSource
string 
可选
Components of the source board to copy.
labelNames/blue
string 
可选
a string with a length from 0 to 16384
labelNames/green
string 
可选
a string with a length from 0 to 16384
labelNames/orange
string 
可选
a string with a length from 0 to 16384
labelNames/purple
string 
可选
a string with a length from 0 to 16384
labelNames/red
string 
可选
a string with a length from 0 to 16384
labelNames/yellow
string 
可选
a string with a length from 0 to 16384
name
string 
可选
a string with a length from 1 to 16384
powerUps
string 
可选
all or a comma-separated list of: calendar, cardAging, recap or voting
prefs/background
string 
可选
A standard background name, or the id of a custom background
prefs/calendarFeedEnabled
string 
可选
true or false
prefs/cardAging
string 
可选
One of: pirate or regular
prefs/cardCovers
string 
可选
true or false
prefs/comments
string 
可选
One of: disabled, members, observers, org or public
prefs/invitations
string 
可选
One of: admins or members
prefs/permissionLevel
string 
可选
One of: org, private or public
prefs/selfJoin
string 
可选
true or false
prefs/voting
string 
可选
One of: disabled, members, observers, org or public
prefs_background
string 
可选
a string with a length from 0 to 16384
prefs_cardAging
string 
可选
One of: pirate or regular
prefs_cardCovers
string 
可选
true or false
prefs_comments
string 
可选
One of: disabled, members, observers, org or public
prefs_invitations
string 
可选
One of: admins or members
prefs_permissionLevel
string 
可选
One of: org, private or public
prefs_selfJoin
string 
可选
true or false
prefs_voting
string 
可选
One of: disabled, members, observers, org or public
subscribed
string 
可选
true or false
示例

返回响应

🟢200成功
application/json
Success
Body
object {0}
🟠400请求有误

【Trello】API开发者 微信交流群

用微信扫右侧二维码,加入【Trello】API开发者 交流群,互助沟通

扫码加入交流群
上一页
getBatch()
下一页
getBoardsByIdBoard()
Built with