getWebhookWithHttpInfo method

Future<Response> getWebhookWithHttpInfo()

Returns every webhook endpoint the caller's org has registered, newest first, each with its 7-day delivery and failure counts.

Returns every webhook endpoint the caller's org has registered, newest first, each with its 7-day delivery and failure counts. Signing secrets are redacted here — a secret leaves the server only on create and on rotate. The listing is physically org-scoped, so another tenant's endpoints are not reachable from this route at all.

Note: This method returns the HTTP Response.

Implementation

Future<Response> getWebhookWithHttpInfo() async {
  // ignore: prefer_const_declarations
  final path = r'/v1/webhook';

  // ignore: prefer_final_locals
  Object? postBody;

  final queryParams = <QueryParam>[];
  final headerParams = <String, String>{};
  final formParams = <String, String>{};

  const contentTypes = <String>[];


  return apiClient.invokeAPI(
    path,
    'GET',
    queryParams,
    postBody,
    headerParams,
    formParams,
    contentTypes.isEmpty ? null : contentTypes.first,
  );
}