Rate this page:
GET /1/tokens/{token}
Retrieve information about a token.
string
string
The API key to use
^[0-9a-fA-F]{32}$
string
The API token to use
^[0-9a-fA-F]{64}$
string
all
or a comma-separated list of dateCreated
, dateExpires
, idMember
, identifier
, permissions
Valid values:Β identifier
, idMember
, dateCreated
, dateExpires
, permissions
boolean
Determines whether to include webhooks.
false
1 2 3
curl --request GET \
--url 'https://api.trello.com/1/tokens/{token}?key=0471642aefef5fa1fa76530ce1ba4c85&token=9eb76d9a9d02b8dd40c2f3e5df18556c831d4d1fadbe2c45f8310e6c93b5c548' \
--header 'Accept: application/json'
Success
Content type | Value |
---|---|
application/json |
GET /1/tokens/{token}/member
Retrieve information about a token's owner by token.
string
string
The API key to use
^[0-9a-fA-F]{32}$
string
The API token to use
^[0-9a-fA-F]{64}$
string
all
or a comma-separated list of valid fields for Member Object.
Valid values:Β id
1 2 3
curl --request GET \
--url 'https://api.trello.com/1/tokens/{token}/member?key=0471642aefef5fa1fa76530ce1ba4c85&token=9eb76d9a9d02b8dd40c2f3e5df18556c831d4d1fadbe2c45f8310e6c93b5c548' \
--header 'Accept: application/json'
Success
Content type | Value |
---|---|
application/json |
GET /1/tokens/{token}/webhooks
Retrieve all webhooks created with a Token.
string
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/tokens/{token}/webhooks' \
--header 'Accept: application/json'
Success
Content type | Value |
---|---|
application/json | Array<Webhook> |
POST /1/tokens/{token}/webhooks
Create a new webhook for a Token.
string
string
The API key to use
^[0-9a-fA-F]{32}$
string
The API token to use
^[0-9a-fA-F]{64}$
string
A description to be displayed when retrieving information about the webhook.
string
The URL that the webhook should POST information to.
url
string
ID of the object to create a webhook on.
^[0-9a-fA-F]{32}$
1 2 3
curl --request POST \
--url 'https://api.trello.com/1/tokens/{token}/webhooks?key=0471642aefef5fa1fa76530ce1ba4c85&token=9eb76d9a9d02b8dd40c2f3e5df18556c831d4d1fadbe2c45f8310e6c93b5c548&callbackURL={callbackURL}&idModel=5abbe4b7ddc1b351ef961414' \
--header 'Accept: application/json'
Success
Content type | Value |
---|---|
application/json |
GET /1/tokens/{token}/webhooks/{idWebhook}
Retrieve a webhook created with a Token.
string
string
ID of the Webhooks 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/tokens/{token}/webhooks/{idWebhook}' \
--header 'Accept: application/json'
Success
Content type | Value |
---|---|
application/json |
PUT /1/tokens/{token}/webhooks/{idWebhook}
Update a Webhook created by Token
string
string
ID of the Webhooks 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 description to be displayed when retrieving information about the webhook.
string
The URL that the webhook should POST
information to.
url
string
ID of the object that the webhook is on.
^[0-9a-fA-F]{32}$
1 2
curl --request PUT \
--url 'https://api.trello.com/1/tokens/{token}/webhooks/{idWebhook}?key=0471642aefef5fa1fa76530ce1ba4c85&token=9eb76d9a9d02b8dd40c2f3e5df18556c831d4d1fadbe2c45f8310e6c93b5c548'
Success
A schema has not been defined for this response code.
DELETE /1/tokens/{token}/webhooks/{idWebhook}
Delete a webhook created with given token.
string
string
ID of the Webhooks 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/tokens/{token}/webhooks/{idWebhook}'
Success
A schema has not been defined for this response code.
DELETE /1/tokens/{token}/
Delete a token.
string
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/tokens/{token}/?key=0471642aefef5fa1fa76530ce1ba4c85&token=9eb76d9a9d02b8dd40c2f3e5df18556c831d4d1fadbe2c45f8310e6c93b5c548'
Success
A schema has not been defined for this response code.
Rate this page: