---
updatedAt: 2026-09-02T17:06:05.000Z
agentTools:
  projectIndex: https://marketing.developer.dotdigital.com/llms.txt
---

# Addressing your messages

The Omnichannel API makes reaching your customers easy by allowing you to pass multiple ways of identifying your target customer in the **to** block of the request, plus it automatically uses relevant information from a customer's profile in order to send using a specified channel.

For example, if you pass a **profileId** only in the **to** block and want to send using Facebook, we automatically look at the customer's profile to see if they have a **fbMessengerId** and use it.

## Profiles

We can store contact profiles for you to make it easier to send across multiple channels as you can retain important details such as phone numbers, Facebook IDs, emails, and then we automatically utilise them when required to send using a channel such as Facebook.

To make sure we create or update a profile record for a contact you must include a **profileId** in the **to** section of your requests. The **profileId** value can be any unique identifier for the contact, so if your system uses email to identify customers pass that, or customer numbers.

```json Passing a profile id
{
  "body": "The phoneNumber will be stored against the profileId",
  "to": {
    "profileId": "dave.smith@acme.com",
    "phoneNumber": "447123123123"
  },
  "rules": [
    "sms"
  ]
}
```
```json Using a profile id to send
{
  "body": "This will still work even though no phoneNumber is being passed!",
  "to": {
    "profileId": "dave.smith@acme.com"
  },
  "rules": [
    "sms"
  ]
}
```

> 📘 Profiles are useful for the Facebook Messenger channel
>
> You need to use profiles when using the Facebook **Send to Messenger** plugin, as we use the profileId to save the unique Facebook Messenger ID Facebook sends to us when a customer clicks on the **Send to Messenger** button. To send to this customer using Facebook Messenger simply ensure you pass the **profileId** in the **to** section. Find out more in the [Facebook channel details.](https://marketing.developer.dotdigital.com/reference/channel-facebook-messenger)

<br />

# Sibling pages

* [Calling the Omnichannel API](https://marketing.developer.dotdigital.com/reference/calling-the-omnichannel-api.md)
* [Channel selection](https://marketing.developer.dotdigital.com/reference/channel-selection.md)
* [Cross channel messaging](https://marketing.developer.dotdigital.com/reference/cross-channel-messaging.md)
* [Custom messages](https://marketing.developer.dotdigital.com/reference/custom-messages.md)
* [Multi part messages](https://marketing.developer.dotdigital.com/reference/multi-part-messages.md)
* [Templates](https://marketing.developer.dotdigital.com/reference/templates.md)
* [Additional options](https://marketing.developer.dotdigital.com/reference/additional-options.md)
* [Message send response](https://marketing.developer.dotdigital.com/reference/message-send-response.md)
* [Inbound messages and receipts](https://marketing.developer.dotdigital.com/reference/inbound-messages-and-receipts.md)