postEndpointForCwsWebhooks method

Future<void> postEndpointForCwsWebhooks()

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.

Implementation

Future<void> postEndpointForCwsWebhooks() async {
  final response = await postEndpointForCwsWebhooksWithHttpInfo();
  if (response.statusCode >= HttpStatus.badRequest) {
    throw MmApiException(response.statusCode, await _decodeBodyBytes(response));
  }
}