This guide gets you from zero to a working send-and-receive workflow quickly.

Quickstart path

  1. Install an SDK.
  2. Add your API key via environment variable.
  3. Create an inbox.
  4. Send a message.
  5. Wait for and assert the received message.

1) Install an SDK

JavaScript client:

Other official SDKs: docs.mailslurp.com.

2) Configure your API key

Create a key in the dashboard and inject it into your environment:

API-key setup details: API key guide.

3) Create a MailSlurp client

4) Create an inbox and send a test message

5) Wait for delivery and assert content

What to implement next

  • signup/magic-link tests
  • OTP or reset-code extraction
  • inbound webhook processing
  • attachment verification

Use these routes next: