getWebhookWithToken abstract method
- @GET.new('/webhooks/{webhook_id}/{token}')
- @Path.new('webhook_id') required SnowflakeType webhookId,
- @Path.new('token') required String token,
Get webhook with token.
Retrieves detailed information about a specific webhook using its ID and token. No authentication required as the token serves as the credential. Returns the webhook object without creator user data.
webhookId - The ID of the webhook.
token - The token.
Implementation
@GET('/webhooks/{webhook_id}/{token}')
Future<WebhookTokenResponse> getWebhookWithToken({
@Path('webhook_id') required SnowflakeType webhookId,
@Path('token') required String token,
});