HTTP API: Introduction
This page will help you get started with the Infobip API. You'll be up and running in a jiffy!
This documentation will provide instructions on how to quickly integrate Infobip messaging services into various solutions by using Infobip HTTP API. Infobip API is based on REST standards. In order to interact with our API, any HTTP client in any programming language can be used.
Communication channels
Our extensive API collections enable two-way communication with your customers over multiple communication channels:
- SMS
- Voice
- PUSH notifications
- Multiple chat applications like Viber, Facebook Messenger, LINE, and Telegram
Services
Based on standard communication channels, we have developed a set of feature rich services, to help with your business needs:
- Two Factor Authentication
- Number lookup
- Omni failover
- Voice services like Number masking
- Voice IVR
- Number purchasing and management
How to get started
Easy. Only two steps actually:
1. Create an Infobip account
In order to use our API, you will need credentials. These are not used only for API but also for other Infobip services like Customer portal. If you already have an Infobip account you can skip this step. Otherwise, follow this link:
2. Test your account by sending a text message to yourself
The best way to check if your account is operational is to test it, and the best way to test it is to send an SMS to your own phone. Use this simple API call to send your first message.
Our base URL for all API calls is https://api.infobip.com
Endpoint for sending simple SMS is
POST https://api.infobip.com/sms/1/text/single
Authorization note
To get started quickly, this time use Base64 encoding to encode yourUsername:yourPassword in header authorization. Later, in production environment, we strongly suggest using API key. You can learn more about our API security in detail here.
Authorization: Basic QWxhZGRpbjpvcGVuIHNlc2FtZQ==
{
"to":"41793026727",
"text":"My first text message!"
}
This API call will deliver an SMS to your phone within seconds. You can examine the documentation for this API method in more details here.
What to do next?
Before you dig into the implementation of our API, we strongly encourage you to familiarize yourself with our API basics and best practices.
- Security and authorization details
- Libraries overview
- Learn about supported content types
- API implementation best practices
- See working implementation on our API demo applications
- Subscribe to our API newsletter to get info about the latest updates
- API availability monitor
Got stuck?
No problem, we are here for you! We have the best support team available around the clock, in 10 languages, so just drop an email at support@infobip.com