use resend_rs::{Resend, Result, list_opts::ListOptions};#[tokio::main]async fn main() -> Result<()> { let resend = Resend::new("re_xxxxxxxxx"); let _inboxes = resend.inboxes.list(ListOptions::default()).await?; Ok(())}
import com.resend.Resend;import com.resend.core.exception.ResendException;import com.resend.services.inboxes.model.ListInboxesResponseSuccess;public class Main { public static void main(String[] args) throws ResendException { Resend resend = new Resend("re_xxxxxxxxx"); ListInboxesResponseSuccess data = resend.inboxes().list(); }}
using Resend;IResend resend = ResendClient.Create( "re_xxxxxxxxx" ); // Or from DIvar resp = await resend.InboxListAsync();Console.WriteLine( "Nr Inboxes={0}", resp.Content.Data.Count );
curl -X GET 'https://api.resend.com/inboxes' \ -H 'Authorization: Bearer re_xxxxxxxxx'
use resend_rs::{Resend, Result, list_opts::ListOptions};#[tokio::main]async fn main() -> Result<()> { let resend = Resend::new("re_xxxxxxxxx"); let _inboxes = resend.inboxes.list(ListOptions::default()).await?; Ok(())}
import com.resend.Resend;import com.resend.core.exception.ResendException;import com.resend.services.inboxes.model.ListInboxesResponseSuccess;public class Main { public static void main(String[] args) throws ResendException { Resend resend = new Resend("re_xxxxxxxxx"); ListInboxesResponseSuccess data = resend.inboxes().list(); }}
using Resend;IResend resend = ResendClient.Create( "re_xxxxxxxxx" ); // Or from DIvar resp = await resend.InboxListAsync();Console.WriteLine( "Nr Inboxes={0}", resp.Content.Data.Count );
curl -X GET 'https://api.resend.com/inboxes' \ -H 'Authorization: Bearer re_xxxxxxxxx'
Inboxes are returned newest first. Results are paginated with cursors. See
Pagination for how after and before work. The
cursors take an inbox ID. A value that is not a UUID returns a 422, and an
unknown ID returns a 404.The list items carry fewer fields than a single inbox. Retrieve an
inbox to get all its fields.
use resend_rs::{Resend, Result, list_opts::ListOptions};#[tokio::main]async fn main() -> Result<()> { let resend = Resend::new("re_xxxxxxxxx"); let _inboxes = resend.inboxes.list(ListOptions::default()).await?; Ok(())}
import com.resend.Resend;import com.resend.core.exception.ResendException;import com.resend.services.inboxes.model.ListInboxesResponseSuccess;public class Main { public static void main(String[] args) throws ResendException { Resend resend = new Resend("re_xxxxxxxxx"); ListInboxesResponseSuccess data = resend.inboxes().list(); }}
using Resend;IResend resend = ResendClient.Create( "re_xxxxxxxxx" ); // Or from DIvar resp = await resend.InboxListAsync();Console.WriteLine( "Nr Inboxes={0}", resp.Content.Data.Count );
curl -X GET 'https://api.resend.com/inboxes' \ -H 'Authorization: Bearer re_xxxxxxxxx'