Create a new webhook.
string
string
RequiredTrelloID
Requiredboolean
Success
1
2
3
curl --request POST \
--url 'https://api.trello.com/1/webhooks/?callbackURL={callbackURL}&idModel=5abbe4b7ddc1b351ef961414&key=APIKey&token=APIToken' \
--header 'Accept: application/json'
1
2
3
4
5
6
7
8
9
{
"id": "5abbe4b7ddc1b351ef961414",
"description": "Board Webhook",
"idModel": "5abbe4b7ddc1b351ef961414",
"callbackURL": "https://mywebhookurl.com/?type=board",
"active": true,
"consecutiveFailures": 0,
"firstConsecutiveFailDate": "<string>"
}
Get a webhook by ID. You must use the token query parameter and pass in the token the webhook was created under, or else you will encounter a 'webhook does not belong to token' error.
TrelloID
RequiredSuccess
1
2
3
curl --request GET \
--url 'https://api.trello.com/1/webhooks/{id}?key=APIKey&token=APIToken' \
--header 'Accept: application/json'
1
2
3
4
5
6
7
8
9
{
"id": "5abbe4b7ddc1b351ef961414",
"description": "Board Webhook",
"idModel": "5abbe4b7ddc1b351ef961414",
"callbackURL": "https://mywebhookurl.com/?type=board",
"active": true,
"consecutiveFailures": 0,
"firstConsecutiveFailDate": "<string>"
}
Update a webhook by ID.
TrelloID
Requiredstring
string
TrelloID
boolean
Success
1
2
3
curl --request PUT \
--url 'https://api.trello.com/1/webhooks/{id}?key=APIKey&token=APIToken' \
--header 'Accept: application/json'
1
2
3
4
5
6
7
8
9
{
"id": "5abbe4b7ddc1b351ef961414",
"description": "Board Webhook",
"idModel": "5abbe4b7ddc1b351ef961414",
"callbackURL": "https://mywebhookurl.com/?type=board",
"active": true,
"consecutiveFailures": 0,
"firstConsecutiveFailDate": "<string>"
}
Delete a webhook by ID.
TrelloID
RequiredSuccess
1
2
curl --request DELETE \
--url 'https://api.trello.com/1/webhooks/{id}?key=APIKey&token=APIToken'
Get a field on a Webhook
TrelloID
Requiredstring
RequiredSuccess
1
2
curl --request GET \
--url 'https://api.trello.com/1/webhooks/{id}/{field}?key=APIKey&token=APIToken'
Rate this page: