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.
Response Fields
string
Always list.
boolean
Whether more inboxes exist beyond this page.
array
The inboxes on this page.
Hide properties
string
The ID of the inbox.
string | null
Internal name for the inbox. Recipients do not see it.
string
The address of the inbox.
string | null
The name recipients see when mail is sent from this inbox. null when
not set.
number
The number of unread threads in the Inbox folder.
string | null
ISO 8601 timestamp of the newest received email in the Inbox folder.
null when the folder has no received email.
string
ISO 8601 timestamp when the inbox was created.
string
ISO 8601 timestamp when the inbox was updated.
import { Resend } from 'resend';const resend = new Resend('re_xxxxxxxxx');const { data, error } = await resend.inboxes.list();
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'