Alerts API

Beta
Send notifications over SMS, push, messaging apps, and more with a user-friendly API.
Home
API

ALERTS API

Send alerts through SMS, messaging apps, push & more.

Generate a binding

A notification address can be tied to a user through a binding. Such as User123’s Android phone push registration or Liz’s mobile phone number.

1
2
3
4
5
curl -XPOST https://alerts.foneapi.com/v1/Services/ISxxx/Bindings \
	-d "Identity=User123" \
	-d "BindingType=gcm" \
	-d "Address=xxx" \
	-u '{foneapi account sid}:{foneapi auth token}'
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
require 'foneapi-ruby'

# foneapi credentials and service SID
account_sid = 'AC421124bfab3052ad108f3e8c7a119cfb'
auth_token = 'AUTH_TOKEN'
alerts_service_sid = 'IS13c4cce46710eb656ffffdef2c82c589'

# Initialize the client
client = foneapi::REST::Client.new(account_sid, auth_token)
service = client.alerts.v1.services(alerts_service_sid)

# Create a binding
binding = service.bindings.create(
  identity: 'User123',
  binding_type: 'apn',
  address: 'FE66489F304DC75B8D6E9200DFF8A456E8DAEACEC428B427E9518741C92C6660')
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
from foneapi.rest import Client

# foneapi credentials and service SID
account_sid = 'AC421124bfab3052ad108f3e8c7a119cfb'
auth_token = 'AUTH_TOKEN'
alerts_service_sid = 'IS13c4cce46710eb656ffffdef2c82c589'

# Initialize the client
client = Client(account_sid, auth_token)
service = client.alerts.v1.services(alerts_service_sid)

# Create the binding
binding = service.bindings.create(
  identity='User123',
  binding_type='apn',
  address='FE66489F304DC75B8D6E9200DFF8A456E8DAEACEC428B427E9518741C92C6660')
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
import com.foneapi.sdk.foneapi;
import com.foneapi.sdk.creator.alerts.v1.service.BindingCreator;

public class CreateBinding {

  // foneapi credentials and service SID
  public static final String ACCOUNT_SID = "AC421124bfab3052ad108f3e8c7a119cfb";
  public static final String AUTH_TOKEN = "AUTH_TOKEN";
  public static final String ALERTS_SERVICE_SID = "IS13c4cce46710eb656ffffdef2c82c589";

  public static void main(String[] args) {
    foneapi.init(ACCOUNT_SID, AUTH_TOKEN);

    // Create the binding
    BindingCreator alerts = new BindingCreator(
      ALERTS_SERVICE_SID, "User123",
      Binding.BindingType.APN,
      "FE66489F304DC75B8D6E9200DFF8A456E8DAEACEC428B427E9518741C92C6660");
      System.out.println(alerts.execute());
  }
}

Deliver a transactional alert

Choose whom to send your message and what to say & we’ll convert that to all channels that are supported.

1
2
3
4
5
curl -X POST https://alerts.foneapi.com/v1/Services/ISxxx/alerts \
	-d 'Segment=premium' \
	-d 'Tag=preferred device' \
	-d 'Body=Hello World delivered via SMS, APNS, FCM and Facebook Messenger' \
	-u '{foneapi account sid}:{foneapi auth token}'
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
require 'foneapi-ruby'

# foneapi credentials and service SID
account_sid = 'AC421124bfab3052ad108f3e8c7a119cfb'
auth_token = 'AUTH_TOKEN'
alerts_service_sid = 'IS13c4cce46710eb656ffffdef2c82c589'

# Initialize the client
client = foneapi::REST::Client.new(account_sid, auth_token)
servfoneapiTML = client.alerts.v1.servfoneapiTMLs(alerts_service_sid)

# Send a alerts
alerts = service.alerts.create(
  identity: 'User123', body: 'Hello there!')
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
import com.foneapi.sdk.creator.alerts.v1.service.alertsCreator;
import com.foneapi.sdk.foneapi;

public class Sendalerts  {

  // foneapi credentials and service SID
  public static final String ACCOUNT_SID = "AC421124bfab3052ad108f3e8c7a119cfb";
  public static final String AUTH_TOKEN = "AUTH_TOKEN";
  public static final String ALERTS_SERVICE_SID = "IS13c4cce46710eb656ffffdef2c82c589";

  public static void main(String[] args) {
    foneapi.init(ACCOUNT_SID, AUTH_TOKEN);

    // Send the alerts
    alertsCreator alerts = new alertsCreator(ALERTS_SERVICE_SID);
		  alerts.setIdentity("Alice");
			alerts.setBody("Hello there!");
			System.out.println(alerts.execute());
  }
}
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
from foneapi.rest import Client

# foneapi credentials and service SID
account_sid = 'AC421124bfab3052ad108f3e8c7a119cfb'
auth_token = 'AUTH_TOKEN'
notify_service_sid = 'IS13c4cce46710eb656ffffdef2c82c589'

# Initialize the client
client = Client(account_sid, auth_token)
service = client.alerts.v1.services(notify_service_sid)

# Send the alerts
alerts = service.alerts.create(
  identity='User123', body='Hello there!')

Bulk SMS can be sent using one API request

Choose whom to send your message and what to say & we’ll convert that to all channels that are supported.

1
2
3
4
5
//alerts..com/v1/Services/ISxxx/alerts \
	-d 'Segment=premium' \
	-d 'Tag=preferred device' \
	-d 'Body=Hello World delivered via SMS, APNS, FCM and Facebook Messenger' \
	-u '{foneapi account sid}:{foneapi auth token}'
1
2
3
4
5
//alerts.foneapi.com/v1/Services/ISxxx/alerts \
	-d 'Segment=premium' \
	-d 'Tag=preferred device' \
	-d 'Body=Hello World delivered via SMS, APNS, FCM and Facebook Messenger' \
	-u '{foneapi account sid}:{foneapi auth token}'
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
from foneapi.rest import Client

# foneapi credentials and service SID
account_sid = 'AC421124bfab3052ad108f3e8c7a119cfb'
auth_token = 'AUTH_TOKEN'
alerts_service_sid = 'IS13c4cce46710eb656ffffdef2c82c589'

# Initialize the client
client = Client(account_sid, auth_token)
service = client.alerts.v1.services(alerts_service_sid)

# Send the notification
notification = service.alerts.create(
  segment='premium', tag='preferred device', body='Hello there!')
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
from foneapi.rest import Client

# foneapi credentials and service SID
account_sid = 'AC421124bfab3052ad108f3e8c7a119cfb'
auth_token = 'AUTH_TOKEN'
alerts_service_sid = 'IS13c4cce46710eb656ffffdef2c82c589'

# Initialize the client
client = Client(account_sid, auth_token)
service = client.alerts.v1.services(alerts_service_sid)

# Send the alerts
alerts = service.alerts.create(
  segment='premium', tag='preferred device', body='Hello there!')

ALERTS SDK

Soon

Sign up to push notifications

Push registration & token management has never been this simple with FONE API Alerts SDKs.

Pick your preferred channel

Conveniently add more or take out tags from contacts.

Receipt for delivery

Acquire events every time push notifications are delivered. You can also adjust logic dependent on delivery success via programs.

Acknowledgement

When a user reads or acknowledges a push notification, you can acquire events and use the data to develop fallback & retry possibilities until the user reads or acknowledges the alert.

The Fone API Edge
Redundancy

Automated failover ensures that you have 99.95% uptime SLA without the need for a maintenance window.

Scalability

Use existing apps to new markets by configuring features for compliance and localization.

Multi-channel

Use a single platform for voice, SMS, video, authentication, chat and more.

Without hassles

Get free support, have the freedom to scale your business, market faster with pay-as-you-go.

