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.
How do I find out the webhook ID's currently monitoring a model?
I have the idModel, what I need is the webhook id.
What API call do I make? Can you point me to some documentation?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I don't work with Rest API directly since I am using py-trello. Looking at the library and comparing with Trello API documentation it should be
https://developer.atlassian.com/cloud/trello/rest/api-group-tokens/#api-tokens-token-webhooks-get
url = "/tokens/%s/webhooks" % token
return self._existing_hook_objs(self.fetch_json(url), token)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @SGi Admin
Thanks for replying. What is the token in this scenario?
Is the token mentioned in this API reference documentation different to the token for authentication (i.e. secret & user token)?
https://developer.atlassian.com/cloud/trello/rest/api-group-tokens/#api-tokens-token-get
Thanks for your help.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Tried my hand on using REST API "as is". With the documented API example I got a 401. I supplied the key and it returned the list I wanted.
url = "https://api.trello.com/1/tokens/{}/webhooks".format(client.resource_owner_key)
headers = {
"Accept": "application/json"
}
query = {
'key': client.api_key,
'token': client.resource_owner_key
}
response = requests.request(
"GET",
url,
headers=headers,
params=query
)
print(response.text)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Because I am using BenkoBoard , there were webhooks registered with the token I used for that application. It is also the one I used for my application development hence I have a client - hence client.resource_owner_key...etc
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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. I'll be sharing with you a series of videos with my top tips on how to best use Trello...
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.