Send your first message

|

View as Markdown

Choose a channel, send a test message, and confirm delivery. Before you start, you need:

  • An account on the free trial or a paying account. If you already have your own sender, send from it instead of the shared test sender.
  • If you have a self-signup account on the free trial, a verified recipient to send your test message to.


Choose a channel

Several channels support marketing, notifications, and two-way support, so choose a channel by the coverage and features you need. To test without your own sender, choose a channel with a shared test sender: SMS, WhatsApp, Voice, Viber, or Email.

Select a channel to open its guide. Each guide covers what its sender needs for testing and production, including country and network coverage:

ChannelTypical use cases
SMSAlerts, one-time PINs, reminders, and campaigns
MMSPicture, audio, and video messages, where supported
EmailNewsletters, receipts, and campaigns, with HTML formatting and attachments
WhatsAppTwo-way support, notifications, and marketing, with media and interactive buttons
ViberPromotions, notifications, and conversations, with media and interactive buttons
RCSMessages from a verified sender, with carousels, media, and suggested actions
Apple Messages for BusinessTwo-way support, appointments, and purchases, with list pickers, time pickers, and Apple Pay
VoiceCalls and voice messages for alerts and reminders, and contact center support

The platform also supports:

During the free trial, SMS, WhatsApp, Voice, Viber, and Email include a shared test sender, so you can test these channels without setting up your own sender. Other channels, such as RCS, require a registered sender. Broadcast availability varies by channel.

Channels that run on your own website or app need an SDK or widget integration instead of a shared test sender. The steps that follow do not apply to them:

ChannelTypical use cases
Live ChatReal-time support on your website or app
Mobile PushNotifications to your mobile app users
In-app messagingMessages shown inside your mobile app


Send a message

On a self-signup account, the guide on your homepage walks you through sending your first test message. To send a message without the guide, use one of the options below.

The following steps use SMS as an example. Every channel follows the same pattern: you send a message, the platform confirms that it has accepted the message, and you confirm delivery. To use a different channel, follow its get-started guide, then return to confirm delivery.


Send without code

Use Broadcast to send a message from the web interface:

  1. In the web interface, go to Broadcast and select Create Broadcast.
  2. Choose the channel, for example SMS, and the shared test sender.
  3. In the Recipients field, add the number you want to send to. On a self-signup account on the free trial, use a verified recipient.
  4. Write your message.
  5. Select Continue to preview, then select Launch.

Send with the API

Replace {baseUrl} with the base URL from your account and {your-phone-number} with the number you want to send to. Replace {authorization} with your credentials, for example App and your API key. Then run the request:

json
1curl -X POST 'https://{baseUrl}/sms/3/messages' \
2 -H 'Authorization: {authorization}' \
3 -H 'Content-Type: application/json' \
4 -H 'Accept: application/json' \
5 -d '{
6 "messages": [
7 {
8 "sender": "InfoSMS",
9 "destinations": [
10 { "to": "{your-phone-number}" }
11 ],
12 "content": {
13 "text": "This is a sample message"
14 }
15 }
16 ]
17 }'

A successful request returns the message as accepted, with a messageId you can track and an initial PENDING status:

json
1{
2 "bulkId": "2034072219640523072",
3 "messages": [
4 {
5 "messageId": "2250be2d4219-3af1-78856-aabe-1362af1edfd2",
6 "status": {
7 "groupId": 1,
8 "groupName": "PENDING",
9 "id": 26,
10 "name": "PENDING_ACCEPTED",
11 "description": "Message sent to next instance"
12 },
13 "destination": "{your-phone-number}",
14 "details": {
15 "messageCount": 1
16 }
17 }
18 ]
19}

For authentication, all response fields, and delivery reports, see the Quickstart. To use a client library, see SDKs.



Confirm delivery

When the platform accepts your message, it is not yet delivered.

To confirm the final status of your test message:

  • Message logs: In the web interface, go to Analyze > Logs and find the message. This is the quickest option for one test message.
  • API: Pull the delivery report, or query the message logs for the last 48 hours. Each channel has its own endpoints, and not every channel has a logs endpoint.
  • Webhooks: Receive the delivery report (DLR) at your own endpoint in real time.

A final status of DELIVERED_TO_HANDSET means the mobile operator reported delivery to the device.



If a test message does not arrive

Check these causes first:

  • The recipient is not verified. During the free trial, a self-signup account can send only to verified recipients.
  • The free credits are used up, or the trial days ran out. Each channel has its own free credits. On self-signup accounts, the 60 trial days cover the whole account. On managed accounts, each channel has its own trial days. When either runs out, sending stops. To continue, move to a paying account.

If the final status is a failure, the delivery report and Message logs include an error code that explains why. To find what the code means and how to fix it, see the Error code reference.



Related pages

Go live
Get your own sender, complete any required registration, and send to real customers.

Upgrade to a paying account
Add funds to end the free trial.

Messages API
Send across several channels from one integration, with failover and a format adapted to each channel.


Was this page helpful?