postEndpointForCwsWebhooksWithHttpInfo method

Future<Response> postEndpointForCwsWebhooksWithHttpInfo()

POST endpoint for CWS Webhooks

An endpoint for processing webhooks from the Customer Portal ##### Permissions This endpoint should only be accessed by CWS, in a Mattermost Cloud instance Minimum server version: 5.30 Note: This is intended for internal use and is subject to change.

Note: This method returns the HTTP Response.

Implementation

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

  // ignore: prefer_final_locals
  Object? postBody;

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

  const contentTypes = <String>[];

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