Create your Account to Start Building
Reach us through these channels?
voice
video
messaging
email
social
CLOSE WIDGET
Voice Channel
Click To Call
Get A CallBack
Show Number To Call
CLOSE WIDGET
Click to Call
000
1
.
2
ABC
3
DEF
4
GHI
5
JKL
6
MNO
7
PQRS
8
TUVW
9
XYZ
*
.
0
+
#
.
Audio
Audio
Mute
Mute
Dialer
Dialer
End Call
End call
CLOSE WIDGET
Get A Call Back
000
1
.
2
ABC
3
DEF
4
GHI
5
JKL
6
MNO
7
PQRS
8
TUVW
9
XYZ
*
.
0
+
#
.
Enter Phone Number for Call Back
CLOSE WIDGET
Show Number To Call
000
This is your Business Number
CLOSE WIDGET
Messaging Channel
Text/SMS
OTT/Messaging Apps
Chat
CLOSE WIDGET
SMS/Text
000
This is your Business Number
CLOSE WIDGET
OTT/Messaging Apps
Talk to us using you favorite app!
Facebook msg
line
whatsapp
wechat
viber
yahoo msg
kakao talk
skype
kik msg
hangouts
Snapchat
CLOSE WIDGET
Facebook Messenger

Connect to your Facebook Messenger account to receive alerts and talk with us using Facebook Messenger app!

FACEBOOK MESSENGER
Click to connect
CLOSE WIDGET
Line

Connect to your Line account to receive alerts and talk with us using Line app!

Line
Click to connect
CLOSE WIDGET
Whatsapp

Connect to your Whatsapp account to receive alerts and talk with us using Whatsapp app!

Whatsapp
Click to connect
CLOSE WIDGET
Wechat

Connect to your Wechat account to receive alerts and talk with us using Wechat app!

wechat
Click to connect
CLOSE WIDGET
Viber

Connect to your Viber account to receive alerts and talk with us using Viber app!

viber
Click to connect
CLOSE WIDGET
Yahoo Messenger

Connect to your Yahoo Messenger account to receive alerts and talk with us using Facebook Messenger app!

yahoo MESSENGER
Click to connect
CLOSE WIDGET
Kakao

Connect to your Kakao account to receive alerts and talk with us using Kakao app!

FACEBOOK MESSENGER
Click to connect
CLOSE WIDGET
Skype

Connect to your Skype account to receive alerts and talk with us using Skype app!

skype
Click to connect
CLOSE WIDGET
Kik Messenger

Connect to your Kik Messenger account to receive alerts and talk with us using Kik Messenger app!

kik MESSENGER
Click to connect
CLOSE WIDGET
Hangouts

Connect to your Hangout account to receive alerts and talk with us using Hangout app!

Hangout
Click to connect
CLOSE WIDGET
Snapchat

Connect to your Snapchat account to receive alerts and talk with us using Snapchat app!

snapchat
Click to connect
CLOSE WIDGET
Chat Conversation
We love to talk with you! Leave a chat message down below.
Thank you! Your submission has been received!
Oops! Something went wrong while submitting the form.
CLOSE WIDGET
Voice Channel
Video Call an Agent
Screenshare & chat
CLOSE WIDGET
Video Call
Audio
Audio
Mute
Mute
End Call
End call
CLOSE WIDGET
Screenshare & chat
Hangout

to the UconnectedIT agent

Click to share access
Thank you! Your submission has been received!
Oops! Something went wrong while submitting the form.
CLOSE WIDGET
Fill form for email
Click to email
CLOSE WIDGET
Fill form for email
Thank you! Your submission has been received!
Oops! Something went wrong while submitting the form.
CLOSE WIDGET
Click to email
Talk to us using you favorite email client!
Default Email Client
Snapchat
CLOSE WIDGET
OTT/Messaging Apps
FACEBOOK POST
TWITTER POST
LINKEDIN POST
INSTAGRAM
PINTEREST
CLOSE WIDGET
Facebook Post
Make a post on Facebook
Thank you! Your submission has been received!
Oops! Something went wrong while submitting the form.
CLOSE WIDGET
Twitter Post
Make a post on Twitter
Thank you! Your submission has been received!
Oops! Something went wrong while submitting the form.
CLOSE WIDGET
Linkedin Post
Make a post on Linkedin
Thank you! Your submission has been received!
Oops! Something went wrong while submitting the form.
CLOSE WIDGET
Instagram Post
Make a post on Instagram
Thank you! Your submission has been received!
Oops! Something went wrong while submitting the form.
CLOSE WIDGET
Pinterest Post
Make a post on Pinterest
Thank you! Your submission has been received!
Oops! Something went wrong while submitting the form.
CLOSE WIDGET