Facing couple of issues in Trello Webhook

Rathna
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
November 12, 2024

 

 

  1. I created a webhook to listen to the action "Add Label to Card" but the webhook is not receiving the event when the label is added to the card. Below is the API request I am using. 
POST: https://api.trello.com/1/webhooks?callbackURL={{webhookUrl}}&idModel={{labelId}}&key={{apiKey}}&token={{token}}
For the idModel, I am passing the label Id to which I will listen when added to any card. Please guide me what I am missing here.
  1. Does Trello Api support any filter option to get the boards by its createdDate? I want to retrieve the recently created Board. Does Trello have webhook for this?

2 answers

2 accepted

1 vote
Answer accepted
milynnus
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
November 12, 2024

@Rathna 

You cannot use the  label id as your idModel. 

Rathna
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
November 12, 2024

Thanks for your response. what should be the modelId to listen to this action "Label added to Card"

milynnus
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
November 13, 2024

@Rathna you should be watching for changes on the board so use the board id as the idModel. 

0 votes
Answer accepted
Rasmus Wulff Jensen
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
November 13, 2024

Id Model can only be boardId, listId or cardId

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
FREE
TAGS
AUG Leaders

Atlassian Community Events