Skip to main content
Every Messages.dev account includes a sandbox line: a shared iMessage number you can use immediately to send and receive up to 50 messages per day.

How it works

The sandbox is a Messages.dev-owned iMessage line that all users share. To keep messages private, each user pairs their personal phone number with their account through an activation code.

Activation

  1. Go to the Lines page in your dashboard
  2. Scan the QR code with your phone, or copy the activation code and text it to the sandbox number
  3. Once the message is received, your sandbox is activated and your phone number is paired
After activation, you can send messages to your paired phone and receive webhooks for incoming messages, just like a dedicated line.

Limits

The daily limit is per account, not per API key. All your API keys share the same 50-message sandbox budget.

Sending messages

Use the sandbox line handle as the from field and your paired phone number as to:

Receiving messages

Register a webhook on the sandbox line to receive notifications when your paired phone sends messages back:
  1. Go to Webhooks in the dashboard
  2. Select the sandbox line and enter your endpoint URL
  3. Webhooks are scoped to your account; you only receive events for your paired phone number

Upgrading to a dedicated line

The sandbox is designed for testing and evaluation. For production use:
  • Set up a dedicated iMessage line with no daily limits
  • See the quickstart guide for setup instructions

Errors