Rate this page:
POST /1/webhooks/
Create a new webhook.
string
The API key to use
^[0-9a-fA-F]{32}$
string
The API token to use
^[0-9a-fA-F]{64}$
string
A string with a length from 0
to 16384
.
0
, Max length: 16384
string
A valid URL that is reachable with a HEAD
and POST
request.
url
string
ID of the model to be monitored
^[0-9a-fA-F]{32}$
boolean
Determines whether the webhook is active and sending POST
requests.
1 2 3
curl --request POST \
--url 'https://api.trello.com/1/webhooks/?key=0471642aefef5fa1fa76530ce1ba4c85&token=9eb76d9a9d02b8dd40c2f3e5df18556c831d4d1fadbe2c45f8310e6c93b5c548&callbackURL={callbackURL}&idModel=5abbe4b7ddc1b351ef961414' \
--header 'Accept: application/json'
Success
Content type | Value |
---|---|
application/json |
GET /1/webhooks/{id}
Get a webhook by ID.
string
ID of the webhook to retrieve.
^[0-9a-fA-F]{32}$
string
The API key to use
^[0-9a-fA-F]{32}$
string
The API token to use
^[0-9a-fA-F]{64}$
1 2 3
curl --request GET \
--url 'https://api.trello.com/1/webhooks/{id}' \
--header 'Accept: application/json'
Success
Content type | Value |
---|---|
application/json |
PUT /1/webhooks/{id}
Update a webhook by ID.
string
ID of the webhook to retrieve.
^[0-9a-fA-F]{32}$
string
The API key to use
^[0-9a-fA-F]{32}$
string
The API token to use
^[0-9a-fA-F]{64}$
string
A string with a length from 0
to 16384
.
0
, Max length: 16384
string
A valid URL that is reachable with a HEAD
and POST
request.
url
string
ID of the model to be monitored
^[0-9a-fA-F]{32}$
boolean
Determines whether the webhook is active and sending POST
requests.
1 2 3
curl --request PUT \
--url 'https://api.trello.com/1/webhooks/{id}?key=0471642aefef5fa1fa76530ce1ba4c85&token=9eb76d9a9d02b8dd40c2f3e5df18556c831d4d1fadbe2c45f8310e6c93b5c548' \
--header 'Accept: application/json'
Success
Content type | Value |
---|---|
application/json |
DELETE /1/webhooks/{id}
Delete a webhook by ID.
string
ID of the webhook to retrieve.
^[0-9a-fA-F]{32}$
string
The API key to use
^[0-9a-fA-F]{32}$
string
The API token to use
^[0-9a-fA-F]{64}$
1 2
curl --request DELETE \
--url 'https://api.trello.com/1/webhooks/{id}'
Success
A schema has not been defined for this response code.
GET /1/webhooks/{id}/{field}
Get a field on a Webhook
string
ID of the webhook.
^[0-9a-fA-F]{32}$
string
Field to retrieve. One of: active
, callbackURL
, description
, idModel
Valid values:Β active
, callbackURL
, description
, idModel
, consecutiveFailures
, firstConsecutiveFailDate
string
The API key to use
^[0-9a-fA-F]{32}$
string
The API token to use
^[0-9a-fA-F]{64}$
1 2
curl --request GET \
--url 'https://api.trello.com/1/webhooks/{id}/{field}?key=0471642aefef5fa1fa76530ce1ba4c85&token=9eb76d9a9d02b8dd40c2f3e5df18556c831d4d1fadbe2c45f8310e6c93b5c548'
Success
A schema has not been defined for this response code.
Rate this page: