Targets_
Manage avenues of communication by targetting user's device, email, or phone number in your notification and messages.
3 min read
Targets are different ways a user can be reached. For example, a user might have two emails, a phone number as well as a phone and a tablet with your app installed. This means, the user has five different targets that you can deliver messages to.

Topics and targets
A user can have multiple targets, such as emails, phone numbers, and devices with your app installed. These targets can subscribe to a topic, so when messages are published to a topic, all subscribed targets receive the message.
Types of targets
There are three types of targets you can use to reach your targets.
| Target Type | Description |
|---|---|
| Allows you to send emails to the user's email. | |
| SMS | Allows you to send SMS messages to the user's phone. |
| Push notification | Allows you to send push notifications to the user's device. |
Add a target
Before you can send messages, make sure you have the appropriate targets added for your user.
Add email target
Verified emails for users that signed up with email password, magic URL, and email OTP login will already have an email target.
Add SMS target
Verified phone numbers for users that signed up with Phone OTP login will already have a phone target.
Add push notification target
Push notifications require configuration on both the Appwrite platform and your client app's code.
Was this page helpful?
Share what worked or what we should fix. Once approved, our agents automatically apply suggested updates to the docs.