# send.io documentation

Send, receive and automate email from your code or your AI assistant. send.io is an email API that also accepts Resend, Postmark, SendGrid, Mailgun, Mailchimp Transactional, Brevo and Mailjet request formats.

## Quickstart

1. Create an API key in the dashboard (https://app.sendio.run/integrations/api-keys) and keep it on your server as `SENDIO_API_KEY`.

2. Call `POST /emails` from `onboarding@send.io` to `delivered@send.io`. This works on a new account before you add a domain, and nothing reaches a real inbox.

3. To email real people, add your domain, publish the DNS records send.io shows you and send from an address on it. A free mailbox works too once Mailboxes shows it can send.

```bash
curl -X POST https://api.sendio.run/emails \
  -H "Authorization: Bearer $SENDIO_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"from": "Acme <onboarding@send.io>", "to": ["delivered@send.io"], "subject": "Hello from send.io", "html": "<p>It works.</p>"}'
```

## SDKs

- [Node.js](https://developer.send.io/docs/sdks?lang=node): `npm install @sendio/node`
- [Python](https://developer.send.io/docs/sdks?lang=python): `pip install sendio`
- [PHP](https://developer.send.io/docs/sdks?lang=php): `composer require sendio/sendio-php`
- [Laravel](https://developer.send.io/docs/sdks?lang=laravel): `composer require sendio/sendio-laravel`
- [Ruby](https://developer.send.io/docs/sdks?lang=ruby): `gem install sendio`
- [Go](https://developer.send.io/docs/sdks?lang=go): `go get github.com/send-io/sendio-go`
- [Java](https://developer.send.io/docs/sdks?lang=java): `<!-- Maven -->`
- [.NET](https://developer.send.io/docs/sdks?lang=dotnet): `dotnet add package Sendio`
- [Rust](https://developer.send.io/docs/sdks?lang=rust): `cargo add sendio`
- [Elixir](https://developer.send.io/docs/sdks?lang=elixir): `# mix.exs`

## Moving from another provider

- [Moving from Resend](https://developer.send.io/docs/integrations/resend)
- [Moving from SendGrid](https://developer.send.io/docs/integrations/sendgrid)
- [Moving from Mailchimp](https://developer.send.io/docs/integrations/mailchimp)
- [Moving from Mailgun](https://developer.send.io/docs/integrations/mailgun)
- [Moving from Postmark](https://developer.send.io/docs/integrations/postmark)
- [Moving from Brevo](https://developer.send.io/docs/integrations/brevo)
- [Moving from Mailjet](https://developer.send.io/docs/integrations/mailjet)
