> ## Documentation Index
> Fetch the complete documentation index at: https://docs.reyapp.io/llms.txt
> Use this file to discover all available pages before exploring further.

# Send messages with OneSignal

> Send push notifications, create email campaigns, and deliver in-app messages from OneSignal.

Once OneSignal is connected, create push notifications, email campaigns, and in-app messages from the OneSignal dashboard. Push messages need subscribed devices; email campaigns need email subscribers.

## Send your first push notification

**1. Create a push message**

In OneSignal, go to **Messages → New Push**.

**2. Write the message**

Add a title and message body.

**3. Choose test users**

Select **Test Users** and choose your test device.

**4. Review and send**

Review the message and send it. The notification should arrive on the device within seconds.

## Send in-app messages

Use in-app messages for announcements, onboarding tips, and promotions while someone is already using your app.

1. In OneSignal, go to **Messages → In-App → New In-App**.
2. Design the message with OneSignal's editor.
3. Choose an audience and configure its delivery schedule.
4. Make the message active.

## Send an email campaign

Email setup is separate from configuring Apple or Android push delivery.

**1. Set up email sending**

In OneSignal, open **Settings → Set up Email**. Choose a provider, create a sender, and complete the domain authentication and account verification steps. Use [OneSignal's email setup guide](https://documentation.onesignal.com/docs/en/email-setup) for the current dashboard instructions.

**2. Prepare your email audience**

Confirm the intended recipients have email subscriptions in your OneSignal project. A push subscription does not automatically subscribe someone to email.

**3. Create and test your email**

Create an email campaign in OneSignal, choose your sender and audience, and write the subject and body. Send a test to your own email address and check the content and links.

**4. Send or schedule**

Once email sending is verified and your test looks right, send or schedule the campaign for the selected email audience.

## Segment your audience

Use OneSignal segments to target groups of users based on the attributes and behavior available in your OneSignal project. You can also create message variants in OneSignal to test content with different audiences.

> [!TIP]
>
> Begin with a test audience before sending to every subscriber. Confirm the title, body, links, and delivery timing on both iOS and Android devices.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.