You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.
View groupJoin the community to find out what other Atlassian users are discussing, debating and creating.
Hi all,
I'm creating cards via the Trello API and I'm trying to create a Webhook on each card that calls my apps endpoint when the card is moved to a specific list.
When I create my webhook as per the documentation below, it returns 'invalid value for idModel'. My query sets the 'idModel' to the card ID I've just created.
https://developer.atlassian.com/cloud/trello/rest/api-group-webhooks/#api-webhooks-post
Is the card id the model? i.e. depending on the context the model can be a card, list, board etc. whatever you want your webhook to relate to.
I can't find anywhere in the documentation that describes what a model is or can be.
@Ryan you have understood it correctly. Depending on what webhook you are setting up, the idModel can be a card id, board id, list id or member id.
For card movement, you should set the idModel to list id. That would be how I look at card movement. If you set to card id, there will be lots of webhooks for the system to manage.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Community! My name is Brittany Joiner and I am a Trello enthusiast and Atlassian Community Leader. In this video, I'll share my favorite Trello templates. Templates mentioned in ...
Connect with like-minded Atlassian users at free events near you!
Find an eventConnect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.
Host an eventYou're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.