use resend_rs::{Resend, Result, list_opts::ListOptions};#[tokio::main]async fn main() -> Result<()> { let resend = Resend::new("re_xxxxxxxxx"); let _drafts = resend .inboxes .list_drafts("b3e2b2b6-3f0e-4c8e-9ad3-2f43a1e2c7f1", ListOptions::default()) .await?; Ok(())}
import com.resend.Resend;import com.resend.core.exception.ResendException;import com.resend.services.inboxes.model.ListInboxDraftsResponseSuccess;public class Main { public static void main(String[] args) throws ResendException { Resend resend = new Resend("re_xxxxxxxxx"); ListInboxDraftsResponseSuccess data = resend.inboxes().drafts() .list("b3e2b2b6-3f0e-4c8e-9ad3-2f43a1e2c7f1"); }}
using Resend;IResend resend = ResendClient.Create( "re_xxxxxxxxx" ); // Or from DIvar resp = await resend.InboxDraftListAsync( new Guid( "b3e2b2b6-3f0e-4c8e-9ad3-2f43a1e2c7f1" ) );Console.WriteLine( "Nr Drafts={0}", resp.Content.Data.Count );
curl -X GET 'https://api.resend.com/inboxes/b3e2b2b6-3f0e-4c8e-9ad3-2f43a1e2c7f1/drafts' \ -H 'Authorization: Bearer re_xxxxxxxxx'
resend inboxes drafts list b3e2b2b6-3f0e-4c8e-9ad3-2f43a1e2c7f1
use resend_rs::{Resend, Result, list_opts::ListOptions};#[tokio::main]async fn main() -> Result<()> { let resend = Resend::new("re_xxxxxxxxx"); let _drafts = resend .inboxes .list_drafts("b3e2b2b6-3f0e-4c8e-9ad3-2f43a1e2c7f1", ListOptions::default()) .await?; Ok(())}
import com.resend.Resend;import com.resend.core.exception.ResendException;import com.resend.services.inboxes.model.ListInboxDraftsResponseSuccess;public class Main { public static void main(String[] args) throws ResendException { Resend resend = new Resend("re_xxxxxxxxx"); ListInboxDraftsResponseSuccess data = resend.inboxes().drafts() .list("b3e2b2b6-3f0e-4c8e-9ad3-2f43a1e2c7f1"); }}
using Resend;IResend resend = ResendClient.Create( "re_xxxxxxxxx" ); // Or from DIvar resp = await resend.InboxDraftListAsync( new Guid( "b3e2b2b6-3f0e-4c8e-9ad3-2f43a1e2c7f1" ) );Console.WriteLine( "Nr Drafts={0}", resp.Content.Data.Count );
curl -X GET 'https://api.resend.com/inboxes/b3e2b2b6-3f0e-4c8e-9ad3-2f43a1e2c7f1/drafts' \ -H 'Authorization: Bearer re_xxxxxxxxx'
resend inboxes drafts list b3e2b2b6-3f0e-4c8e-9ad3-2f43a1e2c7f1
use resend_rs::{Resend, Result, list_opts::ListOptions};#[tokio::main]async fn main() -> Result<()> { let resend = Resend::new("re_xxxxxxxxx"); let _drafts = resend .inboxes .list_drafts("b3e2b2b6-3f0e-4c8e-9ad3-2f43a1e2c7f1", ListOptions::default()) .await?; Ok(())}
import com.resend.Resend;import com.resend.core.exception.ResendException;import com.resend.services.inboxes.model.ListInboxDraftsResponseSuccess;public class Main { public static void main(String[] args) throws ResendException { Resend resend = new Resend("re_xxxxxxxxx"); ListInboxDraftsResponseSuccess data = resend.inboxes().drafts() .list("b3e2b2b6-3f0e-4c8e-9ad3-2f43a1e2c7f1"); }}
using Resend;IResend resend = ResendClient.Create( "re_xxxxxxxxx" ); // Or from DIvar resp = await resend.InboxDraftListAsync( new Guid( "b3e2b2b6-3f0e-4c8e-9ad3-2f43a1e2c7f1" ) );Console.WriteLine( "Nr Drafts={0}", resp.Content.Data.Count );
curl -X GET 'https://api.resend.com/inboxes/b3e2b2b6-3f0e-4c8e-9ad3-2f43a1e2c7f1/drafts' \ -H 'Authorization: Bearer re_xxxxxxxxx'
resend inboxes drafts list b3e2b2b6-3f0e-4c8e-9ad3-2f43a1e2c7f1