Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Trello new feature "Board templates" in trello api

ArinCantCode October 31, 2019

Are there any plans to bring new trello feature "board templates" to the current trello api? That would be awesome, if possible to use through API

1 answer

1 accepted

1 vote
Answer accepted
ManuR
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
November 6, 2019

Hi there!

While the board templates are not yet officially available via our API, you should be able to work around this by using the idBoardSource parameter and the keepFromSource one in order to create a new board based on an existing one.

So your call would look like this:

curl --request POST \
  --url 'https://api.trello.com/1/boards/?name=BoardName&defaultLabels=true&defaultLists=true&idBoardSource=BOARDID&keepFromSource=cards&prefs_permissionLevel=private&prefs_voting=disabled&prefs_comments=members&prefs_invitations=members&prefs_selfJoin=true&prefs_cardCovers=true&prefs_background=blue&prefs_cardAging=regular&key=yourAPIkey&token=yourToken'

where BoardName is the name you want to give to that new board, and BOARDID is the actual ID of the board that you can retrieve via the API (https://developers.trello.com/reference/#boardsboardid-1).

This will also work if the BOARDID is from a board template :)

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events