/// <summary>
 /// <para>This method will return all devices that were sent the given notification_id of an Email or Push Notification if used within 7 days of the date sent. After 7 days of the sending date, the message history data will be unavailable.</para>
 /// <para>After a successful response is received, the destination url may be polled until the file becomes available.Most exports are done in ~1-3 minutes, so setting a poll interval of 10 seconds should be adequate.</para>
 /// <para>For use cases that are not meant to be consumed by a script, an email will be sent to the supplied email address.</para>
 /// </summary>
 /// <returns>The history of a notification</returns>
 public GetNotificationHistoryResponse GetHistory(string notificationId, GetNotificationHistoryOptions options)
 {
     return(Post <GetNotificationHistoryResponse>($"notifications/{notificationId}/history", options));
 }
 /// <summary>
 /// <para>This method will return all devices that were sent the given notification_id of an Email or Push Notification if used within 7 days of the date sent. After 7 days of the sending date, the message history data will be unavailable.</para>
 /// <para>After a successful response is received, the destination url may be polled until the file becomes available.Most exports are done in ~1-3 minutes, so setting a poll interval of 10 seconds should be adequate.</para>
 /// <para>For use cases that are not meant to be consumed by a script, an email will be sent to the supplied email address.</para>
 /// </summary>
 /// <returns>The history of a notification</returns>
 public async Task <GetNotificationHistoryResponse> GetHistoryAsync(string notificationId, GetNotificationHistoryOptions options)
 {
     return(await PostAsync <GetNotificationHistoryResponse>($"notifications/{notificationId}/history", options));
 }