Skip to main content

Documentation Index

Fetch the complete documentation index at: https://inbound.new/docs/llms.txt

Use this file to discover all available pages before exploring further.

1. Get Your API Key

Sign up at inbound.new and generate an API key from your dashboard.

Dashboard

Access your API keys from the dashboard

2. Install the SDK

Install the Inbound SDK using your preferred package manager:
bun add inboundemail

3. Send Your First Email

import { Inbound } from 'inboundemail'

const inbound = new Inbound(process.env.INBOUND_API_KEY!)

const { data, error } = await inbound.emails.send({
  from: 'Your Name <you@yourdomain.com>',
  to: 'recipient@example.com',
  subject: 'Hello from Inbound!',
  html: '<p>This is my first email with Inbound.</p>'
})

if (error) {
  console.error('Error:', error)
} else {
  console.log('Email sent:', data?.id)
}

Next Steps

API Reference

Explore the full API documentation

Receive Emails

Set up webhooks to receive incoming emails