-
Notifications
You must be signed in to change notification settings - Fork 4
GetWebhooksForCurrentTokenAsync
Rasmus Wulff Jensen edited this page Nov 1, 2023
·
4 revisions
Get Webhooks linked with the current Token used to authenticate with the API
/// <summary>
/// Get Webhooks linked with the current Token used to authenticate with the API
/// </summary>
/// <returns>List of Webhooks</returns>
public async Task<List<Webhook>> GetWebhooksForCurrentTokenAsync(CancellationToken cancellationToken = default) {...}
var webhooksForCurrentToken = await _trelloClient.GetWebhooksForCurrentTokenAsync();
foreach (var webhook in webhooksForCurrentToken)
{
Console.WriteLine("- Webhook {0}: {1} ({2})", webjook.Id, webhook.Description, webhook.CallbackUrl);
}
If you are looking for info on a specific method in TrelloDotNet then expand the Pages above and input the 'MethodName' (Example: 'AddCardAsync')