postNotifySendWithHttpInfo method
Delivers one transactional message by email or SMS through the caller org's own provider credential.
Delivers one transactional message by email or SMS through the caller org's own provider credential. The channel comes from the body — sms or email — and the provider credential is read from KMS at orgs/
Note: This method returns the HTTP Response.
Parameters:
- NotifySend notifySend (required):
Implementation
Future<Response> postNotifySendWithHttpInfo(NotifySend notifySend,) async {
// ignore: prefer_const_declarations
final path = r'/v1/notify/send';
// ignore: prefer_final_locals
Object? postBody = notifySend;
final queryParams = <QueryParam>[];
final headerParams = <String, String>{};
final formParams = <String, String>{};
const contentTypes = <String>['application/json'];
return apiClient.invokeAPI(
path,
'POST',
queryParams,
postBody,
headerParams,
formParams,
contentTypes.isEmpty ? null : contentTypes.first,
);
}